Skip to content

Commit

Permalink
Replace @1password/front-end-style with @1password/eslint-config and …
Browse files Browse the repository at this point in the history
…@1password/prettier-config
  • Loading branch information
jodyheavener committed Aug 14, 2023
1 parent b363cd3 commit 189ba2f
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 402 deletions.
22 changes: 17 additions & 5 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
{
"extends": ["./node_modules/@1password/front-end-style/eslintrc.yml"],
"extends": [
"@1password"
],
"overrides": [
{
"files": ["*.ts"],
"files": [
"*.ts"
],
"parserOptions": {
"project": ["./tsconfig.json"]
"project": [
"./tsconfig.json"
]
},
"rules": {
"unicorn/prefer-node-protocol": "off",
Expand All @@ -18,13 +24,19 @@
"warn",
{
"selector": "default",
"format": ["PascalCase", "camelCase", "UPPER_CASE"]
"format": [
"PascalCase",
"camelCase",
"UPPER_CASE"
]
}
],
"import/no-unresolved": [
"error",
{
"ignore": ["vscode"]
"ignore": [
"vscode"
]
}
],
"unicorn/no-null": "off",
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@
}
]
},
"prettier": "@1password/front-end-style/prettierrc.json",
"prettier": "@1password/prettier-config",
"lint-staged": {
"src/**/*": [
"prettier --write"
Expand All @@ -165,7 +165,8 @@
"yaml-ast-parser": "^0.0.43"
},
"devDependencies": {
"@1password/front-end-style": "^6.0.1",
"@1password/eslint-config": "^1.0.0",
"@1password/prettier-config": "^1.0.2",
"@types/jest": "^27.4.1",
"@types/json-to-ast": "^2.1.2",
"@types/node": "20.4.5",
Expand All @@ -184,6 +185,7 @@
"jest": "^27.5.1",
"license-checker-rseidelsohn": "^3.3.0",
"lint-staged": "^13.1.2",
"prettier": "^3.0.1",
"prettier-plugin-organize-imports": "^3.2.2",
"ts-jest": "^27.1.4",
"typescript": "^4.8.4",
Expand Down
Loading

0 comments on commit 189ba2f

Please sign in to comment.