Last active
January 10, 2020 22:32
-
-
Save favasconcelos/e0a255be9839724370908080ee6722a3 to your computer and use it in GitHub Desktop.
Bakckend project configs files.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"extends": ["eslint:recommended", "google", "plugin:prettier/recommended"], | |
"plugins": ["import"], | |
"parserOptions": { | |
"ecmaVersion": 9, | |
"sourceType": "module", | |
"ecmaFeatures": { | |
"jsx": false | |
} | |
}, | |
"rules": { | |
"max-len": [ | |
"error", | |
{ | |
"code": 180, | |
"tabWidth": 2 | |
} | |
], | |
"arrow-parens": ["error", "as-needed"], | |
"no-unused-vars": [ | |
"error", | |
{ "vars": "all", "args": "all", "argsIgnorePattern": "^_", "ignoreRestSiblings": false, "caughtErrors": "all", "caughtErrorsIgnorePattern": "^ignore" } | |
], | |
"import/no-unresolved": "warn", | |
"no-console": "off", | |
"new-cap": "off", | |
"object-curly-spacing": "off", | |
"space-before-function-paren": "off", | |
"valid-jsdoc": "off", | |
"require-jsdoc": "off" | |
}, | |
"env": { | |
"node": true, | |
"es6": true, | |
"mocha": true | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Created by https://www.gitignore.io/api/osx,node,visualstudiocode | |
# Edit at https://www.gitignore.io/?templates=osx,node,visualstudiocode | |
### Node ### | |
# Logs | |
logs | |
*.log | |
npm-debug.log* | |
yarn-debug.log* | |
yarn-error.log* | |
lerna-debug.log* | |
# Diagnostic reports (https://nodejs.org/api/report.html) | |
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json | |
# Runtime data | |
pids | |
*.pid | |
*.seed | |
*.pid.lock | |
# Directory for instrumented libs generated by jscoverage/JSCover | |
lib-cov | |
# Coverage directory used by tools like istanbul | |
coverage | |
*.lcov | |
# nyc test coverage | |
.nyc_output | |
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files) | |
.grunt | |
# Bower dependency directory (https://bower.io/) | |
bower_components | |
# node-waf configuration | |
.lock-wscript | |
# Compiled binary addons (https://nodejs.org/api/addons.html) | |
build/Release | |
# Dependency directories | |
node_modules/ | |
jspm_packages/ | |
# TypeScript v1 declaration files | |
typings/ | |
# TypeScript cache | |
*.tsbuildinfo | |
# Optional npm cache directory | |
.npm | |
# Optional eslint cache | |
.eslintcache | |
# Optional REPL history | |
.node_repl_history | |
# Output of 'npm pack' | |
*.tgz | |
# Yarn Integrity file | |
.yarn-integrity | |
# dotenv environment variables file | |
.env | |
.env.test | |
# parcel-bundler cache (https://parceljs.org/) | |
.cache | |
# next.js build output | |
.next | |
# nuxt.js build output | |
.nuxt | |
# rollup.js default build output | |
dist/ | |
# Uncomment the public line if your project uses Gatsby | |
# https://nextjs.org/blog/next-9-1#public-directory-support | |
# https://create-react-app.dev/docs/using-the-public-folder/#docsNav | |
# public | |
# Storybook build outputs | |
.out | |
.storybook-out | |
# vuepress build output | |
.vuepress/dist | |
# Serverless directories | |
.serverless/ | |
# FuseBox cache | |
.fusebox/ | |
# DynamoDB Local files | |
.dynamodb/ | |
# Temporary folders | |
tmp/ | |
temp/ | |
### OSX ### | |
# General | |
.DS_Store | |
.AppleDouble | |
.LSOverride | |
# Icon must end with two \r | |
Icon | |
# Thumbnails | |
._* | |
# Files that might appear in the root of a volume | |
.DocumentRevisions-V100 | |
.fseventsd | |
.Spotlight-V100 | |
.TemporaryItems | |
.Trashes | |
.VolumeIcon.icns | |
.com.apple.timemachine.donotpresent | |
# Directories potentially created on remote AFP share | |
.AppleDB | |
.AppleDesktop | |
Network Trash Folder | |
Temporary Items | |
.apdisk | |
### VisualStudioCode ### | |
.vscode/* | |
!.vscode/settings.json | |
!.vscode/tasks.json | |
!.vscode/launch.json | |
!.vscode/extensions.json | |
### VisualStudioCode Patch ### | |
# Ignore all local history of files | |
.history | |
# End of https://www.gitignore.io/api/osx,node,visualstudiocode |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"printWidth": 180, | |
"singleQuote": true, | |
"tabWidth": 2, | |
"useTabs": false, | |
"trailingComma": "all", | |
"bracketSpacing": true, | |
"jsxBracketSameLine": false, | |
"semi": true | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"devDependencies": { | |
"eslint": "6.8.0", | |
"eslint-config-google": "0.14.0", | |
"eslint-config-prettier": "6.9.0", | |
"eslint-plugin-import": "2.19.1", | |
"eslint-plugin-prettier": "3.1.2", | |
"husky": "4.0.6", | |
"lint-staged": "9.5.0", | |
"prettier": "1.19.1" | |
}, | |
"husky": { | |
"hooks": { | |
"pre-commit": "lint-staged" | |
} | |
}, | |
"lint-staged": { | |
"*.{js,json,css,md}": [ | |
"prettier --write", | |
"git add" | |
] | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"extends": ["github>favasconcelos/renovate-config"] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment