Skip to content

Instantly share code, notes, and snippets.

@fredchu
Created November 6, 2017 08:13
Show Gist options
  • Save fredchu/a79dfb648dc1b781714cc5c933ddcb05 to your computer and use it in GitHub Desktop.
Save fredchu/a79dfb648dc1b781714cc5c933ddcb05 to your computer and use it in GitHub Desktop.
---
parserOptions:
ecmaVersion: 6
env:
browser: true
es6: true
phantomjs: true
jquery: true
globals:
angular: true
Modernizr: true
d3: true
_: true
Bloodhound: true
moment: true
_paq: true
rules:
semi:
- 2
- always
# comma-dangle:
# - 2
no-cond-assign:
- 2
no-debugger:
- 2
no-dupe-args:
- 2
no-dupe-keys:
- 2
no-duplicate-case:
- 2
no-empty-character-class:
- 2
no-ex-assign:
- 2
no-extra-semi:
- 2
no-func-assign:
- 2
no-inner-declarations:
- 2
no-invalid-regexp:
- 2
# no-irregular-whitespace:
# - 2
no-negated-in-lhs:
- 2
no-obj-calls:
- 2
no-regex-spaces:
- 2
no-sparse-arrays:
- 2
no-unexpected-multiline:
- 2
no-unreachable:
- 2
use-isnan:
- 2
valid-typeof:
- 2
curly:
- 2
guard-for-in:
- 2
no-div-regex:
- 2
no-empty-function:
- 2
no-empty-pattern:
- 2
no-extra-label:
- 2
no-fallthrough:
- 2
no-floating-decimal:
- 2
no-lone-blocks:
- 2
no-native-reassign:
- 2
no-unused-labels:
- 2
no-undef:
- 2
- typeof: true
no-unused-vars:
- 2
- args: none
# space-before-blocks:
# - 2
# key-spacing:
# - 2
# - beforeColon: false
# keyword-spacing:
# - 2
# - before: true
# space-in-parens:
# - 2
# - never
array-bracket-spacing:
- 2
- never
# object-curly-spacing:
# - 2
# - never
# dot-notation:
# - 2
# newline-per-chained-call:
# - error
# - ignoreChainWithDepth: 2
# padded-blocks:
# - 2
# - never
# quotes:
# - error
# - single
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment