Skip to content

Instantly share code, notes, and snippets.

@darwinsalinas
Created July 25, 2017 02:35
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 darwinsalinas/f02acf9f2e0824bf5db34d53adf0aa08 to your computer and use it in GitHub Desktop.
Save darwinsalinas/f02acf9f2e0824bf5db34d53adf0aa08 to your computer and use it in GitHub Desktop.
{
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true
},
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"sourceType": "module"
},
// https://github.com/feross/standard/blob/master/RULES.md#javascript-standard-style
"extends": "standard",
// required to lint *.vue files
"plugins": [
"html"
],
"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"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment