Skip to content

Commit

Permalink
feat(vue): enable indent's rules.
Browse files Browse the repository at this point in the history
  • Loading branch information
chizuki committed Mar 24, 2023
1 parent 99ca0bb commit df17b31
Show file tree
Hide file tree
Showing 9 changed files with 757 additions and 702 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@curev/eslint-config-monorepo",
"version": "0.0.7",
"private": true,
"packageManager": "pnpm@7.1.0",
"packageManager": "pnpm@7.30.0",
"author": "Anthony Fu <[email protected]> (https://github.com/antfu/)",
"license": "MIT",
"scripts": {
Expand All @@ -14,9 +14,9 @@
"devDependencies": {
"@curev/eslint-config": "*",
"bumpp": "^8.2.1",
"eslint": "^8.27.0",
"eslint": "^8.36.0",
"eslint-plugin-curev": "workspace:*",
"rimraf": "^3.0.2",
"typescript": "^4.9.3"
"typescript": "^5.0.2"
}
}
7 changes: 2 additions & 5 deletions packages/all/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
},
"dependencies": {
"@curev/eslint-config-vue": "workspace:*",
"@typescript-eslint/eslint-plugin": "^5.43.0",
"@typescript-eslint/parser": "^5.43.0",
"@typescript-eslint/eslint-plugin": "^5.56.0",
"@typescript-eslint/parser": "^5.56.0",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-html": "^7.1.0",
"eslint-plugin-import": "^2.26.0",
Expand All @@ -30,8 +30,5 @@
"eslint-plugin-yml": "^1.2.0",
"jsonc-eslint-parser": "^2.1.0",
"yaml-eslint-parser": "^1.1.0"
},
"devDependencies": {
"eslint": "^8.27.0"
}
}
3 changes: 0 additions & 3 deletions packages/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,5 @@
"eslint-plugin-yml": "^1.2.0",
"jsonc-eslint-parser": "^2.1.0",
"yaml-eslint-parser": "^1.1.0"
},
"devDependencies": {
"eslint": "^8.27.0"
}
}
4 changes: 2 additions & 2 deletions packages/eslint-plugin-curev/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
"prepublishOnly": "pnpm build"
},
"dependencies": {
"@typescript-eslint/utils": "^5.43.0"
"@typescript-eslint/utils": "^5.56.0"
},
"devDependencies": {
"@types/node": "^18.11.9",
"unbuild": "^1.0.1",
"unbuild": "^1.1.2",
"vitest": "^0.25.2"
}
}
5 changes: 0 additions & 5 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,5 @@
"@curev/eslint-config-ts": "workspace:*",
"eslint-plugin-react": "^7.31.10",
"eslint-plugin-react-hooks": "^4.6.0"
},
"devDependencies": {
"eslint": "^8.27.0",
"react": "^18.2.0",
"typescript": "^4.9.3"
}
}
7 changes: 2 additions & 5 deletions packages/typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@
},
"dependencies": {
"@curev/eslint-config-basic": "workspace:*",
"@typescript-eslint/eslint-plugin": "^5.43.0",
"@typescript-eslint/parser": "^5.43.0"
},
"devDependencies": {
"eslint": "^8.27.0"
"@typescript-eslint/eslint-plugin": "^5.56.0",
"@typescript-eslint/parser": "^5.56.0"
}
}
9 changes: 1 addition & 8 deletions packages/vue/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,7 @@ module.exports = {
parser: "@typescript-eslint/parser"
},
rules: {
"no-undef": "off",
"indent": "off",
"multiline-ternary": "off",
...(TS
? {
"@typescript-eslint/indent": "off"
}
: null)
"multiline-ternary": "off"
}
}
],
Expand Down
3 changes: 0 additions & 3 deletions packages/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,5 @@
"@curev/eslint-config-ts": "workspace:*",
"eslint-plugin-vue": "^9.7.0",
"local-pkg": "^0.4.2"
},
"devDependencies": {
"eslint": "^8.27.0"
}
}
Loading

0 comments on commit df17b31

Please sign in to comment.