mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 12:19:08 +02:00
d26172ada8
infra: Remove duplicated ES2019 plugin
32 lines
735 B
YAML
32 lines
735 B
YAML
extends:
|
|
- chartjs
|
|
- plugin:es/no-new-in-es2019
|
|
|
|
env:
|
|
es6: true
|
|
browser: true
|
|
node: true
|
|
|
|
parserOptions:
|
|
ecmaVersion: 2018
|
|
sourceType: module
|
|
ecmaFeatures:
|
|
impliedStrict: true
|
|
modules: true
|
|
|
|
plugins: ['html', 'es']
|
|
|
|
rules:
|
|
class-methods-use-this: "off"
|
|
complexity: ["warn", 10]
|
|
max-statements: ["warn", 30]
|
|
no-empty-function: "off"
|
|
no-use-before-define: ["error", { "functions": false }]
|
|
# disable everything, except Rest/Spread Properties in ES2018
|
|
es/no-async-iteration: "error"
|
|
es/no-malformed-template-literals: "error"
|
|
es/no-regexp-lookbehind-assertions: "error"
|
|
es/no-regexp-named-capture-groups: "error"
|
|
es/no-regexp-s-flag: "error"
|
|
es/no-regexp-unicode-property-escapes: "error"
|