Skip to content

Instantly share code, notes, and snippets.

@whirmill
Created November 20, 2017 12:47
Show Gist options
  • Save whirmill/99d4890b6c88b4e02e2d12fcfd2bbaca to your computer and use it in GitHub Desktop.
Save whirmill/99d4890b6c88b4e02e2d12fcfd2bbaca to your computer and use it in GitHub Desktop.
parser: babel-eslint
parserOptions:
ecmaFeatures:
binaryLiterals: false
blockBindings: true
defaultParams: true
forOf: true
generators: false
objectLiteralComputedProperties: true
objectLiteralDuplicateProperties: false
objectLiteralShorthandMethods: false
objectLiteralShorthandProperties: false
octalLiterals: false
regexUFlag: false
regexYFlag: false
templateStrings: true
unicodeCodePointEscapes: false
jsx: false
modules: true
experimentalObjectRestSpread: true
sourceType: module
allowImportExportEverywhere: false
codeFrame: false
env:
browser: true
node: false
amd: false
mocha: true
jasmine: false
phantomjs: false
jquery: false
prototypejs: false
shelljs: false
es6: true
globals: {}
rules:
no-comma-dangle: 0
no-cond-assign: 1
no-console: 0
no-constant-condition: 0
no-control-regex: 0
no-debugger: 0
no-dupe-keys: 1
no-empty: 0
no-empty-class: 0
no-ex-assign: 0
no-extra-boolean-cast: 0
no-extra-parens: 0
no-extra-semi: 1
no-func-assign: 1
no-inner-declarations: 0
no-invalid-regexp: 0
no-irregular-whitespace: 0
no-negated-in-lhs: 0
no-obj-calls: 0
no-regex-spaces: 0
no-reserved-keys: 0
no-sparse-arrays: 0
no-unreachable: 1
use-isnan: 1
valid-jsdoc: 1
valid-typeof: 1
block-scoped-var: 1
complexity: 0
consistent-return: 0
curly: 0
default-case: 0
dot-notation: 1
eqeqeq: 1
guard-for-in: 0
no-alert: 0
no-caller: 0
no-div-regex: 0
no-else-return: 0
no-empty-label: 0
no-eq-null: 0
no-eval: 1
no-extend-native: 0
no-extra-bind: 0
no-fallthrough: 0
no-floating-decimal: 0
no-implied-eval: 1
no-iterator: 0
no-labels: 0
no-lone-blocks: 0
no-loop-func: 1
no-multi-spaces: 1
no-multi-str: 0
no-native-reassign: 0
no-new: 0
no-new-func: 0
no-new-wrappers: 1
no-octal: 0
no-octal-escape: 0
no-process-env: 0
no-proto: 0
no-redeclare: 1
no-return-assign: 0
no-script-url: 1
no-self-compare: 1
no-sequences: 0
no-unused-expressions: 0
no-void: 0
no-warning-comments: 0
no-with: 0
radix: 0
vars-on-top: 0
wrap-iife: 0
yoda: 0
global-strict: 0
no-extra-strict: 0
strict: 0
no-catch-shadow: 0
no-delete-var: 0
no-label-var: 0
no-shadow: 1
no-shadow-restricted-names: 0
no-undef: 0
no-undef-init: 0
no-undefined: 0
no-unused-vars:
- error
no-use-before-define:
- error
- functions: false
classes: false
variables: false
prefer-const:
- error
- destructuring: any
ignoreReadBeforeAssign: false
handle-callback-err: 0
no-mixed-requires: 0
no-new-require: 0
no-path-concat: 0
no-process-exit: 0
no-restricted-modules: 0
no-sync: 0
brace-style:
- error
- 1tbs
- allowSingleLine: true
camelcase: 1
comma-spacing: 0
comma-style: 0
consistent-this: 0
eol-last: 1
func-names: 0
func-style:
- error
- expression
prefer-arrow-callback: error
key-spacing: 0
max-nested-callbacks: 0
new-cap: 1
new-parens: 1
no-array-constructor: 1
no-inline-comments: 0
no-lonely-if: 0
no-mixed-spaces-and-tabs: 1
no-multiple-empty-lines: 0
no-nested-ternary: 1
no-new-object: 1
no-space-before-semi: 0
no-spaced-func: 0
no-ternary: 0
no-trailing-spaces: 1
no-underscore-dangle: 0
no-wrap-func: 0
one-var: 0
operator-assignment: 0
padded-blocks: 0
quote-props: 0
quotes:
- 1
- single
semi:
- 2
- never
sort-vars: 0
space-after-function-name: 0
space-after-keywords: 0
space-before-blocks: 0
space-in-brackets: 0
space-in-parens: 0
space-infix-ops: 0
space-return-throw-case: 0
space-unary-ops: 0
spaced-line-comment: 0
wrap-regex: 0
space-before-function-paren:
- error
- anonymous: always
named: never
asyncArrow: always
no-var: 1
generator-star: 0
max-depth: 0
max-len: 0
max-params: 0
max-statements: 0
no-bitwise: 0
no-plusplus: 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment