@lincy/eslint-config 2.4.0 → 2.5.1

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/README.md +22 -0
  2. package/package.json +4 -4
package/README.md ADDED
@@ -0,0 +1,22 @@
1
+ # @lincy/eslint-config
2
+
3
+ A set of opinionated ESLint (http://eslint.org) rules (all rules included) tailored for Vue.js projects
4
+
5
+ 自动区分vue2和vue3的规则
6
+ 如果依赖安装了 typescript, 则自动应用 ts 的规则
7
+ 如果依赖安装了 prettier, 则自动应用 prettier 的规则
8
+
9
+ Usage
10
+
11
+ - pnpm install -D eslint @lincy/eslint-config
12
+ - create a file named .eslintrc in your project:
13
+ ```
14
+ {
15
+ "extends": "@lincy"
16
+ // Your overrides...
17
+ }
18
+ ```
19
+
20
+ License
21
+
22
+ MIT
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lincy/eslint-config",
3
- "version": "2.4.0",
3
+ "version": "2.5.1",
4
4
  "packageManager": "pnpm@8.4.0",
5
5
  "description": "LinCenYing's ESLint config",
6
6
  "author": "LinCenYing <lincenying@gmail.com> (https://github.com/lincenying/)",
@@ -17,8 +17,8 @@
17
17
  "eslint": ">=7.4.0"
18
18
  },
19
19
  "dependencies": {
20
- "@typescript-eslint/eslint-plugin": "^6.7.0",
21
- "@typescript-eslint/parser": "^6.7.0",
20
+ "@typescript-eslint/eslint-plugin": "^6.7.2",
21
+ "@typescript-eslint/parser": "^6.7.2",
22
22
  "eslint-plugin-eslint-comments": "^3.2.0",
23
23
  "eslint-plugin-html": "^7.1.0",
24
24
  "eslint-plugin-import": "npm:eslint-plugin-i@2.28.0-2",
@@ -30,7 +30,7 @@
30
30
  "eslint-plugin-yml": "^1.9.0",
31
31
  "jsonc-eslint-parser": "^2.3.0",
32
32
  "yaml-eslint-parser": "^1.2.2",
33
- "@lincy/eslint-config-vue": "2.4.0"
33
+ "@lincy/eslint-config-vue": "2.5.1"
34
34
  },
35
35
  "devDependencies": {
36
36
  "eslint": "^8.49.0"