|
7 | 7 | "scripts": {
|
8 | 8 | "dev": "webextension-toolbox dev",
|
9 | 9 | "build": "webextension-toolbox build",
|
10 |
| - "lint": "eslint ./app --max-warnings 0 --cache --fix && tsc --noEmit", |
11 |
| - "supported-browsers": "npx browserslist", |
| 10 | + "build-all": "npm run build chrome && npm run build firefox && npm run build edge", |
| 11 | + "lint": "npm run lint-biome && npm run lint-secretlint", |
| 12 | + "lint-biome": "biome check --write", |
| 13 | + "lint-secretlint": "secretlint \"**/*\" --secretlintignore .gitignore", |
12 | 14 | "archive": "git archive HEAD -o storage/source.zip"
|
13 | 15 | },
|
14 | 16 | "repository": {
|
|
35 | 37 | "@babel/plugin-proposal-class-properties": "^7.18.6",
|
36 | 38 | "@babel/preset-env": "^7.27.1",
|
37 | 39 | "@babel/preset-typescript": "^7.27.1",
|
38 |
| - "@eslint/js": "^9.26.0", |
| 40 | + "@biomejs/biome": "1.8.3", |
| 41 | + "secretlint": "^9.3.2", |
| 42 | + "@secretlint/secretlint-rule-preset-recommend": "^9.3.2", |
39 | 43 | "@types/babel__core": "^7.20.5",
|
40 | 44 | "@types/babel__preset-env": "^7.10.0",
|
41 | 45 | "@types/chrome": "^0.0.319",
|
42 | 46 | "@types/core-js": "2.5.8",
|
43 |
| - "@types/eslint": "^9.6.1", |
44 |
| - "@types/eslint-config-prettier": "^6.11.3", |
45 |
| - "@types/eslint-plugin-prettier": "^3.1.3", |
46 |
| - "@types/eslint__js": "~8.42.3", |
47 | 47 | "@types/jquery": "^3.5.32",
|
48 |
| - "@types/prettier": "^3.0.0", |
49 | 48 | "@types/webpack-bundle-analyzer": "^4.7.0",
|
50 |
| - "@typescript-eslint/eslint-plugin": "^8.31.1", |
51 |
| - "@typescript-eslint/parser": "^8.31.1", |
52 | 49 | "@webextension-toolbox/webextension-toolbox": "^7.1.1",
|
53 | 50 | "babel-loader": "^10.0.0",
|
54 |
| - "eslint": "^9.26.0", |
55 |
| - "eslint-config-prettier": "^10.1.2", |
56 |
| - "eslint-formatter-friendly": "^7.0.0", |
57 |
| - "eslint-plugin-import": "^2.31.0", |
58 |
| - "eslint-plugin-prettier": "^5.3.1", |
59 | 51 | "globals": "^16.0.0",
|
60 |
| - "prettier": "^3.5.3", |
61 | 52 | "renovate": "^40.3.4",
|
62 | 53 | "typescript": "^5.8.3",
|
63 | 54 | "webpack-bundle-analyzer": "^4.10.2"
|
|
84 | 75 | "last 40 Opera version",
|
85 | 76 | "last 40 Edge version"
|
86 | 77 | ],
|
87 |
| - "prettier": { |
88 |
| - "tabWidth": 2, |
89 |
| - "semi": true, |
90 |
| - "singleQuote": true, |
91 |
| - "printWidth": 120, |
92 |
| - "bracketSpacing": true, |
93 |
| - "trailingComma": "all", |
94 |
| - "quoteProps": "consistent" |
95 |
| - }, |
| 78 | + |
96 | 79 | "engines": {
|
97 | 80 | "node": ">=23.6.0"
|
98 | 81 | }
|
|
0 commit comments