Last active
July 12, 2019 12:22
-
-
Save danieldfc/463e2689369f7fafaa92031638bce2e6 to your computer and use it in GitHub Desktop.
Estes arquivos guardam as dependências, configurações do eslint, prettier e nodemon, para o node
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
| module.exports = { | |
| env: { | |
| es6: true, | |
| node: true, | |
| jest: true | |
| }, | |
| extends: ['airbnb-base', 'prettier'], | |
| plugins: ['prettier'], | |
| globals: { | |
| Atomics: 'readonly', | |
| SharedArrayBuffer: 'readonly', | |
| }, | |
| parserOptions: { | |
| ecmaVersion: 2018, | |
| sourceType: 'module', | |
| }, | |
| rules: { | |
| "prettier/prettier": "error", | |
| "class-methods-use-this": "off", | |
| "no-param-reassign": "off", | |
| camelcase: "off", | |
| "no-unused-vars": ["error", { "argsIgnorePattern": "next" }] | |
| }, | |
| }; |
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
| { | |
| "singleQuote": true, | |
| "trailingComma": "es5" | |
| } |
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
| { | |
| "execMap": { | |
| "js": "sucrase-node" | |
| } | |
| } |
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
| { | |
| "name": "template-node", | |
| "version": "1.0.0", | |
| "main": "index.js", | |
| "license": "MIT", | |
| "scripts": { | |
| "dev": "nodemon src/server.js", | |
| "build": "sucrase ./src -d ./dist --transforms imports" | |
| }, | |
| "dependencies": { | |
| "dotenv": "^8.0.0", | |
| "express": "^4.17.1", | |
| "express-async-errors": "^3.1.1", | |
| "sequelize": "^5.9.4", | |
| "youch": "^2.0.10" | |
| }, | |
| "devDependencies": { | |
| "eslint": "^5.16.0", | |
| "eslint-config-airbnb-base": "^13.2.0", | |
| "eslint-config-prettier": "^6.0.0", | |
| "eslint-plugin-import": "^2.18.0", | |
| "eslint-plugin-prettier": "^3.1.0", | |
| "nodemon": "^1.19.1", | |
| "prettier": "^1.18.2", | |
| "sequelize-cli": "^5.5.0", | |
| "sucrase": "^3.10.1" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment