/
.eslintrc.json
31 lines (31 loc) · 1.2 KB
/
.eslintrc.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
"extends": ["../../.eslintrc.json"],
"ignorePatterns": ["!**/*", "stencil.config.ts", "setupSpecTests.ts", "node_modules/*", "dist/*"],
"overrides": [
{
"files": ["*.ts", "*.tsx"],
"extends": ["plugin:@stencil-community/recommended"],
"plugins": ["eslint-plugin-no-null"],
// We set parserOptions.project for the project to allow TypeScript to create the type-checker behind the scenes when we run linting
"parserOptions": {
"project": ["packages/elements/tsconfig.*?.json"]
},
"rules": {
"@stencil-community/ban-exported-const-enums": "off",
"@stencil-community/prefer-vdom-listener": "off",
"@stencil-community/reserved-member-names": "warn",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/unbound-method": "error",
"comma-dangle": "off",
"import/no-unassigned-import": "off",
"no-cond-assign": "off",
"no-console": "off",
"no-null/no-null": "off",
"no-throw-literal": "off",
"react/jsx-no-bind": "off"
}
}
]
}