Skip to content

Instantly share code, notes, and snippets.

@nopjia
Created February 19, 2018 15:00
Show Gist options
  • Save nopjia/14b4bd6d77abf0cca4af6f25a1924b45 to your computer and use it in GitHub Desktop.
Save nopjia/14b4bd6d77abf0cca4af6f25a1924b45 to your computer and use it in GitHub Desktop.
Nop's personal eslintrc
module.exports = {
"parserOptions": {
"ecmaVersion": 2017,
"sourceType": "module",
},
"env": {
"browser": true,
},
"extends": "airbnb-base",
"rules": {
"no-plusplus": "off",
"no-underscore-dangle": "off",
"no-unused-vars": ["error", { "args": "none" }],
"quotes": ["error", "double", { "allowTemplateLiterals": true }],
"arrow-body-style": ["error", "always"],
"import/namespace": "error",
"import/no-commonjs": "error",
"import/no-nodejs-modules": "error",
"import/no-namespace": "error",
},
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment