@oliver139/eslint-config 2.0.2 → 2.0.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.
package/dist/cli.js CHANGED
@@ -11,7 +11,7 @@ import c from "ansis";
11
11
  var package_default = {
12
12
  name: "@oliver139/eslint-config",
13
13
  type: "module",
14
- version: "2.0.2",
14
+ version: "2.0.4",
15
15
  packageManager: "pnpm@10.6.2",
16
16
  description: " Oliver's ESLint config preset powered by @antfu/eslint-config",
17
17
  author: "Oliver Mak <oliver139.working@gmail.com> (https://github.com/oliver139)",
package/dist/index.js CHANGED
@@ -878,12 +878,7 @@ async function javascript(options = {}) {
878
878
  allowTaggedTemplates: true,
879
879
  allowTernary: true
880
880
  }],
881
- "no-unused-vars": ["error", {
882
- args: "none",
883
- caughtErrors: "none",
884
- ignoreRestSiblings: true,
885
- vars: "all"
886
- }],
881
+ "no-unused-vars": "off",
887
882
  "no-use-before-define": ["error", { classes: false, functions: false, variables: true }],
888
883
  "no-useless-backreference": "error",
889
884
  "no-useless-call": "error",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@oliver139/eslint-config",
3
3
  "type": "module",
4
- "version": "2.0.2",
4
+ "version": "2.0.4",
5
5
  "description": " Oliver's ESLint config preset powered by @antfu/eslint-config",
6
6
  "author": "Oliver Mak <oliver139.working@gmail.com> (https://github.com/oliver139)",
7
7
  "license": "MIT",
@@ -158,7 +158,7 @@
158
158
  "typescript": "^5.8.2",
159
159
  "vitest": "^3.0.8",
160
160
  "vue": "^3.5.13",
161
- "@oliver139/eslint-config": "2.0.2"
161
+ "@oliver139/eslint-config": "2.0.4"
162
162
  },
163
163
  "simple-git-hooks": {
164
164
  "pre-commit": "npx lint-staged"