Skip to content

Commit 0e54561

Browse files
committed
Introduce a local eslint config.
1 parent 59d815d commit 0e54561

File tree

192 files changed

+648
-435
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

192 files changed

+648
-435
lines changed

apps/api-documenter/.eslintrc.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
// This is a workaround for https://github.com/eslint/eslint/issues/3458
2-
require('@rushstack/eslint-config/patch/modern-module-resolution');
2+
require('eslint-config-local/patch/modern-module-resolution');
33

44
module.exports = {
5-
extends: [
6-
'@rushstack/eslint-config/profile/node-trusted-tool',
7-
'@rushstack/eslint-config/mixins/friendly-locals'
8-
],
5+
extends: ['eslint-config-local/profile/node-trusted-tool', 'eslint-config-local/mixins/friendly-locals'],
96
parserOptions: { tsconfigRootDir: __dirname }
107
};

apps/api-documenter/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"resolve": "~1.22.1"
3030
},
3131
"devDependencies": {
32-
"@rushstack/eslint-config": "workspace:*",
32+
"eslint-config-local": "workspace:*",
3333
"@rushstack/heft": "workspace:*",
3434
"local-node-rig": "workspace:*",
3535
"@types/js-yaml": "3.12.1",

apps/api-extractor/.eslintrc.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
// This is a workaround for https://github.com/eslint/eslint/issues/3458
2-
require('@rushstack/eslint-config/patch/modern-module-resolution');
2+
require('eslint-config-local/patch/modern-module-resolution');
33

44
module.exports = {
5-
extends: [
6-
'@rushstack/eslint-config/profile/node-trusted-tool',
7-
'@rushstack/eslint-config/mixins/friendly-locals'
8-
],
5+
extends: ['eslint-config-local/profile/node-trusted-tool', 'eslint-config-local/mixins/friendly-locals'],
96
parserOptions: { tsconfigRootDir: __dirname }
107
};

apps/api-extractor/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"typescript": "~5.0.4"
5252
},
5353
"devDependencies": {
54-
"@rushstack/eslint-config": "workspace:*",
54+
"eslint-config-local": "workspace:*",
5555
"@rushstack/heft": "0.59.0",
5656
"@rushstack/heft-node-rig": "2.2.23",
5757
"@types/heft-jest": "1.0.1",

apps/heft/.eslintrc.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
// This is a workaround for https://github.com/eslint/eslint/issues/3458
2-
require('@rushstack/eslint-config/patch/modern-module-resolution');
2+
require('eslint-config-local/patch/modern-module-resolution');
33

44
module.exports = {
5-
extends: [
6-
'@rushstack/eslint-config/profile/node-trusted-tool',
7-
'@rushstack/eslint-config/mixins/friendly-locals'
8-
],
5+
extends: ['eslint-config-local/profile/node-trusted-tool', 'eslint-config-local/mixins/friendly-locals'],
96
parserOptions: { tsconfigRootDir: __dirname }
107
};

apps/heft/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
},
5252
"devDependencies": {
5353
"@microsoft/api-extractor": "workspace:*",
54-
"@rushstack/eslint-config": "workspace:*",
54+
"eslint-config-local": "workspace:*",
5555
"@rushstack/heft": "0.59.0",
5656
"@rushstack/heft-node-rig": "2.2.23",
5757
"@types/argparse": "1.0.38",
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// This is a workaround for https://github.com/eslint/eslint/issues/3458
2-
require('@rushstack/eslint-config/patch/modern-module-resolution');
2+
require('eslint-config-local/patch/modern-module-resolution');
33

44
module.exports = {
5-
extends: ['@rushstack/eslint-config/profile/web-app', '@rushstack/eslint-config/mixins/react'],
5+
extends: ['eslint-config-local/profile/web-app', 'eslint-config-local/mixins/react'],
66
parserOptions: { tsconfigRootDir: __dirname }
77
};

apps/lockfile-explorer-web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"@rushstack/rush-themed-ui": "workspace:*"
2323
},
2424
"devDependencies": {
25-
"@rushstack/eslint-config": "workspace:*",
25+
"eslint-config-local": "workspace:*",
2626
"@rushstack/heft": "workspace:*",
2727
"@types/react-dom": "16.9.14",
2828
"@types/react": "16.14.23",
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// This is a workaround for https://github.com/eslint/eslint/issues/3458
2-
require('@rushstack/eslint-config/patch/modern-module-resolution');
2+
require('eslint-config-local/patch/modern-module-resolution');
33

44
module.exports = {
5-
extends: ['@rushstack/eslint-config/profile/node'],
5+
extends: ['eslint-config-local/profile/node'],
66
parserOptions: { tsconfigRootDir: __dirname }
77
};

apps/lockfile-explorer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
},
3939
"devDependencies": {
4040
"@microsoft/rush-lib": "workspace:*",
41-
"@rushstack/eslint-config": "workspace:*",
41+
"eslint-config-local": "workspace:*",
4242
"local-node-rig": "workspace:*",
4343
"@rushstack/heft": "workspace:*",
4444
"@rushstack/lockfile-explorer-web": "workspace:*",

0 commit comments

Comments
 (0)