@viclafouch/eslint-config-viclafouch 4.17.1-beta.5 → 4.17.1-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/rules/react.mjs +1 -1
- package/rules/style.mjs +0 -4
- package/rules/typescript.mjs +3 -2
package/package.json
CHANGED
package/rules/react.mjs
CHANGED
package/rules/style.mjs
CHANGED
|
@@ -9,10 +9,6 @@ export default {
|
|
|
9
9
|
// https://eslint.org/docs/latest/rules/camelcase
|
|
10
10
|
camelcase: 'error',
|
|
11
11
|
|
|
12
|
-
// Enforce a maximum number of lines per file
|
|
13
|
-
// https://eslint.org/docs/rules/max-lines
|
|
14
|
-
'max-lines': ['error', 350],
|
|
15
|
-
|
|
16
12
|
// Enforce or disallow capitalization of the first letter of a comment
|
|
17
13
|
// https://eslint.org/docs/rules/capitalized-comments
|
|
18
14
|
'capitalized-comments': ['error', 'always'],
|
package/rules/typescript.mjs
CHANGED
|
@@ -16,8 +16,9 @@ export default tseslint.config(
|
|
|
16
16
|
name: 'typescript',
|
|
17
17
|
languageOptions: {
|
|
18
18
|
parserOptions: {
|
|
19
|
-
projectService:
|
|
20
|
-
|
|
19
|
+
projectService: {
|
|
20
|
+
allowDefaultProject: ['*.js', '*.mjs']
|
|
21
|
+
}
|
|
21
22
|
}
|
|
22
23
|
},
|
|
23
24
|
settings: {
|