forked from cmglez10/ng-datatable
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy patheslint.config.mjs
37 lines (36 loc) · 1.11 KB
/
eslint.config.mjs
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
32
33
34
35
36
37
// @ts-check
import eslint from "@eslint/js";
import tseslint from "typescript-eslint";
import angularEslint from "angular-eslint";
export default tseslint.config(
{
files: ["**/*.ts"],
extends: [
eslint.configs.recommended,
...tseslint.configs.recommended,
...tseslint.configs.stylistic,
...angularEslint.configs.tsRecommended,
],
processor: angularEslint.processInlineTemplates,
rules: {
"@angular-eslint/directive-class-suffix": "off",
"@angular-eslint/component-selector": "off",
"@angular-eslint/component-class-suffix": "off",
"@angular-eslint/no-conflicting-lifecycle": "off",
"@angular-eslint/no-input-rename": "off",
"@angular-eslint/no-output-rename": "off",
"@typescript-eslint/no-explicit-any": "off"
},
},
{
files: ["**/*.html"],
extends: [
...angularEslint.configs.templateRecommended,
...angularEslint.configs.templateAccessibility,
],
rules: {
"@angular-eslint/template/click-events-have-key-events": "off",
"@angular-eslint/template/interactive-supports-focus": "off"
},
}
);