feat: restructure ESLint and TypeScript configurations into a new configs directory
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/** @type {import("eslint").Linter.Config} */
|
||||
module.exports = {
|
||||
root: true,
|
||||
extends: ["@repo/eslint-config/index.js"],
|
||||
extends: ['@repo/eslint-config/index.js'],
|
||||
};
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
"compilerOptions": {
|
||||
"jsx": "react-jsx"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,4 +14,4 @@
|
||||
"devDependencies": {
|
||||
"eslint": "^8.57.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -9,4 +9,4 @@
|
||||
"devDependencies": {
|
||||
"eslint": "^8.57.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,9 +1,9 @@
|
||||
/** @type {import("eslint").Linter.Config} */
|
||||
module.exports = {
|
||||
root: true,
|
||||
ignorePatterns: [".eslintrc.cjs"],
|
||||
extends: ["@repo/eslint-config/index.js"],
|
||||
parser: "@typescript-eslint/parser",
|
||||
ignorePatterns: ['.eslintrc.cjs'],
|
||||
extends: ['@repo/eslint-config/index.js'],
|
||||
parser: '@typescript-eslint/parser',
|
||||
parserOptions: {
|
||||
project: true,
|
||||
},
|
||||
|
||||
Generated
+10
-10
@@ -41,10 +41,10 @@ importers:
|
||||
devDependencies:
|
||||
'@repo/eslint-config':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/eslint-config
|
||||
version: link:../../packages/configs/eslint
|
||||
'@repo/typescript-config':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/typescript-config
|
||||
version: link:../../packages/configs/typescript
|
||||
'@types/react':
|
||||
specifier: ^19.2.7
|
||||
version: 19.2.7
|
||||
@@ -64,7 +64,7 @@ importers:
|
||||
specifier: ^5.1.4
|
||||
version: 5.4.17
|
||||
|
||||
packages/eslint-config:
|
||||
packages/configs/eslint:
|
||||
dependencies:
|
||||
'@typescript-eslint/eslint-plugin':
|
||||
specifier: ^7.1.0
|
||||
@@ -80,7 +80,7 @@ importers:
|
||||
specifier: ^8.57.0
|
||||
version: 8.57.1
|
||||
|
||||
packages/typescript-config:
|
||||
packages/configs/typescript:
|
||||
devDependencies:
|
||||
eslint:
|
||||
specifier: ^8.57.0
|
||||
@@ -109,10 +109,10 @@ importers:
|
||||
devDependencies:
|
||||
'@repo/eslint-config':
|
||||
specifier: workspace:*
|
||||
version: link:../eslint-config
|
||||
version: link:../configs/eslint
|
||||
'@repo/typescript-config':
|
||||
specifier: workspace:*
|
||||
version: link:../typescript-config
|
||||
version: link:../configs/typescript
|
||||
'@types/react':
|
||||
specifier: ^19.2.7
|
||||
version: 19.2.7
|
||||
@@ -996,7 +996,7 @@ packages:
|
||||
'@typescript-eslint/types': 7.18.0
|
||||
'@typescript-eslint/typescript-estree': 7.18.0(typescript@5.5.4)
|
||||
'@typescript-eslint/visitor-keys': 7.18.0
|
||||
debug: 4.4.0
|
||||
debug: 4.4.3
|
||||
eslint: 8.57.1
|
||||
typescript: 5.5.4
|
||||
transitivePeerDependencies:
|
||||
@@ -1023,7 +1023,7 @@ packages:
|
||||
dependencies:
|
||||
'@typescript-eslint/typescript-estree': 7.18.0(typescript@5.5.4)
|
||||
'@typescript-eslint/utils': 7.18.0(eslint@8.57.1)(typescript@5.5.4)
|
||||
debug: 4.4.0
|
||||
debug: 4.4.3
|
||||
eslint: 8.57.1
|
||||
ts-api-utils: 1.4.3(typescript@5.5.4)
|
||||
typescript: 5.5.4
|
||||
@@ -1047,7 +1047,7 @@ packages:
|
||||
dependencies:
|
||||
'@typescript-eslint/types': 7.18.0
|
||||
'@typescript-eslint/visitor-keys': 7.18.0
|
||||
debug: 4.4.0
|
||||
debug: 4.4.3
|
||||
globby: 11.1.0
|
||||
is-glob: 4.0.3
|
||||
minimatch: 9.0.5
|
||||
@@ -1247,7 +1247,6 @@ packages:
|
||||
optional: true
|
||||
dependencies:
|
||||
ms: 2.1.3
|
||||
dev: true
|
||||
|
||||
/deep-is@0.1.4:
|
||||
resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==}
|
||||
@@ -1995,6 +1994,7 @@ packages:
|
||||
/semver@7.7.1:
|
||||
resolution: {integrity: sha512-hlq8tAfn0m/61p4BVRcPzIGr6LKiMwo4VM6dGi6pt4qcRkmNzTcWq6eCEjEh+qXjkMDvPlOFFSGwQjoEa6gyMA==}
|
||||
engines: {node: '>=10'}
|
||||
hasBin: true
|
||||
dev: false
|
||||
|
||||
/set-cookie-parser@2.7.2:
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
packages:
|
||||
- 'apps/*'
|
||||
- 'packages/*'
|
||||
- 'packages/modules/*'
|
||||
- 'packages/configs/*'
|
||||
|
||||
Reference in New Issue
Block a user