Skip to content

Commit ae63c55

Browse files
authored
Merge pull request #2 from xaos7991/replacing-variables
Replacing variables
2 parents 0b9c67d + e1080b5 commit ae63c55

File tree

16 files changed

+19
-16
lines changed

16 files changed

+19
-16
lines changed

.prettierignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
**/.vs
66
CONTRIBUTORS.md
77

8+
pnpm-lock.yaml
9+
pnpm-workspace.yaml
10+
811
packages/eslint-plugin/tests/fixtures/indent/
912

1013
# ignore all error fixtures cos they often have intentional syntax errors

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"check-format": "prettier --check .",
2828
"check-spelling": "cspell --config=.cspell.json \"**/*.{md,mdx,ts,mts,cts,js,cjs,mjs,tsx,jsx}\" --no-progress --show-context --show-suggestions",
2929
"clean": "nx run-many --target=clean --parallel=20",
30-
"format": "prettier --ignore-path=$PROJECT_CWD/.prettierignore --config=$PROJECT_CWD/.prettierrc.json --write $INIT_CWD",
30+
"format": "prettier --ignore-path .prettierignore --config .prettierrc.json --write .",
3131
"generate-breaking-changes": "nx run eslint-plugin:generate-breaking-changes",
3232
"generate-configs": "nx generate-configs",
3333
"generate-contributors": "nx generate-contributors",

