|
15 | 15 | "license": "MIT", |
16 | 16 | "private": false, |
17 | 17 | "scripts": { |
18 | | - "lint": "eslint --ext .jsx,.js,.ts,.tsx .", |
19 | | - "fixcode": "eslint --ext .jsx,.js,.ts,.tsx . --fix", |
| 18 | + "lint": "eslint --max-warnings 0 .", |
| 19 | + "fixcode": "eslint . --fix", |
20 | 20 | "git-hook": "yarn -s lint", |
21 | 21 | "compile": "tsc", |
22 | 22 | "prepare": "husky install && yarn compile", |
23 | | - "sanity": "yarn lint && yarn test && tsc --noEmit && yarn outdated && echo 'success'", |
| 23 | + "sanity": "yarn lint && yarn test --coverage && tsc --noEmit && yarn outdated && echo 'success'", |
24 | 24 | "semantic-release": "semantic-release", |
25 | | - "test": "jest" |
| 25 | + "test": "node --experimental-vm-modules node_modules/jest/bin/jest.js" |
26 | 26 | }, |
27 | 27 | "engines": { |
28 | 28 | "node": ">=18.0.0" |
29 | 29 | }, |
30 | 30 | "dependencies": { |
31 | | - "eslint-config-txo-typescript": "^3.4.0" |
32 | | - }, |
33 | | - "peerDependencies": { |
| 31 | + "eslint-config-txo-typescript": "^4.0.2", |
34 | 32 | "eslint-plugin-jsx-a11y": "^6.8.0", |
35 | 33 | "eslint-plugin-react": "^7.33.2", |
36 | 34 | "eslint-plugin-react-hooks": "^4.6.0" |
37 | 35 | }, |
38 | 36 | "devDependencies": { |
39 | 37 | "@txo/commitlint": "^1.0.5", |
40 | 38 | "@txo/semantic-release": "^1.0.2", |
| 39 | + "@txo/tsconfig": "^1.1.0", |
41 | 40 | "@types/eslint": "^8.44.7", |
42 | 41 | "@types/jest": "^29.5.8", |
43 | 42 | "@types/react": "^18.2.37", |
44 | | - "@typescript-eslint/eslint-plugin": "^6.10.0", |
45 | | - "@typescript-eslint/parser": "^6.10.0", |
46 | | - "eslint": "^8.53.0", |
47 | | - "eslint-plugin-eslint-comments": "^3.2.0", |
48 | | - "eslint-plugin-import": "^2.29.0", |
49 | | - "eslint-plugin-jest": "^27.6.0", |
50 | | - "eslint-plugin-jsx-a11y": "^6.8.0", |
51 | | - "eslint-plugin-n": "^16.3.0", |
52 | | - "eslint-plugin-promise": "^6.1.1", |
53 | | - "eslint-plugin-react": "^7.33.2", |
54 | | - "eslint-plugin-react-hooks": "^4.6.0", |
55 | 43 | "husky": "^8.0.3", |
56 | 44 | "jest": "^29.7.0", |
57 | 45 | "lint-staged": "^15.0.2", |
|
0 commit comments