Skip to content

Instantly share code, notes, and snippets.

@thehulke
Last active October 17, 2017 07:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thehulke/7a68dd1096e9106e5ebfbb60075c95e2 to your computer and use it in GitHub Desktop.
Save thehulke/7a68dd1096e9106e5ebfbb60075c95e2 to your computer and use it in GitHub Desktop.
.eslintrc + jsconfig
{
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true
},
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 7,
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true,
"experimentalDecorators": true
},
"sourceType": "module"
},
"rules": {
"no-const-assign": "warn",
"no-this-before-super": "warn",
"no-undef": "warn",
"no-unreachable": "warn",
"no-unused-vars": "warn",
"constructor-super": "warn",
"valid-typeof": "warn",
"strict" : 0
}
}
{
"compilerOptions": {
"experimentalDecorators": true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment