Skip to content

Commit

Permalink
Update Rush Stack projects to specify their ESLint profile
Browse files Browse the repository at this point in the history
  • Loading branch information
octogonz committed Sep 19, 2020
1 parent 6f53fff commit e2bbadf
Show file tree
Hide file tree
Showing 57 changed files with 57 additions and 57 deletions.
2 changes: 1 addition & 1 deletion apps/api-documenter/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node-trusted-tool'],
parserOptions: { tsconfigRootDir: __dirname }
};
2 changes: 1 addition & 1 deletion apps/api-extractor-model/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node'],
parserOptions: { tsconfigRootDir: __dirname },

rules: {
Expand Down
2 changes: 1 addition & 1 deletion apps/api-extractor/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node-trusted-tool'],
parserOptions: { tsconfigRootDir: __dirname }
};
2 changes: 1 addition & 1 deletion apps/heft/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node-trusted-tool'],
parserOptions: { tsconfigRootDir: __dirname }
};
2 changes: 1 addition & 1 deletion apps/rush-lib/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node-trusted-tool'],
parserOptions: { tsconfigRootDir: __dirname }
};
2 changes: 1 addition & 1 deletion apps/rush/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node-trusted-tool'],
parserOptions: { tsconfigRootDir: __dirname }
};
2 changes: 1 addition & 1 deletion build-tests/heft-action-plugin/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node-trusted-tool'],
parserOptions: { tsconfigRootDir: __dirname }
};
2 changes: 1 addition & 1 deletion build-tests/heft-example-plugin-01/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node-trusted-tool'],
parserOptions: { tsconfigRootDir: __dirname }
};
2 changes: 1 addition & 1 deletion build-tests/heft-example-plugin-02/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node-trusted-tool'],
parserOptions: { tsconfigRootDir: __dirname }
};
2 changes: 1 addition & 1 deletion build-tests/heft-node-basic-test/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node'],
parserOptions: { tsconfigRootDir: __dirname }
};
2 changes: 1 addition & 1 deletion build-tests/heft-node-everything-test/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node'],
parserOptions: { tsconfigRootDir: __dirname }
};
2 changes: 1 addition & 1 deletion build-tests/heft-node-jest-test/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node'],
parserOptions: { tsconfigRootDir: __dirname }
};
2 changes: 1 addition & 1 deletion build-tests/heft-oldest-compiler-test/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node'],
parserOptions: { tsconfigRootDir: __dirname }
};
2 changes: 1 addition & 1 deletion build-tests/heft-rsc-test/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node'],
parserOptions: { tsconfigRootDir: __dirname }
};
2 changes: 1 addition & 1 deletion build-tests/heft-webpack-basic-test/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config', '@rushstack/eslint-config/react'],
extends: ['@rushstack/eslint-config/profile/web-app', '@rushstack/eslint-config/mixins/react'],
parserOptions: { tsconfigRootDir: __dirname }
};
2 changes: 1 addition & 1 deletion build-tests/heft-webpack-everything-test/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/web-app'],
parserOptions: { tsconfigRootDir: __dirname }
};
2 changes: 1 addition & 1 deletion build-tests/node-library-build-eslint-test/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node'],
parserOptions: { tsconfigRootDir: __dirname }
};
2 changes: 1 addition & 1 deletion core-build/gulp-core-build-mocha/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node-trusted-tool'],
parserOptions: { tsconfigRootDir: __dirname }
};
2 changes: 1 addition & 1 deletion core-build/gulp-core-build-sass/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node-trusted-tool'],
parserOptions: { tsconfigRootDir: __dirname }
};
2 changes: 1 addition & 1 deletion core-build/gulp-core-build-serve/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node-trusted-tool'],
parserOptions: { tsconfigRootDir: __dirname }
};
2 changes: 1 addition & 1 deletion core-build/gulp-core-build-typescript/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node-trusted-tool'],
parserOptions: { tsconfigRootDir: __dirname }
};
2 changes: 1 addition & 1 deletion core-build/gulp-core-build-webpack/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node-trusted-tool'],
parserOptions: { tsconfigRootDir: __dirname }
};
2 changes: 1 addition & 1 deletion core-build/gulp-core-build/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node-trusted-tool'],
parserOptions: { tsconfigRootDir: __dirname },
rules: {
// This predates the new ESLint ruleset; not worth fixing
Expand Down
2 changes: 1 addition & 1 deletion core-build/node-library-build/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node-trusted-tool'],
parserOptions: { tsconfigRootDir: __dirname }
};
2 changes: 1 addition & 1 deletion core-build/web-library-build/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node-trusted-tool'],
parserOptions: { tsconfigRootDir: __dirname }
};
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node-trusted-tool'],
parserOptions: { tsconfigRootDir: __dirname },

// TODO: Remove this once "tsdoc/syntax" is enabled by default
Expand Down
2 changes: 1 addition & 1 deletion libraries/debug-certificate-manager/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node-trusted-tool'],
parserOptions: { tsconfigRootDir: __dirname }
};
2 changes: 1 addition & 1 deletion libraries/heft-config-file/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node-trusted-tool'],
parserOptions: { tsconfigRootDir: __dirname }
};
2 changes: 1 addition & 1 deletion libraries/load-themed-styles/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/web-app'],
parserOptions: { tsconfigRootDir: __dirname }
};
2 changes: 1 addition & 1 deletion libraries/node-core-library/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node'],
parserOptions: { tsconfigRootDir: __dirname },

// TODO: Remove this once "tsdoc/syntax" is enabled by default
Expand Down
2 changes: 1 addition & 1 deletion libraries/package-deps-hash/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node-trusted-tool'],
parserOptions: { tsconfigRootDir: __dirname }
};
2 changes: 1 addition & 1 deletion libraries/rushell/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node-trusted-tool'],
parserOptions: { tsconfigRootDir: __dirname }
};
2 changes: 1 addition & 1 deletion libraries/stream-collator/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node'],
parserOptions: { tsconfigRootDir: __dirname }
};
2 changes: 1 addition & 1 deletion libraries/terminal/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node'],
parserOptions: { tsconfigRootDir: __dirname },

// TODO: Remove this once "tsdoc/syntax" is enabled by default
Expand Down
2 changes: 1 addition & 1 deletion libraries/ts-command-line/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node-trusted-tool'],
parserOptions: { tsconfigRootDir: __dirname }
};
2 changes: 1 addition & 1 deletion libraries/typings-generator/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node-trusted-tool'],
parserOptions: { tsconfigRootDir: __dirname }
};
2 changes: 1 addition & 1 deletion repo-scripts/doc-plugin-rush-stack/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node-trusted-tool'],
parserOptions: { tsconfigRootDir: __dirname }
};
2 changes: 1 addition & 1 deletion repo-scripts/repo-toolbox/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node-trusted-tool'],
parserOptions: { tsconfigRootDir: __dirname }
};
2 changes: 1 addition & 1 deletion stack/rush-stack-compiler-2.4/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node-trusted-tool'],
parserOptions: { tsconfigRootDir: __dirname }
};
2 changes: 1 addition & 1 deletion stack/rush-stack-compiler-2.7/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node-trusted-tool'],
parserOptions: { tsconfigRootDir: __dirname }
};
2 changes: 1 addition & 1 deletion stack/rush-stack-compiler-2.8/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node-trusted-tool'],
parserOptions: { tsconfigRootDir: __dirname }
};
2 changes: 1 addition & 1 deletion stack/rush-stack-compiler-2.9/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node-trusted-tool'],
parserOptions: { tsconfigRootDir: __dirname }
};
2 changes: 1 addition & 1 deletion stack/rush-stack-compiler-3.0/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node-trusted-tool'],
parserOptions: { tsconfigRootDir: __dirname }
};
2 changes: 1 addition & 1 deletion stack/rush-stack-compiler-3.1/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node-trusted-tool'],
parserOptions: { tsconfigRootDir: __dirname }
};
2 changes: 1 addition & 1 deletion stack/rush-stack-compiler-3.2/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node-trusted-tool'],
parserOptions: { tsconfigRootDir: __dirname }
};
2 changes: 1 addition & 1 deletion stack/rush-stack-compiler-3.3/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node-trusted-tool'],
parserOptions: { tsconfigRootDir: __dirname }
};
2 changes: 1 addition & 1 deletion stack/rush-stack-compiler-3.4/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node-trusted-tool'],
parserOptions: { tsconfigRootDir: __dirname }
};
2 changes: 1 addition & 1 deletion stack/rush-stack-compiler-3.5/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node-trusted-tool'],
parserOptions: { tsconfigRootDir: __dirname }
};
2 changes: 1 addition & 1 deletion stack/rush-stack-compiler-3.6/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
require('@rushstack/eslint-config/patch/modern-module-resolution');

module.exports = {
extends: ['@rushstack/eslint-config'],
extends: ['@rushstack/eslint-config/profile/node-trusted-tool'],
parserOptions: { tsconfigRootDir: __dirname }
};
Loading

0 comments on commit e2bbadf

Please sign in to comment.