1+ {
2+ "root" : true ,
3+ "plugins" : [
4+ " @typescript-eslint" ,
5+ " vitest" ,
6+ " prettier"
7+ ],
8+ "extends" : [
9+ " plugin:github/recommended" ,
10+ " plugin:vitest/recommended" ,
11+ " plugin:prettier/recommended"
12+ ],
13+ "parser" : " @typescript-eslint/parser" ,
14+ "parserOptions" : {
15+ "ecmaVersion" : " latest" ,
16+ "sourceType" : " module" ,
17+ "project" : " ./tsconfig.eslint.json"
18+ },
19+ "rules" : {
20+ "prettier/prettier" : [
21+ " error" ,
22+ {
23+ "endOfLine" : " auto"
24+ }
25+ ],
26+ "eslint-comments/no-use" : " off" ,
27+ "no-constant-condition" : [
28+ " error" ,
29+ {
30+ "checkLoops" : false
31+ }
32+ ],
33+ "github/no-then" : " off" ,
34+ "import/no-namespace" : " off" ,
35+ "no-shadow" : " off" ,
36+ "no-console" : " off" ,
37+ "no-unused-vars" : [
38+ " error" ,
39+ {
40+ "argsIgnorePattern" : " ^_" ,
41+ "varsIgnorePattern" : " ^_"
42+ }
43+ ],
44+ "i18n-text/no-en" : " off" ,
45+ "filenames/match-regex" : " off" ,
46+ "import/no-commonjs" : " off" ,
47+ "import/named" : " off" ,
48+ "no-sequences" : " off" ,
49+ "import/no-unresolved" : " off" ,
50+ "no-undef" : " off" ,
51+ "no-only-tests/no-only-tests" : " off" ,
52+ "@typescript-eslint/no-unused-vars" : [
53+ " error" ,
54+ {
55+ "argsIgnorePattern" : " ^_" ,
56+ "varsIgnorePattern" : " ^_"
57+ }
58+ ],
59+ "@typescript-eslint/explicit-member-accessibility" : [
60+ " error" ,
61+ {
62+ "accessibility" : " no-public"
63+ }
64+ ],
65+ "@typescript-eslint/no-require-imports" : " error" ,
66+ "@typescript-eslint/array-type" : " error" ,
67+ "@typescript-eslint/await-thenable" : " error" ,
68+ "@typescript-eslint/ban-ts-comment" : " error" ,
69+ "camelcase" : " off" ,
70+ "@typescript-eslint/camelcase" : " off" ,
71+ "@typescript-eslint/consistent-type-assertions" : " off" ,
72+ "@typescript-eslint/explicit-function-return-type" : [
73+ " error" ,
74+ {
75+ "allowExpressions" : true
76+ }
77+ ],
78+ "@typescript-eslint/func-call-spacing" : [
79+ " error" ,
80+ " never"
81+ ],
82+ "@typescript-eslint/naming-convention" : [
83+ " error" ,
84+ {
85+ "format" : null ,
86+ "filter" : {
87+ // you can expand this regex as you find more cases that require quoting that you want to allow
88+ "regex" : " ^[A-Z][A-Za-z]*$" ,
89+ "match" : true
90+ },
91+ "selector" : " memberLike"
92+ }
93+ ],
94+ "@typescript-eslint/no-array-constructor" : " error" ,
95+ "@typescript-eslint/no-empty-interface" : " error" ,
96+ "@typescript-eslint/no-explicit-any" : " error" ,
97+ "@typescript-eslint/no-extraneous-class" : " error" ,
98+ "@typescript-eslint/no-for-in-array" : " error" ,
99+ "@typescript-eslint/no-inferrable-types" : " error" ,
100+ "@typescript-eslint/no-misused-new" : " error" ,
101+ "@typescript-eslint/no-namespace" : " error" ,
102+ "@typescript-eslint/no-non-null-assertion" : " warn" ,
103+ "@typescript-eslint/no-unnecessary-qualifier" : " error" ,
104+ "@typescript-eslint/no-unnecessary-type-assertion" : " error" ,
105+ "@typescript-eslint/no-useless-constructor" : " error" ,
106+ "@typescript-eslint/no-var-requires" : " error" ,
107+ "@typescript-eslint/prefer-for-of" : " warn" ,
108+ "@typescript-eslint/prefer-function-type" : " warn" ,
109+ "@typescript-eslint/prefer-includes" : " error" ,
110+ "@typescript-eslint/prefer-string-starts-ends-with" : " error" ,
111+ "@typescript-eslint/promise-function-async" : " error" ,
112+ "@typescript-eslint/require-array-sort-compare" : " error" ,
113+ "semi" : " off" ,
114+ "@typescript-eslint/semi" : [
115+ " error" ,
116+ " never"
117+ ],
118+ "@typescript-eslint/type-annotation-spacing" : " error" ,
119+ "@typescript-eslint/unbound-method" : " error"
120+ },
121+ "ignorePatterns" : [
122+ " packages/glob/__tests__/_temp/**/" ,
123+ " gitversion/**/" ,
124+ " gitreleasemanager/**/" ,
125+ " dist/"
126+ ],
127+ "env" : {
128+ "node" : true ,
129+ "es6" : true
130+ }
131+ }
0 commit comments