|
208 | 208 | "clean:modules": "rimraf node_modules", |
209 | 209 | "doc:attrib": "node scripts/attributions.cjs", |
210 | 210 | "doc:tree": "node scripts/addtree.cjs", |
211 | | - "lint": "eslint --fix --ext .js,.cjs,.yaml .", |
| 211 | + "lint": "eslint", |
| 212 | + "lint:fix": "eslint --fix", |
212 | 213 | "prepublishOnly": "npm run all", |
213 | 214 | "fixtures": "mocha test/all.mocha.js --writetests --countries", |
214 | 215 | "test": "npm-run-all test:*", |
|
273 | 274 | "@babel/preset-env": "^7.29.5", |
274 | 275 | "@commitlint/cli": "^18.6.1", |
275 | 276 | "@commitlint/config-conventional": "^18.6.3", |
| 277 | + "@eslint/js": "^10.0.1", |
276 | 278 | "@mocha/contributors": "git+https://github.com/commenthol/contributors.git#semver:1.1.0-0", |
277 | 279 | "babel-loader": "^9.2.1", |
278 | | - "eslint": "^8.57.1", |
279 | | - "eslint-config-standard": "^17.1.0", |
280 | | - "eslint-plugin-import": "^2.32.0", |
281 | | - "eslint-plugin-n": "^16.6.2", |
282 | | - "eslint-plugin-promise": "^6.6.0", |
283 | | - "eslint-plugin-yml": "^0.15.0", |
| 280 | + "eslint": "^10.3.0", |
| 281 | + "eslint-plugin-import-x": "^4.16.2", |
| 282 | + "eslint-plugin-n": "^18.0.1", |
| 283 | + "eslint-plugin-promise": "^7.3.0", |
| 284 | + "eslint-plugin-yml": "^3.3.2", |
| 285 | + "globals": "^17.6.0", |
284 | 286 | "husky": "^9.1.7", |
285 | 287 | "mocha": "^11.7.5", |
286 | 288 | "npm-run-all": "^4.1.5", |
|
296 | 298 | "node": ">=12.0.0" |
297 | 299 | }, |
298 | 300 | "c4uIgnore": { |
299 | | - "eslint-plugin-yml": "^0.15.0 // newer versions do too much checking", |
300 | 301 | "rollup": "^2.79.1 // v3 changed exports; needs refactoring first." |
301 | 302 | }, |
302 | 303 | "packageManager": "pnpm@9.15.4+sha512.b2dc20e2fc72b3e18848459b37359a32064663e5627a51e4c74b2c29dd8e8e0491483c3abb40789cfd578bf362fb6ba8261b05f0387d76792ed6e23ea3b1b6a0" |
|
0 commit comments