diff --git a/apps/api-documenter/.eslintrc.js b/apps/api-documenter/.eslintrc.js index 0eb82aeb14e..4c934799d67 100644 --- a/apps/api-documenter/.eslintrc.js +++ b/apps/api-documenter/.eslintrc.js @@ -2,6 +2,9 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/apps/api-extractor-model/.eslintrc.js b/apps/api-extractor-model/.eslintrc.js index 295b6230ebf..640ff6db4e3 100644 --- a/apps/api-extractor-model/.eslintrc.js +++ b/apps/api-extractor-model/.eslintrc.js @@ -2,7 +2,7 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node'], + extends: ['@rushstack/eslint-config/profile/node', '@rushstack/eslint-config/mixins/friendly-locals'], parserOptions: { tsconfigRootDir: __dirname }, rules: { diff --git a/apps/api-extractor/.eslintrc.js b/apps/api-extractor/.eslintrc.js index 0eb82aeb14e..4c934799d67 100644 --- a/apps/api-extractor/.eslintrc.js +++ b/apps/api-extractor/.eslintrc.js @@ -2,6 +2,9 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/apps/heft/.eslintrc.js b/apps/heft/.eslintrc.js index 0eb82aeb14e..4c934799d67 100644 --- a/apps/heft/.eslintrc.js +++ b/apps/heft/.eslintrc.js @@ -2,6 +2,9 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/apps/rush-lib/.eslintrc.js b/apps/rush-lib/.eslintrc.js index 0eb82aeb14e..4c934799d67 100644 --- a/apps/rush-lib/.eslintrc.js +++ b/apps/rush-lib/.eslintrc.js @@ -2,6 +2,9 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/apps/rush/.eslintrc.js b/apps/rush/.eslintrc.js index 0eb82aeb14e..4c934799d67 100644 --- a/apps/rush/.eslintrc.js +++ b/apps/rush/.eslintrc.js @@ -2,6 +2,9 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/build-tests/heft-action-plugin/.eslintrc.js b/build-tests/heft-action-plugin/.eslintrc.js index 0eb82aeb14e..4c934799d67 100644 --- a/build-tests/heft-action-plugin/.eslintrc.js +++ b/build-tests/heft-action-plugin/.eslintrc.js @@ -2,6 +2,9 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/build-tests/heft-example-plugin-01/.eslintrc.js b/build-tests/heft-example-plugin-01/.eslintrc.js index 0eb82aeb14e..4c934799d67 100644 --- a/build-tests/heft-example-plugin-01/.eslintrc.js +++ b/build-tests/heft-example-plugin-01/.eslintrc.js @@ -2,6 +2,9 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/build-tests/heft-example-plugin-02/.eslintrc.js b/build-tests/heft-example-plugin-02/.eslintrc.js index 0eb82aeb14e..4c934799d67 100644 --- a/build-tests/heft-example-plugin-02/.eslintrc.js +++ b/build-tests/heft-example-plugin-02/.eslintrc.js @@ -2,6 +2,9 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/build-tests/node-library-build-eslint-test/.eslintrc.js b/build-tests/node-library-build-eslint-test/.eslintrc.js index 60160b354c4..3b54e03e6d7 100644 --- a/build-tests/node-library-build-eslint-test/.eslintrc.js +++ b/build-tests/node-library-build-eslint-test/.eslintrc.js @@ -2,6 +2,6 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node'], + extends: ['@rushstack/eslint-config/profile/node', '@rushstack/eslint-config/mixins/friendly-locals'], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/core-build/gulp-core-build-mocha/.eslintrc.js b/core-build/gulp-core-build-mocha/.eslintrc.js index 0eb82aeb14e..4c934799d67 100644 --- a/core-build/gulp-core-build-mocha/.eslintrc.js +++ b/core-build/gulp-core-build-mocha/.eslintrc.js @@ -2,6 +2,9 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/core-build/gulp-core-build-sass/.eslintrc.js b/core-build/gulp-core-build-sass/.eslintrc.js index 0eb82aeb14e..4c934799d67 100644 --- a/core-build/gulp-core-build-sass/.eslintrc.js +++ b/core-build/gulp-core-build-sass/.eslintrc.js @@ -2,6 +2,9 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/core-build/gulp-core-build-serve/.eslintrc.js b/core-build/gulp-core-build-serve/.eslintrc.js index 0eb82aeb14e..4c934799d67 100644 --- a/core-build/gulp-core-build-serve/.eslintrc.js +++ b/core-build/gulp-core-build-serve/.eslintrc.js @@ -2,6 +2,9 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/core-build/gulp-core-build-typescript/.eslintrc.js b/core-build/gulp-core-build-typescript/.eslintrc.js index 0eb82aeb14e..4c934799d67 100644 --- a/core-build/gulp-core-build-typescript/.eslintrc.js +++ b/core-build/gulp-core-build-typescript/.eslintrc.js @@ -2,6 +2,9 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/core-build/gulp-core-build-webpack/.eslintrc.js b/core-build/gulp-core-build-webpack/.eslintrc.js index 0eb82aeb14e..4c934799d67 100644 --- a/core-build/gulp-core-build-webpack/.eslintrc.js +++ b/core-build/gulp-core-build-webpack/.eslintrc.js @@ -2,6 +2,9 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/core-build/gulp-core-build/.eslintrc.js b/core-build/gulp-core-build/.eslintrc.js index a1a43375f04..15d8826abef 100644 --- a/core-build/gulp-core-build/.eslintrc.js +++ b/core-build/gulp-core-build/.eslintrc.js @@ -2,7 +2,10 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals' + ], parserOptions: { tsconfigRootDir: __dirname }, rules: { // This predates the new ESLint ruleset; not worth fixing diff --git a/core-build/node-library-build/.eslintrc.js b/core-build/node-library-build/.eslintrc.js index 0eb82aeb14e..4c934799d67 100644 --- a/core-build/node-library-build/.eslintrc.js +++ b/core-build/node-library-build/.eslintrc.js @@ -2,6 +2,9 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/core-build/web-library-build/.eslintrc.js b/core-build/web-library-build/.eslintrc.js index 0eb82aeb14e..4c934799d67 100644 --- a/core-build/web-library-build/.eslintrc.js +++ b/core-build/web-library-build/.eslintrc.js @@ -2,6 +2,9 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/heft-plugins/pre-compile-hardlink-or-copy-plugin/.eslintrc.js b/heft-plugins/pre-compile-hardlink-or-copy-plugin/.eslintrc.js index 270833b4e34..590f1884d87 100644 --- a/heft-plugins/pre-compile-hardlink-or-copy-plugin/.eslintrc.js +++ b/heft-plugins/pre-compile-hardlink-or-copy-plugin/.eslintrc.js @@ -2,6 +2,10 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool', '@rushstack/eslint-config/mixins/tsdoc'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals', + '@rushstack/eslint-config/mixins/tsdoc' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/libraries/debug-certificate-manager/.eslintrc.js b/libraries/debug-certificate-manager/.eslintrc.js index 0eb82aeb14e..4c934799d67 100644 --- a/libraries/debug-certificate-manager/.eslintrc.js +++ b/libraries/debug-certificate-manager/.eslintrc.js @@ -2,6 +2,9 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/libraries/heft-config-file/.eslintrc.js b/libraries/heft-config-file/.eslintrc.js index 0eb82aeb14e..4c934799d67 100644 --- a/libraries/heft-config-file/.eslintrc.js +++ b/libraries/heft-config-file/.eslintrc.js @@ -2,6 +2,9 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/libraries/load-themed-styles/.eslintrc.js b/libraries/load-themed-styles/.eslintrc.js index 999926cceed..f612b415715 100644 --- a/libraries/load-themed-styles/.eslintrc.js +++ b/libraries/load-themed-styles/.eslintrc.js @@ -2,6 +2,6 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/web-app'], + extends: ['@rushstack/eslint-config/profile/web-app', '@rushstack/eslint-config/mixins/friendly-locals'], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/libraries/node-core-library/.eslintrc.js b/libraries/node-core-library/.eslintrc.js index 86bf35fb3d7..f7ee2a5d364 100644 --- a/libraries/node-core-library/.eslintrc.js +++ b/libraries/node-core-library/.eslintrc.js @@ -2,6 +2,10 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node', '@rushstack/eslint-config/mixins/tsdoc'], + extends: [ + '@rushstack/eslint-config/profile/node', + '@rushstack/eslint-config/mixins/friendly-locals', + '@rushstack/eslint-config/mixins/tsdoc' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/libraries/package-deps-hash/.eslintrc.js b/libraries/package-deps-hash/.eslintrc.js index 0eb82aeb14e..4c934799d67 100644 --- a/libraries/package-deps-hash/.eslintrc.js +++ b/libraries/package-deps-hash/.eslintrc.js @@ -2,6 +2,9 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/libraries/rushell/.eslintrc.js b/libraries/rushell/.eslintrc.js index 0eb82aeb14e..4c934799d67 100644 --- a/libraries/rushell/.eslintrc.js +++ b/libraries/rushell/.eslintrc.js @@ -2,6 +2,9 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/libraries/stream-collator/.eslintrc.js b/libraries/stream-collator/.eslintrc.js index 60160b354c4..3b54e03e6d7 100644 --- a/libraries/stream-collator/.eslintrc.js +++ b/libraries/stream-collator/.eslintrc.js @@ -2,6 +2,6 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node'], + extends: ['@rushstack/eslint-config/profile/node', '@rushstack/eslint-config/mixins/friendly-locals'], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/libraries/terminal/.eslintrc.js b/libraries/terminal/.eslintrc.js index 86bf35fb3d7..f7ee2a5d364 100644 --- a/libraries/terminal/.eslintrc.js +++ b/libraries/terminal/.eslintrc.js @@ -2,6 +2,10 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node', '@rushstack/eslint-config/mixins/tsdoc'], + extends: [ + '@rushstack/eslint-config/profile/node', + '@rushstack/eslint-config/mixins/friendly-locals', + '@rushstack/eslint-config/mixins/tsdoc' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/libraries/ts-command-line/.eslintrc.js b/libraries/ts-command-line/.eslintrc.js index 0eb82aeb14e..4c934799d67 100644 --- a/libraries/ts-command-line/.eslintrc.js +++ b/libraries/ts-command-line/.eslintrc.js @@ -2,6 +2,9 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/libraries/typings-generator/.eslintrc.js b/libraries/typings-generator/.eslintrc.js index 0eb82aeb14e..4c934799d67 100644 --- a/libraries/typings-generator/.eslintrc.js +++ b/libraries/typings-generator/.eslintrc.js @@ -2,6 +2,9 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/repo-scripts/doc-plugin-rush-stack/.eslintrc.js b/repo-scripts/doc-plugin-rush-stack/.eslintrc.js index 0eb82aeb14e..4c934799d67 100644 --- a/repo-scripts/doc-plugin-rush-stack/.eslintrc.js +++ b/repo-scripts/doc-plugin-rush-stack/.eslintrc.js @@ -2,6 +2,9 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/repo-scripts/repo-toolbox/.eslintrc.js b/repo-scripts/repo-toolbox/.eslintrc.js index 0eb82aeb14e..4c934799d67 100644 --- a/repo-scripts/repo-toolbox/.eslintrc.js +++ b/repo-scripts/repo-toolbox/.eslintrc.js @@ -2,6 +2,9 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/stack/rush-stack-compiler-2.4/.eslintrc.js b/stack/rush-stack-compiler-2.4/.eslintrc.js index 0eb82aeb14e..4c934799d67 100644 --- a/stack/rush-stack-compiler-2.4/.eslintrc.js +++ b/stack/rush-stack-compiler-2.4/.eslintrc.js @@ -2,6 +2,9 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/stack/rush-stack-compiler-2.7/.eslintrc.js b/stack/rush-stack-compiler-2.7/.eslintrc.js index 0eb82aeb14e..4c934799d67 100644 --- a/stack/rush-stack-compiler-2.7/.eslintrc.js +++ b/stack/rush-stack-compiler-2.7/.eslintrc.js @@ -2,6 +2,9 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/stack/rush-stack-compiler-2.8/.eslintrc.js b/stack/rush-stack-compiler-2.8/.eslintrc.js index 0eb82aeb14e..4c934799d67 100644 --- a/stack/rush-stack-compiler-2.8/.eslintrc.js +++ b/stack/rush-stack-compiler-2.8/.eslintrc.js @@ -2,6 +2,9 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/stack/rush-stack-compiler-2.9/.eslintrc.js b/stack/rush-stack-compiler-2.9/.eslintrc.js index 0eb82aeb14e..4c934799d67 100644 --- a/stack/rush-stack-compiler-2.9/.eslintrc.js +++ b/stack/rush-stack-compiler-2.9/.eslintrc.js @@ -2,6 +2,9 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/stack/rush-stack-compiler-3.0/.eslintrc.js b/stack/rush-stack-compiler-3.0/.eslintrc.js index 0eb82aeb14e..4c934799d67 100644 --- a/stack/rush-stack-compiler-3.0/.eslintrc.js +++ b/stack/rush-stack-compiler-3.0/.eslintrc.js @@ -2,6 +2,9 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/stack/rush-stack-compiler-3.1/.eslintrc.js b/stack/rush-stack-compiler-3.1/.eslintrc.js index 0eb82aeb14e..4c934799d67 100644 --- a/stack/rush-stack-compiler-3.1/.eslintrc.js +++ b/stack/rush-stack-compiler-3.1/.eslintrc.js @@ -2,6 +2,9 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/stack/rush-stack-compiler-3.2/.eslintrc.js b/stack/rush-stack-compiler-3.2/.eslintrc.js index 0eb82aeb14e..4c934799d67 100644 --- a/stack/rush-stack-compiler-3.2/.eslintrc.js +++ b/stack/rush-stack-compiler-3.2/.eslintrc.js @@ -2,6 +2,9 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/stack/rush-stack-compiler-3.3/.eslintrc.js b/stack/rush-stack-compiler-3.3/.eslintrc.js index 0eb82aeb14e..4c934799d67 100644 --- a/stack/rush-stack-compiler-3.3/.eslintrc.js +++ b/stack/rush-stack-compiler-3.3/.eslintrc.js @@ -2,6 +2,9 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/stack/rush-stack-compiler-3.4/.eslintrc.js b/stack/rush-stack-compiler-3.4/.eslintrc.js index 0eb82aeb14e..4c934799d67 100644 --- a/stack/rush-stack-compiler-3.4/.eslintrc.js +++ b/stack/rush-stack-compiler-3.4/.eslintrc.js @@ -2,6 +2,9 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/stack/rush-stack-compiler-3.5/.eslintrc.js b/stack/rush-stack-compiler-3.5/.eslintrc.js index 0eb82aeb14e..4c934799d67 100644 --- a/stack/rush-stack-compiler-3.5/.eslintrc.js +++ b/stack/rush-stack-compiler-3.5/.eslintrc.js @@ -2,6 +2,9 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/stack/rush-stack-compiler-3.6/.eslintrc.js b/stack/rush-stack-compiler-3.6/.eslintrc.js index 0eb82aeb14e..4c934799d67 100644 --- a/stack/rush-stack-compiler-3.6/.eslintrc.js +++ b/stack/rush-stack-compiler-3.6/.eslintrc.js @@ -2,6 +2,9 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/stack/rush-stack-compiler-3.7/.eslintrc.js b/stack/rush-stack-compiler-3.7/.eslintrc.js index 0eb82aeb14e..4c934799d67 100644 --- a/stack/rush-stack-compiler-3.7/.eslintrc.js +++ b/stack/rush-stack-compiler-3.7/.eslintrc.js @@ -2,6 +2,9 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/stack/rush-stack-compiler-3.8/.eslintrc.js b/stack/rush-stack-compiler-3.8/.eslintrc.js index 0eb82aeb14e..4c934799d67 100644 --- a/stack/rush-stack-compiler-3.8/.eslintrc.js +++ b/stack/rush-stack-compiler-3.8/.eslintrc.js @@ -2,6 +2,9 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/stack/rush-stack-compiler-3.9/.eslintrc.js b/stack/rush-stack-compiler-3.9/.eslintrc.js index 0eb82aeb14e..4c934799d67 100644 --- a/stack/rush-stack-compiler-3.9/.eslintrc.js +++ b/stack/rush-stack-compiler-3.9/.eslintrc.js @@ -2,6 +2,9 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/webpack/loader-load-themed-styles/.eslintrc.js b/webpack/loader-load-themed-styles/.eslintrc.js index 0eb82aeb14e..4c934799d67 100644 --- a/webpack/loader-load-themed-styles/.eslintrc.js +++ b/webpack/loader-load-themed-styles/.eslintrc.js @@ -2,6 +2,9 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/webpack/loader-raw-script/.eslintrc.js b/webpack/loader-raw-script/.eslintrc.js index 0eb82aeb14e..4c934799d67 100644 --- a/webpack/loader-raw-script/.eslintrc.js +++ b/webpack/loader-raw-script/.eslintrc.js @@ -2,6 +2,9 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/webpack/localization-plugin/.eslintrc.js b/webpack/localization-plugin/.eslintrc.js index 0eb82aeb14e..4c934799d67 100644 --- a/webpack/localization-plugin/.eslintrc.js +++ b/webpack/localization-plugin/.eslintrc.js @@ -2,6 +2,9 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/webpack/module-minifier-plugin/.eslintrc.js b/webpack/module-minifier-plugin/.eslintrc.js index 0eb82aeb14e..4c934799d67 100644 --- a/webpack/module-minifier-plugin/.eslintrc.js +++ b/webpack/module-minifier-plugin/.eslintrc.js @@ -2,6 +2,9 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals' + ], parserOptions: { tsconfigRootDir: __dirname } }; diff --git a/webpack/set-webpack-public-path-plugin/.eslintrc.js b/webpack/set-webpack-public-path-plugin/.eslintrc.js index 0eb82aeb14e..4c934799d67 100644 --- a/webpack/set-webpack-public-path-plugin/.eslintrc.js +++ b/webpack/set-webpack-public-path-plugin/.eslintrc.js @@ -2,6 +2,9 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { - extends: ['@rushstack/eslint-config/profile/node-trusted-tool'], + extends: [ + '@rushstack/eslint-config/profile/node-trusted-tool', + '@rushstack/eslint-config/mixins/friendly-locals' + ], parserOptions: { tsconfigRootDir: __dirname } };