Skip to content

Instantly share code, notes, and snippets.

@fredchu
Last active June 2, 2017 01:35
Show Gist options
  • Save fredchu/d23ec69cf7e65e8f3b156034a0573924 to your computer and use it in GitHub Desktop.
Save fredchu/d23ec69cf7e65e8f3b156034a0573924 to your computer and use it in GitHub Desktop.
.eslintrc.yaml
---
root: true
env:
browser: true
es6: true
amd: true
phantomjs: true
jquery: true
globals:
Modernizr: true
webkitSpeechRecognition: true
_gaq: true
faq: true
FB: true
gTrackEvent: true
l10n: true
d3: true
_: true
pinkoi: true
PRODUCTION: true
NAMESPACE: true
casper: true
__utils__: true
rules:
comma-dangle: error
no-cond-assign: error
no-debugger: error
no-dupe-args: error
no-dupe-keys: error
no-duplicate-case: error
no-empty-character-class: error
no-ex-assign: error
no-extra-semi: error
no-func-assign: error
no-inner-declarations: error
no-invalid-regexp: error
no-irregular-whitespace: error
no-negated-in-lhs: error
no-obj-calls: error
no-regex-spaces: error
no-sparse-arrays: error
no-unexpected-multiline: error
no-unreachable: error
use-isnan: error
valid-typeof: error
curly: error
guard-for-in: error
no-div-regex: error
no-empty-function: error
no-empty-pattern: error
no-extra-label: error
no-fallthrough: error
no-floating-decimal: error
no-lone-blocks: error
no-native-reassign: error
no-unused-labels: error
no-undef:
- error
- typeof: true
no-use-before-define: error
no-unused-vars:
- error
- args: 'none'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment