@kirklin/eslint-config 0.2.0 → 0.2.2

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/README.md CHANGED
@@ -88,6 +88,9 @@ add you like rules to your `.eslintrc` file:
88
88
  }
89
89
  }
90
90
  ```
91
+ ### TypeScript Aware Rules
92
+
93
+ Type aware rules are enabled when a `tsconfig.eslint.json` is found in the project root. Refer to [this file](https://github.com/kirklin/eslint-config/blob/master/packages/typescript/index.js#L17).
91
94
 
92
95
  ## Badge
93
96
 
package/README.zh-cn.md CHANGED
@@ -92,6 +92,9 @@ pnpm add -D eslint @kirklin/eslint-config
92
92
  }
93
93
  }
94
94
  ```
95
+ ### TypeScript Aware Rules
96
+
97
+ 当在项目根目录中找到`tsconfig.eslint.json`时,将启用Type Aware Rules, [参阅此处](https://github.com/kirklin/eslint-config/blob/master/packages/typescript/index.js#L17).
95
98
 
96
99
  ## 徽章
97
100
  在你的README中包括一个这样的徽章,以便让人们知道你的代码使用的是哪种ESLint样式。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kirklin/eslint-config",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "Kirk Lin's ESLint config",
5
5
  "author": "Kirk Lin <linkirk@163.com> (https://github.com/kirklin)",
6
6
  "license": "MIT",
@@ -16,22 +16,22 @@
16
16
  "eslint": ">=7.4.0"
17
17
  },
18
18
  "dependencies": {
19
- "@kirklin/eslint-config-vue": "0.2.0",
20
- "@typescript-eslint/eslint-plugin": "^5.45.0",
21
- "@typescript-eslint/parser": "^5.45.0",
19
+ "@kirklin/eslint-config-vue": "0.2.2",
20
+ "@typescript-eslint/eslint-plugin": "^5.48.2",
21
+ "@typescript-eslint/parser": "^5.48.2",
22
22
  "eslint-plugin-eslint-comments": "^3.2.0",
23
23
  "eslint-plugin-html": "^7.1.0",
24
- "eslint-plugin-import": "^2.26.0",
25
- "eslint-plugin-jsonc": "^2.5.0",
26
- "eslint-plugin-n": "^15.5.1",
24
+ "eslint-plugin-import": "^2.27.5",
25
+ "eslint-plugin-jsonc": "^2.6.0",
26
+ "eslint-plugin-n": "^15.6.1",
27
27
  "eslint-plugin-promise": "^6.1.1",
28
- "eslint-plugin-unicorn": "^45.0.1",
29
- "eslint-plugin-vue": "^9.8.0",
30
- "eslint-plugin-yml": "^1.2.0",
28
+ "eslint-plugin-unicorn": "^45.0.2",
29
+ "eslint-plugin-vue": "^9.9.0",
30
+ "eslint-plugin-yml": "^1.4.0",
31
31
  "jsonc-eslint-parser": "^2.1.0",
32
32
  "yaml-eslint-parser": "^1.1.0"
33
33
  },
34
34
  "devDependencies": {
35
- "eslint": "^8.28.0"
35
+ "eslint": "^8.32.0"
36
36
  }
37
37
  }