@tb-dev/eslint-config 1.4.2 → 1.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -89,7 +89,7 @@ function javascript(options) {
89
89
  'no-delete-var': 'error',
90
90
  'no-dupe-else-if': 'error',
91
91
  'no-duplicate-case': 'error',
92
- 'no-duplicate-imports': ['error', { includeExports: true }],
92
+ 'no-duplicate-imports': ['error', { includeExports: false }],
93
93
  'no-else-return': 'error',
94
94
  'no-empty': ['error', { allowEmptyCatch: true }],
95
95
  'no-empty-character-class': 'error',
package/dist/index.mjs CHANGED
@@ -87,7 +87,7 @@ function javascript(options) {
87
87
  'no-delete-var': 'error',
88
88
  'no-dupe-else-if': 'error',
89
89
  'no-duplicate-case': 'error',
90
- 'no-duplicate-imports': ['error', { includeExports: true }],
90
+ 'no-duplicate-imports': ['error', { includeExports: false }],
91
91
  'no-else-return': 'error',
92
92
  'no-empty': ['error', { allowEmptyCatch: true }],
93
93
  'no-empty-character-class': 'error',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tb-dev/eslint-config",
3
- "version": "1.4.2",
3
+ "version": "1.4.3",
4
4
  "description": "ESLint config",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -17,6 +17,16 @@
17
17
  "lint-staged": {
18
18
  "*.{?(c|m)@(j|t)s,css,vue,md,json}": "prettier --write"
19
19
  },
20
+ "scripts": {
21
+ "build": "rollup --config rollup.config.js",
22
+ "deps": "pnpm exec taze -w -f",
23
+ "format": "pnpm exec prettier . --write",
24
+ "format-check": "pnpm exec prettier . --check",
25
+ "lint": "eslint . --config eslint.config.js --cache",
26
+ "prepare": "husky install",
27
+ "release": "miho -l publish",
28
+ "typecheck": "tsc --noEmit"
29
+ },
20
30
  "dependencies": {
21
31
  "@typescript-eslint/eslint-plugin": "^6.13.1",
22
32
  "@typescript-eslint/parser": "^6.13.1",
@@ -61,14 +71,5 @@
61
71
  "import": "./dist/index.mjs",
62
72
  "require": "./dist/index.cjs"
63
73
  }
64
- },
65
- "scripts": {
66
- "build": "rollup --config rollup.config.js",
67
- "deps": "pnpm exec taze -w -f",
68
- "format": "pnpm exec prettier . --write",
69
- "format-check": "pnpm exec prettier . --check",
70
- "lint": "eslint . --config eslint.config.js --cache",
71
- "release": "miho -l publish",
72
- "typecheck": "tsc --noEmit"
73
74
  }
74
- }
75
+ }