packages/ast-spec/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"clean-fixtures": "rimraf -g \"./src/**/fixtures/**/snapshots\"",
3737
"format": "yarn run -T format",
3838
"lint": "yarn run -BT nx lint",
39-
"test": "vitest --run --config=$INIT_CWD/vitest.config.mts",
39+
"test": "vitest --run --config=./vitest.config.mts",
4040
"check-types": "yarn run -BT nx typecheck"
4141
},
4242
"funding": {

packages/eslint-plugin-internal/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"clean": "rimraf dist/ coverage/",
1919
"format": "yarn run -T format",
2020
"lint": "yarn run -BT nx lint",
21-
"test": "vitest --run --config=$INIT_CWD/vitest.config.mts",
21+
"test": "vitest --run --config=./vitest.config.mts",
2222
"check-types": "yarn run -BT nx typecheck"
2323
},
2424
"dependencies": {

packages/eslint-plugin/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@
5555
"generate-breaking-changes": "tsx tools/generate-breaking-changes.mts",
5656
"generate-configs": "yarn run -T generate-configs",
5757
"lint": "yarn run -BT nx lint",
58-
"test": "vitest --run --config=$INIT_CWD/vitest.config.mts",
59-
"test-single": "vitest --run --config=$INIT_CWD/vitest.config.mts --no-coverage",
58+
"test": "vitest --run --config=./vitest.config.mts",
59+
"test-single": "vitest --run --config=./vitest.config.mts --no-coverage",
6060
"check-types": "yarn run -BT nx typecheck"
6161
},
6262
"dependencies": {

packages/integration-tests/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"scripts": {
1515
"format": "yarn run -T format",
1616
"lint": "yarn run -BT nx lint",
17-
"test": "vitest --run --config=$INIT_CWD/vitest.config.mts",
17+
"test": "vitest --run --config=./vitest.config.mts",
1818
"check-types": "yarn run -BT nx typecheck"
1919
},
2020
"devDependencies": {

packages/parser/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"clean": "rimraf dist/ coverage/",
4444
"format": "yarn run -T format",
4545
"lint": "yarn run -BT nx lint",
46-
"test": "vitest --run --config=$INIT_CWD/vitest.config.mts",
46+
"test": "vitest --run --config=./vitest.config.mts",
4747
"check-types": "yarn run -BT nx typecheck"
4848
},
4949
"peerDependencies": {

packages/rule-schema-to-typescript-types/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"clean": "rimraf dist/ coverage/",
2929
"format": "yarn run -T format",
3030
"lint": "yarn run -BT nx lint",
31-
"test": "vitest --run --config=$INIT_CWD/vitest.config.mts",
31+
"test": "vitest --run --config=./vitest.config.mts",
3232
"check-types": "yarn run -BT nx typecheck"
3333
},
3434
"dependencies": {

packages/rule-tester/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"lint": "yarn run -BT nx lint",
4242
"pretest-eslint-base": "tsc -b tsconfig.build.json",
4343
"test-eslint-base": "mocha --require source-map-support/register ./tests/eslint-base/eslint-base.test.js",
44-
"test": "vitest --run --config=$INIT_CWD/vitest.config.mts",
44+
"test": "vitest --run --config=./vitest.config.mts",
4545
"check-types": "yarn run -BT nx typecheck"
4646
},
4747
"//": "NOTE - AJV is out-of-date, but it's intentionally synced with ESLint - https://github.com/eslint/eslint/blob/ad9dd6a933fd098a0d99c6a9aa059850535c23ee/package.json#L70",

packages/scope-manager/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"format": "yarn run -T format",
4444
"generate-lib": "yarn run -BT nx generate-lib repo",
4545
"lint": "yarn run -BT nx lint",
46-
"test": "vitest --run --config=$INIT_CWD/vitest.config.mts",
46+
"test": "vitest --run --config=./vitest.config.mts",
4747
"check-types": "yarn run -BT nx typecheck"
4848
},
4949
"dependencies": {

packages/type-utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"clean": "rimraf dist/ coverage/",
4141
"format": "yarn run -T format",
4242
"lint": "yarn run -BT nx lint",
43-
"test": "vitest --run --config=$INIT_CWD/vitest.config.mts",
43+
"test": "vitest --run --config=./vitest.config.mts",
4444
"check-types": "yarn run -BT nx typecheck"
4545
},
4646
"dependencies": {

packages/types/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"format": "yarn run -T format",
4444
"generate-lib": "yarn run -BT nx run scope-manager:generate-lib",
4545
"lint": "yarn run -BT nx lint",
46-
"test": "vitest --run --config=$INIT_CWD/vitest.config.mts",
46+
"test": "vitest --run --config=./vitest.config.mts",
4747
"check-types": "yarn run -BT nx typecheck"
4848
},
4949
"devDependencies": {

packages/typescript-eslint/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"clean": "rimraf dist/ coverage/",
4747
"format": "yarn run -T format",
4848
"lint": "yarn run -BT nx lint",
49-
"test": "vitest --run --config=$INIT_CWD/vitest.config.mts",
49+
"test": "vitest --run --config=./vitest.config.mts",
5050
"check-types": "yarn run -BT nx typecheck"
5151
},
5252
"dependencies": {

packages/typescript-estree/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"clean": "rimraf dist/ coverage/",
4949
"format": "yarn run -T format",
5050
"lint": "yarn run -BT nx lint",
51-
"test": "vitest --run --config=$INIT_CWD/vitest.config.mts",
51+
"test": "vitest --run --config=./vitest.config.mts",
5252
"check-types": "yarn run -BT nx typecheck"
5353
},
5454
"dependencies": {

packages/utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"clean": "rimraf dist/ coverage/",
5858
"format": "yarn run -T format",
5959
"lint": "yarn run -BT nx lint",
60-
"test": "vitest --run --config=$INIT_CWD/vitest.config.mts",
60+
"test": "vitest --run --config=./vitest.config.mts",
6161
"check-types": "yarn run -BT nx typecheck"
6262
},
6363
"dependencies": {

packages/visitor-keys/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"clean": "rimraf dist/ coverage/",
4242
"format": "yarn run -T format",
4343
"lint": "yarn run -BT nx lint",
44-
"test": "vitest --run --config=$INIT_CWD/vitest.config.mts",
44+
"test": "vitest --run --config=./vitest.config.mts",
4545
"check-types": "yarn run -BT nx typecheck"
4646
},
4747
"dependencies": {

0 commit comments

Comments
 (0)