Skip to content

Commit 3af4a02

Browse files
committed
Update local rigs to extend the local eslint config.
1 parent 67fc5f8 commit 3af4a02

File tree

174 files changed

+545
-288
lines changed

Some content is hidden

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

174 files changed

+545
-288
lines changed

apps/api-documenter/.eslintrc.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
// This is a workaround for https://github.com/eslint/eslint/issues/3458
2-
require('eslint-config-local/patch/modern-module-resolution');
2+
require('local-node-rig/profiles/default/includes/eslint/patch/modern-module-resolution');
3+
// This is a workaround for https://github.com/microsoft/rushstack/issues/3021
4+
require('local-node-rig/profiles/default/includes/eslint/patch/custom-config-package-names');
35

46
module.exports = {
5-
extends: ['eslint-config-local/profile/node-trusted-tool', 'eslint-config-local/mixins/friendly-locals'],
7+
extends: [
8+
'local-node-rig/profiles/default/includes/eslint/profile/node-trusted-tool',
9+
'local-node-rig/profiles/default/includes/eslint/mixins/friendly-locals'
10+
],
611
parserOptions: { tsconfigRootDir: __dirname },
712

813
overrides: [

apps/api-documenter/package.json

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

apps/api-extractor/.eslintrc.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// This is a workaround for https://github.com/eslint/eslint/issues/3458
22
require('eslint-config-local/patch/modern-module-resolution');
3+
// This is a workaround for https://github.com/microsoft/rushstack/issues/3021
4+
require('eslint-config-local/patch/custom-config-package-names');
35

46
module.exports = {
57
extends: ['eslint-config-local/profile/node-trusted-tool', 'eslint-config-local/mixins/friendly-locals'],

apps/heft/.eslintrc.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
// This is a workaround for https://github.com/eslint/eslint/issues/3458
22
require('eslint-config-local/patch/modern-module-resolution');
3+
// This is a workaround for https://github.com/microsoft/rushstack/issues/3021
4+
require('eslint-config-local/patch/custom-config-package-names');
35

46
module.exports = {
57
extends: ['eslint-config-local/profile/node-trusted-tool', 'eslint-config-local/mixins/friendly-locals'],
Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
// This is a workaround for https://github.com/eslint/eslint/issues/3458
2-
require('eslint-config-local/patch/modern-module-resolution');
2+
require('local-web-rig/profiles/app/includes/eslint/patch/modern-module-resolution');
3+
// This is a workaround for https://github.com/microsoft/rushstack/issues/3021
4+
require('local-web-rig/profiles/app/includes/eslint/patch/custom-config-package-names');
35

46
module.exports = {
5-
extends: ['eslint-config-local/profile/web-app', 'eslint-config-local/mixins/react'],
7+
extends: [
8+
'local-web-rig/profiles/app/includes/eslint/profile/web-app',
9+
'local-web-rig/profiles/app/includes/eslint/mixins/react'
10+
],
611
parserOptions: { tsconfigRootDir: __dirname }
712
};

apps/lockfile-explorer-web/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
"@rushstack/rush-themed-ui": "workspace:*"
2323
},
2424
"devDependencies": {
25-
"eslint-config-local": "workspace:*",
2625
"@rushstack/heft": "workspace:*",
2726
"@types/react-dom": "16.9.14",
2827
"@types/react": "16.14.23",

apps/lockfile-explorer/.eslintrc.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
// This is a workaround for https://github.com/eslint/eslint/issues/3458
2-
require('eslint-config-local/patch/modern-module-resolution');
2+
require('local-node-rig/profiles/default/includes/eslint/patch/modern-module-resolution');
3+
// This is a workaround for https://github.com/microsoft/rushstack/issues/3021
4+
require('local-node-rig/profiles/default/includes/eslint/patch/custom-config-package-names');
35

46
module.exports = {
5-
extends: ['eslint-config-local/profile/node'],
7+
extends: ['local-node-rig/profiles/default/includes/eslint/profile/node'],
68
parserOptions: { tsconfigRootDir: __dirname },
79

810
overrides: [

apps/lockfile-explorer/package.json

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

apps/rundown/.eslintrc.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
// This is a workaround for https://github.com/eslint/eslint/issues/3458
2-
require('eslint-config-local/patch/modern-module-resolution');
2+
require('local-node-rig/profiles/default/includes/eslint/patch/modern-module-resolution');
3+
// This is a workaround for https://github.com/microsoft/rushstack/issues/3021
4+
require('local-node-rig/profiles/default/includes/eslint/patch/custom-config-package-names');
35

46
module.exports = {
5-
extends: ['eslint-config-local/profile/node-trusted-tool', 'eslint-config-local/mixins/friendly-locals'],
7+
extends: [
8+
'local-node-rig/profiles/default/includes/eslint/profile/node-trusted-tool',
9+
'local-node-rig/profiles/default/includes/eslint/mixins/friendly-locals'
10+
],
611
parserOptions: { tsconfigRootDir: __dirname },
712

813
overrides: [

apps/rundown/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
"string-argv": "~0.3.1"
2727
},
2828
"devDependencies": {
29-
"eslint-config-local": "workspace:*",
3029
"@rushstack/heft": "workspace:*",
3130
"local-node-rig": "workspace:*"
3231
}

0 commit comments

Comments
 (0)