normandy/.eslintrc

51 строка
1.0 KiB
Plaintext

env:
es6: true
extends:
- airbnb
parser: babel-eslint
plugins:
- jasmine
- babel
globals:
PRODUCTION: false
DEVELOPMENT: false
rules:
arrow-parens: [warn, as-needed]
comma-dangle: [warn]
class-methods-use-this: [off]
no-console: [off]
no-continue: [off]
no-mixed-operators: [warn, { allowSamePrecedence: true }]
no-param-reassign: [warn, { props: false }]
no-prototype-builtins: [off]
no-restricted-syntax: [off]
no-throw-literal: [off]
no-underscore-dangle: [off]
no-use-before-define: [warn, { functions: false, classes: false }]
prefer-const: [warn]
no-plusplus: [off]
no-await-in-loop: [off]
import/no-extraneous-dependencies: [error, {devDependencies: true}]
import/no-mutable-exports: [off]
import/no-named-as-default: [off]
import/order:
- error
- newlines-between: always-and-inside-groups
groups:
- [builtin, external]
- [internal]
- [parent, index, sibling]
generator-star-spacing: [warn]
settings:
import/resolver:
webpack:
config: 'webpack.config.js'