@icebreakers/eslint-config 0.3.11 → 0.3.13

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
@@ -132,7 +132,15 @@ function icebreaker(options = {}, ...userConfigs) {
132
132
  // 'unused-imports/no-unused-imports': 'error',
133
133
  // https://typescript-eslint.io/rules/no-unused-vars/
134
134
  "no-unused-vars": "off",
135
- "ts/no-unused-vars": "error"
135
+ "ts/no-unused-vars": ["error", {
136
+ args: "all",
137
+ argsIgnorePattern: "^_",
138
+ caughtErrors: "all",
139
+ caughtErrorsIgnorePattern: "^_",
140
+ destructuredArrayIgnorePattern: "^_",
141
+ varsIgnorePattern: "^_",
142
+ ignoreRestSiblings: true
143
+ }]
136
144
  }
137
145
  }
138
146
  ];
package/dist/index.js CHANGED
@@ -110,7 +110,15 @@ function icebreaker(options = {}, ...userConfigs) {
110
110
  // 'unused-imports/no-unused-imports': 'error',
111
111
  // https://typescript-eslint.io/rules/no-unused-vars/
112
112
  "no-unused-vars": "off",
113
- "ts/no-unused-vars": "error"
113
+ "ts/no-unused-vars": ["error", {
114
+ args: "all",
115
+ argsIgnorePattern: "^_",
116
+ caughtErrors: "all",
117
+ caughtErrorsIgnorePattern: "^_",
118
+ destructuredArrayIgnorePattern: "^_",
119
+ varsIgnorePattern: "^_",
120
+ ignoreRestSiblings: true
121
+ }]
114
122
  }
115
123
  }
116
124
  ];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@icebreakers/eslint-config",
3
3
  "type": "module",
4
- "version": "0.3.11",
4
+ "version": "0.3.13",
5
5
  "description": "icebreakers's eslint config",
6
6
  "author": "SonOfMagic <qq1324318532@gmail.com>",
7
7
  "license": "MIT",
@@ -33,12 +33,12 @@
33
33
  "dist"
34
34
  ],
35
35
  "dependencies": {
36
- "@antfu/eslint-config": "2.21.2",
36
+ "@antfu/eslint-config": "2.23.1",
37
37
  "eslint-plugin-format": "0.1.2",
38
38
  "eslint-plugin-jsx-a11y": "^6.9.0",
39
39
  "eslint-plugin-mdx": "3.1.5",
40
40
  "eslint-plugin-tailwindcss": "3.17.4",
41
- "eslint-plugin-vuejs-accessibility": "^2.3.1",
41
+ "eslint-plugin-vuejs-accessibility": "^2.4.0",
42
42
  "local-pkg": "0.5.0"
43
43
  },
44
44
  "publishConfig": {