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

+7-2
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

-1
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

+2
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

+2
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'],
+7-2
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

-1
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

+4-2
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

-1
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

+7-2
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

-1
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
}

apps/rush/.eslintrc.js

+7-2
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/rush/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
"semver": "~7.5.4"
4343
},
4444
"devDependencies": {
45-
"eslint-config-local": "workspace:*",
4645
"@rushstack/heft": "workspace:*",
4746
"local-node-rig": "workspace:*",
4847
"@rushstack/rush-amazon-s3-build-cache-plugin": "workspace:*",

apps/trace-import/.eslintrc.js

+7-2
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/trace-import/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
"typescript": "~5.0.4"
2727
},
2828
"devDependencies": {
29-
"eslint-config-local": "workspace:*",
3029
"@rushstack/heft": "workspace:*",
3130
"local-node-rig": "workspace:*",
3231
"@types/resolve": "1.20.2",

build-tests-samples/heft-node-basic-tutorial/.eslintrc.js

+2
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'],

build-tests-samples/heft-node-jest-tutorial/.eslintrc.js

+2
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'],

build-tests-samples/heft-node-rig-tutorial/.eslintrc.js

+2
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'],

build-tests-samples/heft-serverless-stack-tutorial/.eslintrc.js

+2
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'],

build-tests-samples/heft-storybook-react-tutorial/.eslintrc.js

+2
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/web-app', 'eslint-config-local/mixins/react'],

build-tests-samples/heft-web-rig-app-tutorial/.eslintrc.js

+2
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/web-app', 'eslint-config-local/mixins/react'],

build-tests-samples/heft-web-rig-library-tutorial/.eslintrc.js

+2
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/web-app', 'eslint-config-local/mixins/react'],

build-tests-samples/heft-webpack-basic-tutorial/.eslintrc.js

+2
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/web-app', 'eslint-config-local/mixins/react'],

build-tests/eslint-7-test/.eslintrc.js

+7-2
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: [

build-tests/eslint-7-test/package.json

-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
"_phase:build": "heft run --only build -- --clean"
1111
},
1212
"devDependencies": {
13-
"eslint-config-local": "workspace:*",
1413
"@rushstack/heft": "workspace:*",
1514
"local-node-rig": "workspace:*",
1615
"@types/node": "18.17.15",

build-tests/heft-example-plugin-01/.eslintrc.js

+2
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'],

build-tests/heft-example-plugin-02/.eslintrc.js

+2
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'],

build-tests/heft-fastify-test/.eslintrc.js

+2
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'],

build-tests/heft-jest-preset-test/.eslintrc.js

+2
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'],

build-tests/heft-jest-reporters-test/.eslintrc.js

+2
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'],

build-tests/heft-node-everything-esm-module-test/.eslintrc.cjs

+2
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'],

build-tests/heft-node-everything-test/.eslintrc.js

+2
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'],

build-tests/heft-parameter-plugin/.eslintrc.js

+2
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'],

build-tests/heft-sass-test/.eslintrc.js

+2
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/web-app', 'eslint-config-local/mixins/react'],

build-tests/heft-typescript-composite-test/.eslintrc.js

+2
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/web-app'],

build-tests/heft-typescript-v4-test/.eslintrc.js

+2
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'],

build-tests/heft-webpack4-everything-test/.eslintrc.js

+2
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/web-app'],

build-tests/heft-webpack5-everything-test/.eslintrc.js

+2
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/web-app'],

0 commit comments

Comments
 (0)