@cherepanov.pavel/shareable-config 1.0.18 → 1.0.19

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cherepanov.pavel/shareable-config",
3
3
  "description": "setup for new repositories",
4
- "version": "1.0.18",
4
+ "version": "1.0.19",
5
5
  "type": "module",
6
6
  "devEngines": {
7
7
  "packageManager": {
@@ -19,8 +19,6 @@ import stylisticPlugin from "@stylistic/eslint-plugin";
19
19
  const JSON_BUT_JSONC_FILES = [
20
20
  "**/.vscode/*.json",
21
21
  "**/.vscode/*.code-snippets",
22
- ];
23
- const JSON_BUT_JSONC_FILES_WITHOUT_COMMA_DANGLE = [
24
22
  "**/tsconfig*.json",
25
23
  ];
26
24
  const COMMON_RULES = {
@@ -111,12 +109,7 @@ const JSON_JSONC_RULES = {
111
109
  "jsonc/no-infinity": ERROR,
112
110
  "jsonc/no-multi-str": suggestionRules["no-multi-str"],
113
111
  };
114
- const JSON_JSONC_RULES_WITHOUT_COMMA_DANGLE = {
115
- "jsonc/comma-dangle": [
116
- ERROR,
117
- "never",
118
- ],
119
- };
112
+
120
113
 
121
114
  export default defineConfig([
122
115
  {
@@ -132,7 +125,6 @@ export default defineConfig([
132
125
  ],
133
126
  ignores: [
134
127
  ...JSON_BUT_JSONC_FILES,
135
- ...JSON_BUT_JSONC_FILES_WITHOUT_COMMA_DANGLE,
136
128
  "package-lock.json",
137
129
  ],
138
130
  language: "jsonc/json",
@@ -154,17 +146,6 @@ export default defineConfig([
154
146
  ...JSON_JSONC_RULES,
155
147
  },
156
148
  },
157
- {
158
- files: [
159
- ...JSON_BUT_JSONC_FILES_WITHOUT_COMMA_DANGLE,
160
- ],
161
- language: "jsonc/jsonc",
162
- rules: {
163
- ...COMMON_RULES,
164
- ...JSON_JSONC_RULES,
165
- ...JSON_JSONC_RULES_WITHOUT_COMMA_DANGLE,
166
- },
167
- },
168
149
 
169
150
  {
170
151
  files: [