Skip to content

Commit 8c80d8a

Browse files
committed
Update scripts for new linting system
1 parent 2c3e574 commit 8c80d8a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
node-version: [14.x]
19+
node-version: [22.x]
2020

2121
steps:
2222
- uses: actions/checkout@v2

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
"url": "https://github.com/Zarel/Pokemon-Showdown-Client.git"
1010
},
1111
"scripts": {
12-
"lint": "eslint --config=.eslintrc.js --cache --cache-file=caches/eslint-base.json play.pokemonshowdown.com/js/ && eslint --config=build-tools/.eslintrc.js --cache --cache-file=caches/eslint-build.json build-tools/update build-tools/build-indexes && tslint --project .",
13-
"test": "npm run lint && tsc && node build && mocha test/*.js",
14-
"fix": "eslint --config=.eslintrc.js --fix js/ && eslint --config=build-tools/.eslintrc.js --fix build-tools/update build-tools/build-indexes",
12+
"lint": "eslint",
13+
"test": "node build && tsc && npm run lint && mocha test/*.js",
14+
"fix": "eslint --fix",
1515
"build": "node build",
1616
"build-full": "node build full"
1717
},

0 commit comments

Comments
 (0)