Last active
August 29, 2020 10:23
-
-
Save samson-sham/f3c98edf58ef5460bb65ae3cc89f03aa to your computer and use it in GitHub Desktop.
ES Lint settings
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 = { | |
"extends": "eslint:recommended", | |
"parserOptions": { | |
"ecmaVersion": 2019 | |
}, | |
"rules": { | |
// Format | |
"indent": ["error", 4, { "MemberExpression": "off", "SwitchCase": 1 }], | |
"semi": ["error", "always"], | |
// Code checks | |
"no-console": "off", | |
"no-extra-boolean-cast": "off", | |
"no-useless-escape": "off", | |
"no-unused-vars": "warn" | |
}, | |
"env": { | |
"es6": true, | |
"node": true | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment