Skip to content

Instantly share code, notes, and snippets.

@egamma
Created February 25, 2016 21:57
  • Star 11 You must be signed in to star a gist
  • Fork 7 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save egamma/65c0e2a832393e3b625a to your computer and use it in GitHub Desktop.
Visual Studio Code default .eslintrc.json
{
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"sourceType": "module"
},
"rules": {
"no-const-assign": 1,
"no-extra-semi": 0,
"semi": 0,
"no-fallthrough": 0,
"no-empty": 0,
"no-mixed-spaces-and-tabs": 0,
"no-redeclare": 0,
"no-this-before-super": 1,
"no-undef": 1,
"no-unreachable": 1,
"no-unused-vars": 1,
"no-use-before-define": 0,
"constructor-super": 1,
"curly": 0,
"eqeqeq": 0,
"func-names": 0,
"valid-typeof": 1
}
}
@XiSmartElf
Copy link

Finally found this

@WangJi
Copy link

WangJi commented Apr 7, 2016

this should be put in a more conspicuous place.

@animatronix
Copy link

Thanks a lot. Thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment