@so1ve/eslint-config 1.1.0 → 1.2.0

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
@@ -509,6 +509,9 @@ const javascript = ({
509
509
  },
510
510
  sourceType: "module"
511
511
  },
512
+ linterOptions: {
513
+ reportUnusedDisableDirectives: true
514
+ },
512
515
  rules: {
513
516
  // Common
514
517
  "array-bracket-newline": "off",
@@ -970,6 +973,7 @@ const test = ({ overrides } = {}) => [
970
973
  ...pluginVitest__default["default"].configs.recommended.rules,
971
974
  "no-only-tests/no-only-tests": "error",
972
975
  "vitest/expect-expect": "off",
976
+ "vitest/valid-title": "off",
973
977
  "vitest/valid-describe-callback": "off",
974
978
  "vitest/no-alias-methods": "error",
975
979
  "vitest/no-interpolation-in-snapshots": "error",
@@ -984,7 +988,6 @@ const test = ({ overrides } = {}) => [
984
988
  "vitest/prefer-to-contain": "error",
985
989
  "vitest/prefer-to-have-length": "error",
986
990
  "vitest/prefer-todo": "error",
987
- "vitest/valid-title": ["error", { allowArguments: true }],
988
991
  ...overrides
989
992
  }
990
993
  }
package/dist/index.mjs CHANGED
@@ -480,6 +480,9 @@ const javascript = ({
480
480
  },
481
481
  sourceType: "module"
482
482
  },
483
+ linterOptions: {
484
+ reportUnusedDisableDirectives: true
485
+ },
483
486
  rules: {
484
487
  // Common
485
488
  "array-bracket-newline": "off",
@@ -941,6 +944,7 @@ const test = ({ overrides } = {}) => [
941
944
  ...pluginVitest.configs.recommended.rules,
942
945
  "no-only-tests/no-only-tests": "error",
943
946
  "vitest/expect-expect": "off",
947
+ "vitest/valid-title": "off",
944
948
  "vitest/valid-describe-callback": "off",
945
949
  "vitest/no-alias-methods": "error",
946
950
  "vitest/no-interpolation-in-snapshots": "error",
@@ -955,7 +959,6 @@ const test = ({ overrides } = {}) => [
955
959
  "vitest/prefer-to-contain": "error",
956
960
  "vitest/prefer-to-have-length": "error",
957
961
  "vitest/prefer-todo": "error",
958
- "vitest/valid-title": ["error", { allowArguments: true }],
959
962
  ...overrides
960
963
  }
961
964
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@so1ve/eslint-config",
3
- "version": "1.1.0",
3
+ "version": "1.2.0",
4
4
  "author": "Ray <i@mk1.io> (https://github.com/so1ve/)",
5
5
  "description": "Ray's eslint config.",
6
6
  "keywords": [
@@ -71,8 +71,8 @@
71
71
  "toml-eslint-parser": "^0.6.0",
72
72
  "vue-eslint-parser": "^9.3.1",
73
73
  "yaml-eslint-parser": "^1.2.2",
74
- "@so1ve/eslint-plugin": "1.1.0",
75
- "@so1ve/eslint-plugin-sort-imports": "1.1.0"
74
+ "@so1ve/eslint-plugin": "1.2.0",
75
+ "@so1ve/eslint-plugin-sort-imports": "1.2.0"
76
76
  },
77
77
  "devDependencies": {
78
78
  "eslint": "^8.46.0"