2018-12-18 14:49:39 +01:00
|
|
|
parserOptions:
|
2019-10-28 12:03:39 +01:00
|
|
|
ecmaVersion: 6
|
2018-12-18 14:49:39 +01:00
|
|
|
|
2017-07-01 09:55:11 +02:00
|
|
|
env:
|
2020-02-14 00:41:49 +01:00
|
|
|
es6: true
|
2017-07-01 09:55:11 +02:00
|
|
|
jasmine: true
|
2020-02-14 00:41:49 +01:00
|
|
|
commonjs: true
|
|
|
|
es2017: false
|
|
|
|
es2020: false
|
2017-07-01 09:55:11 +02:00
|
|
|
|
|
|
|
globals:
|
|
|
|
acquireChart: true
|
2020-01-14 13:34:08 +01:00
|
|
|
afterEvent: true
|
2017-07-01 09:55:11 +02:00
|
|
|
Chart: true
|
|
|
|
moment: true
|
2017-07-26 13:33:45 +02:00
|
|
|
waitForResize: true
|
2017-07-01 09:55:11 +02:00
|
|
|
|
2018-12-16 11:58:29 +01:00
|
|
|
# https://eslint.org/docs/rules/
|
2017-07-01 09:55:11 +02:00
|
|
|
rules:
|
|
|
|
# Best Practices
|
|
|
|
complexity: 0
|
2020-02-14 00:41:49 +01:00
|
|
|
max-statements: [0, 100]
|
|
|
|
# Loosen up for tests
|
|
|
|
no-var: 0
|
|
|
|
prefer-arrow-callback: 0
|
|
|
|
prefer-spread: 0
|
|
|
|
prefer-const: 0
|
|
|
|
object-shorthand: 0
|
|
|
|
import/no-commonjs: 0
|
|
|
|
no-invalid-this: 0
|
|
|
|
array-callback-return: 0
|
|
|
|
operator-assignment: 0
|
|
|
|
no-empty-function: 0
|
|
|
|
import/no-namespace: 0
|
|
|
|
prefer-rest-params: 0
|
|
|
|
no-unneeded-ternary: 0
|
|
|
|
|