2018-04-11 22:47:25 +03:00
|
|
|
{
|
2021-04-26 11:52:42 +03:00
|
|
|
"root": true,
|
2021-04-26 12:04:10 +03:00
|
|
|
"plugins": ["custom-elements"],
|
2018-04-11 22:47:25 +03:00
|
|
|
"extends": [
|
|
|
|
"plugin:github/browser",
|
2020-06-04 19:15:20 +03:00
|
|
|
"plugin:github/recommended",
|
2021-04-26 12:04:10 +03:00
|
|
|
"plugin:github/typescript",
|
|
|
|
"plugin:custom-elements/recommended"
|
2018-04-11 22:47:25 +03:00
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"github/no-then": "off",
|
2021-04-26 12:04:10 +03:00
|
|
|
"no-invalid-this": "off",
|
2022-02-24 22:31:05 +03:00
|
|
|
"custom-elements/tag-name-matches-class": ["error", {"suffix": "Element"}],
|
|
|
|
"import/extensions": ["error", "always"],
|
|
|
|
"import/no-unresolved": "off"
|
2019-02-20 20:51:52 +03:00
|
|
|
},
|
2020-05-21 01:24:33 +03:00
|
|
|
"globals": {
|
2020-06-04 19:15:20 +03:00
|
|
|
"AutocompleteElement": "readonly"
|
2020-05-21 01:24:33 +03:00
|
|
|
},
|
2021-11-12 18:21:22 +03:00
|
|
|
"ignorePatterns": ["dist/", "examples/dist"],
|
2019-02-20 20:51:52 +03:00
|
|
|
"overrides": [
|
|
|
|
{
|
2020-05-21 01:24:33 +03:00
|
|
|
"files": ["test/*.js", "rollup.config.js"],
|
|
|
|
"parser": "espree",
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": 8
|
|
|
|
},
|
2019-02-20 20:51:52 +03:00
|
|
|
"rules": {
|
|
|
|
"github/unescaped-html-literal": "off"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"files": "test/**/*.js",
|
|
|
|
"excludedFiles": "test/karma.config.js",
|
|
|
|
"env": {
|
|
|
|
"mocha": true
|
|
|
|
},
|
|
|
|
"globals": {
|
|
|
|
"assert": true
|
|
|
|
}
|
2022-02-24 16:06:52 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"files": "validator.js",
|
|
|
|
"rules": {
|
|
|
|
"@typescript-eslint/explicit-module-boundary-types": "off"
|
|
|
|
}
|
2022-02-24 22:23:24 +03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"files": ["*.config.js"],
|
|
|
|
"rules": {
|
|
|
|
"filenames/match-regex": "off"
|
|
|
|
}
|
2019-02-20 20:51:52 +03:00
|
|
|
}
|
|
|
|
]
|
2018-04-11 22:47:25 +03:00
|
|
|
}
|