Switch to new lint packages (#89)

In Oct 2023, @1password/front-end-style has been rewritten into 3 smaller packages:
- @1password/eslint-config
- @1password/prettier-config
- @1password/stylelint-config

These 3 new packages have the same configurations as the previous package, with the benefits of being up-to-date and better organized. In the case of this GitHub Action, we only need the first two. The last one is dedicated to CSS stylling, which is not used in this action. Therefore, we will replace the deprecated @1password/front-end-style with the following packages:
- @1password/eslint-config
- @1password/prettier-config
This commit is contained in:
Eduard Filip
2024-12-18 14:35:41 +01:00
committed by GitHub
parent 3e2909a6b2
commit 06962f2427
2 changed files with 697 additions and 1863 deletions

2551
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -44,7 +44,8 @@
"@actions/exec": "^1.1.1" "@actions/exec": "^1.1.1"
}, },
"devDependencies": { "devDependencies": {
"@1password/front-end-style": "^6.0.1", "@1password/eslint-config": "^4.3.1",
"@1password/prettier-config": "^1.2.0",
"@types/jest": "^29.5.12", "@types/jest": "^29.5.12",
"@types/node": "^20.11.30", "@types/node": "^20.11.30",
"@vercel/ncc": "^0.38.1", "@vercel/ncc": "^0.38.1",
@@ -55,7 +56,7 @@
"typescript": "^5.4.2" "typescript": "^5.4.2"
}, },
"eslintConfig": { "eslintConfig": {
"extends": "./node_modules/@1password/front-end-style/eslintrc.yml", "extends": "@1password/eslint-config",
"ignorePatterns": [ "ignorePatterns": [
"coverage/" "coverage/"
], ],
@@ -63,5 +64,5 @@
"project": "./tsconfig.json" "project": "./tsconfig.json"
} }
}, },
"prettier": "./node_modules/@1password/front-end-style/prettierrc.json" "prettier": "@1password/prettier-config"
} }