-
-
Save sokna7/a0a6288cd1c4bba55c336b50630682f8 to your computer and use it in GitHub Desktop.
node js eslintrc example
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
module.exports = { | |
root: true, | |
env: { | |
node: true, | |
es6: true, | |
}, | |
parserOptions: { | |
sourceType: 'module', | |
}, | |
extends: ['eslint:recommended', 'prettier'], | |
rules: { | |
'prettier/prettier': 'error', | |
}, | |
plugins: ['prettier'], | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment