@jiakun-zhao/eslint-config 1.2.2 → 1.2.4

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.
Files changed (2) hide show
  1. package/dist/index.cjs +3 -0
  2. package/package.json +8 -8
package/dist/index.cjs CHANGED
@@ -10,11 +10,14 @@ const index = {
10
10
  "brace-style": ["warn", "1tbs"],
11
11
  "@typescript-eslint/brace-style": ["warn", "1tbs"],
12
12
  "@typescript-eslint/ban-ts-comment": ["off"],
13
+ // imports
14
+ "unused-imports/no-unused-imports": "warn",
13
15
  // vue
14
16
  "vue/singleline-html-element-content-newline": "off",
15
17
  "vue/html-self-closing": "off",
16
18
  "vue/static-class-names-order": "warn",
17
19
  // react & jsx
20
+ "jsx-quotes": ["error", "prefer-single"],
18
21
  "react/react-in-jsx-scope": "off",
19
22
  "react/no-unknown-property": "off",
20
23
  "react/self-closing-comp": "off",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jiakun-zhao/eslint-config",
3
- "version": "1.2.2",
4
- "packageManager": "pnpm@8.6.12",
3
+ "version": "1.2.4",
4
+ "packageManager": "pnpm@8.7.1",
5
5
  "description": "Jiakun's ESLint config.",
6
6
  "author": "Jiakun Zhao <hi@zhaojiakun.com>",
7
7
  "license": "MIT",
@@ -18,16 +18,16 @@
18
18
  "eslint": ">=7.4.0"
19
19
  },
20
20
  "dependencies": {
21
- "@antfu/eslint-config": "^0.40.2",
21
+ "@antfu/eslint-config": "^0.41.0",
22
22
  "eslint-plugin-react": "^7.33.2"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@types/eslint": "^8.44.2",
26
- "@types/node": "^20.5.0",
27
- "bumpp": "^9.1.1",
28
- "eslint": "^8.47.0",
29
- "typescript": "^5.1.6",
30
- "unbuild": "^1.2.1"
26
+ "@types/node": "^20.5.9",
27
+ "bumpp": "^9.2.0",
28
+ "eslint": "^8.48.0",
29
+ "typescript": "^5.2.2",
30
+ "unbuild": "^2.0.0"
31
31
  },
32
32
  "eslintConfig": {
33
33
  "extends": "./dist/index.cjs"