@petbee/eslint-config 3.0.0 → 3.0.1
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 +2 -2
- package/rules/typescript.js +1 -8
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@petbee/eslint-config",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"description": "Petbee's eslint config",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"publishConfig": {
|
|
82
82
|
"access": "public"
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "1b88a796860c98f200563762903c20cbe0f78aeb"
|
|
85
85
|
}
|
package/rules/typescript.js
CHANGED
|
@@ -12,15 +12,8 @@ const tsConfigOptions = [
|
|
|
12
12
|
parserOptions: {
|
|
13
13
|
ecmaVersion: 2022,
|
|
14
14
|
sourceType: 'module',
|
|
15
|
-
project: [
|
|
16
|
-
// look in the root
|
|
17
|
-
'tsconfig{.eslint.json,.json}',
|
|
18
|
-
// look in dirs like node/react
|
|
19
|
-
'*/tsconfig{.eslint.json,.json}',
|
|
20
|
-
// look in dirs like packages/package/*
|
|
21
|
-
'*/*/tsconfig{.eslint.json,.json}',
|
|
22
|
-
],
|
|
23
15
|
projectService: true,
|
|
16
|
+
defaultProject: 'tsconfig.json',
|
|
24
17
|
tsconfigRootDir: process.cwd(),
|
|
25
18
|
projectFolderIgnoreList: [/node_modules/i],
|
|
26
19
|
// We need this configuration to avoid performance issues in monorepos
|