Skip to content

Commit

Permalink
fix: add import/no-extraneous-dependencies in ts-config by default (#24)
Browse files Browse the repository at this point in the history
* fix: add `import/no-extraneous-dependencies` in ts-config by default

* chore(deps): update deps

* chore(release): v0.3.2

* chore(deps): dedupe
  • Loading branch information
LancelotLewis authored Jun 27, 2024
1 parent 3fe9d2b commit da1db0a
Show file tree
Hide file tree
Showing 10 changed files with 167 additions and 161 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 0.3.2 (June 28, 2024)

- chore(deps): update deps
- fix: add `import/no-extraneous-dependencies` in ts-config by default

## 0.3.1 (June 24, 2024)

- chore(ci): update ci deps version
Expand Down
2 changes: 1 addition & 1 deletion examples/jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
"eslint": "^8.57.0",
"jest": "^29.7.0",
"prettier": "^3.3.2",
"vite": "^5.3.1"
"vite": "^5.3.2"
}
}
2 changes: 1 addition & 1 deletion examples/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
"@vitejs/plugin-react": "^4.3.1",
"eslint": "^8.57.0",
"prettier": "^3.3.2",
"vite": "^5.3.1"
"vite": "^5.3.2"
}
}
6 changes: 3 additions & 3 deletions examples/ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"dependencies": {
"base64-url": "^2.3.3",
"bn.js": "5.2.1",
"bs58": "^5.0.0",
"bs58": "^6.0.0",
"lodash": "^4.17.21",
"utf8": "^3.0.0"
},
Expand All @@ -26,8 +26,8 @@
"@types/base64-url": "^2.2.2",
"@types/bn.js": "^5.1.5",
"@types/jest": "^29.5.12",
"@types/lodash": "^4.17.5",
"@types/node": "^20.14.8",
"@types/lodash": "^4.17.6",
"@types/node": "^20.14.9",
"@types/utf8": "^3.0.3",
"eslint": "^8.57.0",
"typescript": "^5.5.2"
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"bump-version": "zx --quiet scripts/bump-version.mjs"
},
"devDependencies": {
"eslint": "^8.57.0",
"bumpp": "^9.4.1",
"eslint": "^8.57.0",
"zx": "^8.1.3"
},
"version": "0.3.1"
"version": "0.3.2"
}
2 changes: 1 addition & 1 deletion packages/eslint-config-base/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arcblock/eslint-config-base",
"version": "0.3.1",
"version": "0.3.2",
"description": "Arcblock's ESLint config base",
"author": "zhanghan <[email protected]>",
"homepage": "https://github.com/ArcBlock/eslint-config#readme",
Expand Down
6 changes: 3 additions & 3 deletions packages/eslint-config-ts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arcblock/eslint-config-ts",
"version": "0.3.1",
"version": "0.3.2",
"description": "Arcblock's base config for ESLint & Typescript",
"author": "wangshijun <[email protected]>",
"homepage": "https://github.com/ArcBlock/eslint-config#readme",
Expand All @@ -19,8 +19,8 @@
"dependencies": {
"@arcblock/eslint-config": "workspace:*",
"@arcblock/eslint-config-base": "workspace:*",
"@typescript-eslint/eslint-plugin": "^7.13.1",
"@typescript-eslint/parser": "^7.13.1",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.14.1",
"eslint-config-airbnb-typescript": "^18.0.0"
},
"devDependencies": {
Expand Down
1 change: 1 addition & 0 deletions packages/eslint-config-ts/shared.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ module.exports = {
},
rules: {
...prettierRules,
'import/no-extraneous-dependencies': ['error', { devDependencies: true }],
'@typescript-eslint/comma-dangle': 'off',
'@typescript-eslint/comma-dangle': 'off',
'@typescript-eslint/no-var-requires': 'off',
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arcblock/eslint-config",
"version": "0.3.1",
"version": "0.3.2",
"description": "Arcblock's ESLint config for react",
"author": "zhanghan <[email protected]>",
"homepage": "https://github.com/ArcBlock/eslint-config#readme",
Expand Down
Loading

0 comments on commit da1db0a

Please sign in to comment.