2017-11-08 08:06:43 +03:00
|
|
|
{
|
2021-03-15 11:25:48 +03:00
|
|
|
"root": true,
|
2017-11-08 08:06:43 +03:00
|
|
|
"extends": [
|
2019-05-16 15:08:12 +03:00
|
|
|
"plugin:github/browser",
|
2023-06-08 17:55:57 +03:00
|
|
|
"plugin:github/recommended",
|
|
|
|
"plugin:github/typescript",
|
|
|
|
"plugin:custom-elements/recommended"
|
2019-02-25 16:52:33 +03:00
|
|
|
],
|
2023-06-08 17:55:57 +03:00
|
|
|
"rules": {
|
|
|
|
"custom-elements/tag-name-matches-class": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"suffix": "Element"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"custom-elements/define-tag-after-class-definition": "off",
|
|
|
|
"custom-elements/no-method-prefixed-with-on": "off",
|
|
|
|
"custom-elements/expose-class-on-global": "off",
|
|
|
|
"import/extensions": ["error", "always"],
|
|
|
|
"import/no-unresolved": "off"
|
|
|
|
},
|
|
|
|
"overrides": [
|
|
|
|
{
|
|
|
|
"files": "src/*-define.ts",
|
|
|
|
"rules": {
|
|
|
|
"@typescript-eslint/no-namespace": "off"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"files": "test/**/*.js",
|
|
|
|
"rules": {
|
|
|
|
"github/unescaped-html-literal": "off",
|
|
|
|
"github/no-inner-html": "off",
|
|
|
|
"i18n-text/no-en": "off"
|
|
|
|
},
|
|
|
|
"env": {
|
|
|
|
"mocha": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
2017-11-08 08:06:43 +03:00
|
|
|
}
|