auto-complete-element/.eslintrc.json

54 строки
1.1 KiB
JSON
Исходник Обычный вид История

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",
"custom-elements/tag-name-matches-class": ["error", {"suffix": "Element"}]
},
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
},
"ignorePatterns": ["dist/", "examples/dist"],
"overrides": [
{
2020-05-21 01:24:33 +03:00
"files": ["test/*.js", "rollup.config.js"],
"parser": "espree",
"parserOptions": {
"ecmaVersion": 8
},
"rules": {
"github/unescaped-html-literal": "off"
}
},
{
"files": "test/**/*.js",
"excludedFiles": "test/karma.config.js",
"env": {
"mocha": true
},
"globals": {
"assert": true
}
},
{
"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"
}
}
]
2018-04-11 22:47:25 +03:00
}