Skip to content

Instantly share code, notes, and snippets.

@Rich-Harris
Created September 26, 2015 12:55
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 Rich-Harris/83e1376a343d0b0cbf74 to your computer and use it in GitHub Desktop.
Save Rich-Harris/83e1376a343d0b0cbf74 to your computer and use it in GitHub Desktop.
My eslintrc
{
"rules": {
"indent": [ 2, "tab", { "SwitchCase": 1 }],
"quotes": [ 2, "single" ],
"linebreak-style": [ 2, "unix" ],
"semi": [ 2, "always" ],
"no-mixed-spaces-and-tabs": [ 2, "smart-tabs" ],
"object-shorthand": [2, "always" ],
"no-const-assign": 2,
"no-class-assign": 2,
"no-this-before-super": 2,
"no-var": 2,
"quote-props": [ 2, "as-needed" ],
"one-var": [ 2, "never" ],
"prefer-arrow-callback": 2,
"arrow-spacing": 2,
"no-cond-assign": 0
},
"env": {
"es6": true,
"browser": true
},
"extends": "eslint:recommended",
"ecmaFeatures": {
"modules": true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment