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

View File

@@ -44,7 +44,8 @@
"@actions/exec": "^1.1.1"
},
"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/node": "^20.11.30",
"@vercel/ncc": "^0.38.1",
@@ -55,7 +56,7 @@
"typescript": "^5.4.2"
},
"eslintConfig": {
"extends": "./node_modules/@1password/front-end-style/eslintrc.yml",
"extends": "@1password/eslint-config",
"ignorePatterns": [
"coverage/"
],
@@ -63,5 +64,5 @@
"project": "./tsconfig.json"
}
},
"prettier": "./node_modules/@1password/front-end-style/prettierrc.json"
"prettier": "@1password/prettier-config"
}