@lincy/eslint-config 1.1.2 → 1.1.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 (3) hide show
  1. package/basic.js +3 -1
  2. package/package.json +11 -11
  3. package/ts.js +2 -0
package/basic.js CHANGED
@@ -57,7 +57,7 @@ module.exports = {
57
57
  },
58
58
  overrides: [
59
59
  {
60
- files: ['*.json', '*.json5'],
60
+ files: ['*.json', '*.json5', '*.jsonc'],
61
61
  parser: 'jsonc-eslint-parser',
62
62
  rules: {
63
63
  'jsonc/array-bracket-spacing': ['error', 'never'],
@@ -198,6 +198,8 @@ module.exports = {
198
198
  'no-undef': 'off',
199
199
  'no-unused-expressions': 'off',
200
200
  'no-unused-vars': 'off',
201
+ 'antfu/no-cjs-exports': 'off',
202
+ 'antfu/no-ts-export-equal': 'off',
201
203
  },
202
204
  },
203
205
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lincy/eslint-config",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
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/)",
@@ -21,30 +21,30 @@
21
21
  "eslint": ">=7.4.0"
22
22
  },
23
23
  "dependencies": {
24
- "@typescript-eslint/eslint-plugin": "^5.59.2",
25
- "@typescript-eslint/parser": "^5.59.2",
24
+ "@typescript-eslint/eslint-plugin": "^5.59.6",
25
+ "@typescript-eslint/parser": "^5.59.6",
26
26
  "eslint-config-prettier": "^8.6.0",
27
- "eslint-plugin-antfu": "^0.38.6",
27
+ "eslint-plugin-antfu": "^0.39.1",
28
28
  "eslint-plugin-eslint-comments": "^3.2.0",
29
29
  "eslint-plugin-html": "^7.1.0",
30
30
  "eslint-plugin-import": "^2.27.5",
31
31
  "eslint-plugin-jest": "^27.2.1",
32
- "eslint-plugin-jsonc": "^2.7.0",
32
+ "eslint-plugin-jsonc": "^2.8.0",
33
33
  "eslint-plugin-markdown": "^3.0.0",
34
- "eslint-plugin-n": "^15.7.0",
34
+ "eslint-plugin-n": "^16.0.0",
35
35
  "eslint-plugin-no-only-tests": "^3.1.0",
36
36
  "eslint-plugin-prettier": "^4.2.1",
37
37
  "eslint-plugin-promise": "^6.1.1",
38
38
  "eslint-plugin-unicorn": "^47.0.0",
39
39
  "eslint-plugin-unused-imports": "^2.0.0",
40
- "eslint-plugin-vue": "^9.11.1",
41
- "eslint-plugin-yml": "^1.6.0",
42
- "jsonc-eslint-parser": "^2.2.0",
40
+ "eslint-plugin-vue": "^9.13.0",
41
+ "eslint-plugin-yml": "^1.7.0",
42
+ "jsonc-eslint-parser": "^2.3.0",
43
43
  "local-pkg": "^0.4.3",
44
- "yaml-eslint-parser": "^1.2.1"
44
+ "yaml-eslint-parser": "^1.2.2"
45
45
  },
46
46
  "devDependencies": {
47
- "eslint": "^8.40.0",
47
+ "eslint": "^8.41.0",
48
48
  "typescript": "^5.0.4"
49
49
  },
50
50
  "publishConfig": {
package/ts.js CHANGED
@@ -162,6 +162,8 @@ module.exports = {
162
162
  '@typescript-eslint/lines-between-class-members': ['error', 'always', { exceptAfterSingleLine: true }],
163
163
 
164
164
  'antfu/generic-spacing': 'error',
165
+ 'antfu/no-cjs-exports': 'error',
166
+ 'antfu/no-ts-export-equal': 'error',
165
167
 
166
168
  // off
167
169
  '@typescript-eslint/consistent-indexed-object-style': 'off',