Skip to content

Instantly share code, notes, and snippets.

@tanshio
Created February 28, 2016 14:48
Show Gist options
  • Save tanshio/f6ab1f8d422d66b8baba to your computer and use it in GitHub Desktop.
Save tanshio/f6ab1f8d422d66b8baba to your computer and use it in GitHub Desktop.
.eslintrc
{
"env": {
"browser": true,
"node": true,
"jasmine": true,
"phantomjs": true,
"jquery": true,
"shelljs": true,
"es6": true
},
"globals": {},
"ecmaFeatures": {
"arrowFunctions": true,
"binaryLiterals": true,
"blockBindings": true,
"classes": true,
"defaultParams": true,
"destructuring": true,
"forOf": true,
"generators": true,
"modules": true,
"objectLiteralComputedProperties": true,
"objectLiteralDuplicateProperties": true,
"objectLiteralShorthandMethods": true,
"objectLiteralShorthandProperties": true,
"octalLiterals": true,
"regexUFlag": true,
"regexYFlag": true,
"spread": true,
"superInFunctions": true,
"templateStrings": true,
"unicodeCodePointEscapes": true,
"globalReturn": true,
"jsx": true
},
"parser": null,
"rules": {
"comma-dangle": [2, "never"],
"no-cond-assign": [2],
"no-dupe-keys": 2,
"no-duplicate-case": 2,
"no-empty": 2,
"no-extra-parens": 2,
"no-extra-semi": 2
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment