2015-08-01 01:33:01 +02:00
|
|
|
---
|
2015-08-04 16:31:00 +02:00
|
|
|
parser: babel-eslint
|
|
|
|
|
2015-08-01 01:33:01 +02:00
|
|
|
env:
|
|
|
|
es6: true
|
|
|
|
amd: true
|
|
|
|
node: true
|
|
|
|
mocha: true
|
|
|
|
browser: true
|
|
|
|
|
2015-08-01 23:46:53 +02:00
|
|
|
|
2015-08-01 01:33:01 +02:00
|
|
|
rules:
|
|
|
|
block-scoped-var: 2
|
2015-08-01 23:46:53 +02:00
|
|
|
camelcase: [ 2, { properties: never } ]
|
2015-08-01 01:33:01 +02:00
|
|
|
comma-dangle: 0
|
2015-08-01 23:46:53 +02:00
|
|
|
comma-style: [ 2, last ]
|
2015-08-01 01:33:01 +02:00
|
|
|
consistent-return: 0
|
2015-08-01 23:46:53 +02:00
|
|
|
curly: [ 2, multi-line ]
|
|
|
|
dot-location: [ 2, property ]
|
|
|
|
dot-notation: [ 2, { allowKeywords: true } ]
|
|
|
|
eqeqeq: [ 2, allow-null ]
|
2015-08-01 01:33:01 +02:00
|
|
|
guard-for-in: 2
|
2015-08-01 23:46:53 +02:00
|
|
|
indent: [ 2, 2, { SwitchCase: 1 } ]
|
|
|
|
key-spacing: [ 0, { align: value } ]
|
|
|
|
max-len: [ 2, 140, 2, { ignoreComments: true, ignoreUrls: true } ]
|
|
|
|
new-cap: [ 2, { capIsNewExceptions: [ Private ] } ]
|
2015-08-01 01:33:01 +02:00
|
|
|
no-bitwise: 0
|
|
|
|
no-caller: 2
|
|
|
|
no-cond-assign: 0
|
|
|
|
no-debugger: 2
|
|
|
|
no-empty: 2
|
|
|
|
no-eval: 2
|
|
|
|
no-extend-native: 2
|
|
|
|
no-extra-parens: 0
|
|
|
|
no-irregular-whitespace: 2
|
|
|
|
no-iterator: 2
|
|
|
|
no-loop-func: 2
|
2015-08-01 23:46:53 +02:00
|
|
|
no-multi-spaces: 0
|
2015-08-01 01:33:01 +02:00
|
|
|
no-multi-str: 2
|
2015-08-01 23:46:53 +02:00
|
|
|
no-nested-ternary: 2
|
2015-08-01 01:33:01 +02:00
|
|
|
no-new: 0
|
2015-08-01 23:46:53 +02:00
|
|
|
no-path-concat: 0
|
2015-08-01 01:33:01 +02:00
|
|
|
no-proto: 2
|
|
|
|
no-return-assign: 0
|
|
|
|
no-script-url: 2
|
|
|
|
no-sequences: 2
|
|
|
|
no-shadow: 0
|
2015-08-01 23:46:53 +02:00
|
|
|
no-trailing-spaces: 2
|
2015-08-01 01:33:01 +02:00
|
|
|
no-undef: 2
|
2015-08-01 23:46:53 +02:00
|
|
|
no-underscore-dangle: 0
|
2015-08-01 23:34:36 +02:00
|
|
|
no-unused-expressions: 0
|
2015-08-01 23:46:53 +02:00
|
|
|
no-unused-vars: 0
|
|
|
|
no-use-before-define: [ 2, nofunc ]
|
2015-08-01 01:33:01 +02:00
|
|
|
no-with: 2
|
2015-08-01 23:46:53 +02:00
|
|
|
one-var: [ 2, never ]
|
|
|
|
quotes: [ 2, single ]
|
|
|
|
semi-spacing: [ 2, { before: false, after: true } ]
|
|
|
|
semi: [ 2, always ]
|
|
|
|
space-after-keywords: [ 2, always ]
|
|
|
|
space-before-blocks: [ 2, always ]
|
|
|
|
space-before-function-paren: [ 2, { anonymous: always, named: never } ]
|
|
|
|
space-in-parens: [ 2, never ]
|
|
|
|
space-infix-ops: [ 2, { int32Hint: false } ]
|
|
|
|
space-return-throw-case: [ 2 ]
|
|
|
|
space-unary-ops: [ 2 ]
|
|
|
|
strict: [ 2, never ]
|
2015-08-01 01:33:01 +02:00
|
|
|
valid-typeof: 2
|
2015-08-01 23:46:53 +02:00
|
|
|
wrap-iife: [ 2, outside ]
|
2015-08-01 01:33:01 +02:00
|
|
|
yoda: 0
|