|
10 | 10 | "scripts": { |
11 | 11 | "build": "tsc", |
12 | 12 | "format": "prettier . --write", |
13 | | - "lint:eslint": "eslint src --ext .ts", |
| 13 | + "lint:eslint": "eslint src", |
14 | 14 | "lint:prettier": "prettier . --check", |
15 | 15 | "lint": "npm run lint:eslint && npm run lint:prettier", |
16 | 16 | "pkg-ok": "pkg-ok", |
|
37 | 37 | }, |
38 | 38 | "homepage": "https://github.com/abraham/remotedata#readme", |
39 | 39 | "devDependencies": { |
| 40 | + "@eslint/eslintrc": "^3.0.0", |
| 41 | + "@eslint/js": "^9.0.0", |
40 | 42 | "@types/jest": "^30.0.0", |
41 | 43 | "@typescript-eslint/eslint-plugin": "^8.0.0", |
42 | 44 | "@typescript-eslint/parser": "^8.0.0", |
43 | | - "eslint": "^8.0.0", |
44 | | - "eslint-plugin-deprecation": "^3.0.0", |
| 45 | + "eslint": "^9.0.0", |
45 | 46 | "eslint-plugin-import": "^2.0.0", |
46 | 47 | "eslint-plugin-jest": "^29.0.1", |
47 | 48 | "jest": "^30.0.3", |
|
78 | 79 | "node" |
79 | 80 | ] |
80 | 81 | }, |
81 | | - "eslintConfig": { |
82 | | - "root": true, |
83 | | - "parser": "@typescript-eslint/parser", |
84 | | - "parserOptions": { |
85 | | - "ecmaVersion": "latest", |
86 | | - "sourceType": "module", |
87 | | - "project": "./tsconfig.lint.json" |
88 | | - }, |
89 | | - "plugins": [ |
90 | | - "@typescript-eslint", |
91 | | - "jest" |
92 | | - ], |
93 | | - "extends": [ |
94 | | - "eslint:recommended", |
95 | | - "plugin:@typescript-eslint/eslint-recommended", |
96 | | - "plugin:@typescript-eslint/recommended", |
97 | | - "plugin:jest/recommended", |
98 | | - "plugin:import/errors", |
99 | | - "plugin:import/typescript", |
100 | | - "plugin:deprecation/recommended" |
101 | | - ] |
102 | | - }, |
103 | 82 | "prettier": { |
104 | 83 | "singleQuote": true, |
105 | 84 | "trailingComma": "all" |
|
0 commit comments