@ntnyq/eslint-config 2.6.1 → 2.6.2

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
@@ -993,6 +993,8 @@ var yml = defineConfig([
993
993
  yml: import_eslint_plugin_yml.default
994
994
  },
995
995
  rules: {
996
+ // Avoid conflicts with js comment
997
+ "spaced-comment": "off",
996
998
  ...import_eslint_plugin_yml.default.configs.standard.rules,
997
999
  ...import_eslint_plugin_yml.default.configs.prettier.rules,
998
1000
  "yml/no-empty-mapping-value": "off",
@@ -1013,6 +1015,10 @@ var toml = defineConfig([
1013
1015
  toml: import_eslint_plugin_toml.default
1014
1016
  },
1015
1017
  rules: {
1018
+ // Prettier do not have official support for TOML currently
1019
+ "prettier/prettier": "off",
1020
+ // Avoid conflicts with js comment
1021
+ "spaced-comment": "off",
1016
1022
  "toml/comma-style": "error",
1017
1023
  "toml/keys-order": "error",
1018
1024
  "toml/no-space-dots": "error",
@@ -1023,8 +1029,8 @@ var toml = defineConfig([
1023
1029
  "toml/indent": ["error", 2],
1024
1030
  "toml/vue-custom-block/no-parsing-error": "error",
1025
1031
  "toml/array-bracket-newline": "error",
1026
- "toml/array-bracket-spacing": "error",
1027
- "toml/array-element-newline": "error",
1032
+ "toml/array-bracket-spacing": ["error", "never"],
1033
+ "toml/array-element-newline": ["error", "never"],
1028
1034
  "toml/inline-table-curly-spacing": "error",
1029
1035
  "toml/key-spacing": "error",
1030
1036
  "toml/padding-line-between-pairs": "error",
package/dist/index.js CHANGED
@@ -879,6 +879,8 @@ var yml = defineConfig([
879
879
  yml: default4
880
880
  },
881
881
  rules: {
882
+ // Avoid conflicts with js comment
883
+ "spaced-comment": "off",
882
884
  ...default4.configs.standard.rules,
883
885
  ...default4.configs.prettier.rules,
884
886
  "yml/no-empty-mapping-value": "off",
@@ -899,6 +901,10 @@ var toml = defineConfig([
899
901
  toml: default5
900
902
  },
901
903
  rules: {
904
+ // Prettier do not have official support for TOML currently
905
+ "prettier/prettier": "off",
906
+ // Avoid conflicts with js comment
907
+ "spaced-comment": "off",
902
908
  "toml/comma-style": "error",
903
909
  "toml/keys-order": "error",
904
910
  "toml/no-space-dots": "error",
@@ -909,8 +915,8 @@ var toml = defineConfig([
909
915
  "toml/indent": ["error", 2],
910
916
  "toml/vue-custom-block/no-parsing-error": "error",
911
917
  "toml/array-bracket-newline": "error",
912
- "toml/array-bracket-spacing": "error",
913
- "toml/array-element-newline": "error",
918
+ "toml/array-bracket-spacing": ["error", "never"],
919
+ "toml/array-element-newline": ["error", "never"],
914
920
  "toml/inline-table-curly-spacing": "error",
915
921
  "toml/key-spacing": "error",
916
922
  "toml/padding-line-between-pairs": "error",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ntnyq/eslint-config",
3
3
  "type": "module",
4
- "version": "2.6.1",
4
+ "version": "2.6.2",
5
5
  "packageManager": "pnpm@9.5.0",
6
6
  "description": "ESLint flat config of ntnyq",
7
7
  "keywords": [
@@ -67,7 +67,7 @@
67
67
  "eslint-plugin-jsonc": "^2.16.0",
68
68
  "eslint-plugin-markdown": "^5.1.0",
69
69
  "eslint-plugin-n": "^17.9.0",
70
- "eslint-plugin-prettier": "^5.1.3",
70
+ "eslint-plugin-prettier": "^5.2.1",
71
71
  "eslint-plugin-regexp": "^2.6.0",
72
72
  "eslint-plugin-toml": "^0.11.1",
73
73
  "eslint-plugin-unicorn": "^54.0.0",
@@ -89,11 +89,11 @@
89
89
  "bumpp": "^9.4.1",
90
90
  "eslint": "^9.7.0",
91
91
  "eslint-typegen": "^0.2.4",
92
- "husky": "^9.0.11",
92
+ "husky": "^9.1.0",
93
93
  "nano-staged": "^0.8.0",
94
94
  "npm-run-all2": "^6.2.2",
95
95
  "rimraf": "^6.0.1",
96
- "tsup": "^8.1.0",
96
+ "tsup": "^8.1.2",
97
97
  "tsx": "^4.16.2",
98
98
  "typescript": "^5.5.3",
99
99
  "zx": "^8.1.4"