Last active
March 30, 2018 12:10
-
-
Save mec/c1775a4736fd7bbe9effa434f016302d to your computer and use it in GitHub Desktop.
Get eslint to lint for prettier
This file contains 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
"eslintConfig": { | |
"extends": "standard", | |
"env": { | |
"node": true | |
}, | |
"rules": { | |
"semi": [ | |
2, | |
"always" | |
], | |
"no-extra-semi": 2, | |
"space-before-function-paren": ["error", "never"] | |
} | |
} |
This file contains 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
npm i eslint eslint-config-standard eslint-plugin-import eslint-plugin-node eslint-plugin-promise eslint-plugin-standard --save-dev |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note the browser: true to add newer features like fetch and caches.