linted 21.0.0-rc.5 → 21.0.0-rc.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -4339,11 +4339,11 @@ declare const _default: {
4339
4339
  html: (readonly ["enable", Partial<Record<"@html-eslint/require-lang" | "@html-eslint/require-img-alt" | "@html-eslint/require-doctype" | "@html-eslint/require-title" | "@html-eslint/no-duplicate-id" | "@html-eslint/no-inline-styles" | "@html-eslint/no-multiple-h1" | "@html-eslint/no-extra-spacing-attrs" | "@html-eslint/no-extra-spacing-text" | "@html-eslint/attrs-newline" | "@html-eslint/element-newline" | "@html-eslint/no-skip-heading-levels" | "@html-eslint/require-li-container" | "@html-eslint/indent" | "@html-eslint/quotes" | "@html-eslint/id-naming-convention" | "@html-eslint/no-obsolete-tags" | "@html-eslint/require-attrs" | "@html-eslint/require-closing-tags" | "@html-eslint/require-meta-description" | "@html-eslint/require-frame-title" | "@html-eslint/no-non-scalable-viewport" | "@html-eslint/no-positive-tabindex" | "@html-eslint/require-meta-viewport" | "@html-eslint/require-meta-charset" | "@html-eslint/no-target-blank" | "@html-eslint/no-duplicate-attrs" | "@html-eslint/no-abstract-roles" | "@html-eslint/require-button-type" | "@html-eslint/no-aria-hidden-body" | "@html-eslint/no-multiple-empty-lines" | "@html-eslint/no-accesskey-attrs" | "@html-eslint/no-restricted-attrs" | "@html-eslint/no-trailing-spaces" | "@html-eslint/no-restricted-attr-values" | "@html-eslint/no-script-style-type" | "@html-eslint/lowercase" | "@html-eslint/require-open-graph-protocol" | "@html-eslint/sort-attrs", unknown>>])[];
4340
4340
  json: (readonly ["enable", {
4341
4341
  readonly "json/no-duplicate-keys": "error";
4342
- readonly "json/no-empty-keys": "error";
4342
+ readonly "json/no-empty-keys": "off";
4343
4343
  }])[];
4344
4344
  jsonc: (readonly ["enable", {
4345
4345
  readonly "json/no-duplicate-keys": "error";
4346
- readonly "json/no-empty-keys": "error";
4346
+ readonly "json/no-empty-keys": "off";
4347
4347
  }])[];
4348
4348
  yml: (readonly ["enable-extend", {
4349
4349
  readonly "yml/flow-mapping-curly-newline": readonly ["error", {
@@ -1,6 +1,6 @@
1
1
  declare const _default: readonly ["enable", {
2
2
  readonly "json/no-duplicate-keys": "error";
3
- readonly "json/no-empty-keys": "error";
3
+ readonly "json/no-empty-keys": "off";
4
4
  }];
5
5
  export default _default;
6
6
  //# sourceMappingURL=enable.d.ts.map
@@ -1,10 +1,10 @@
1
1
  import { enable, level } from "../../_strings/index.js";
2
- const { ERROR } = level;
2
+ const { ERROR, OFF } = level;
3
3
  export default [
4
4
  enable,
5
5
  {
6
6
  "json/no-duplicate-keys": ERROR,
7
- "json/no-empty-keys": ERROR,
7
+ "json/no-empty-keys": OFF,
8
8
  },
9
9
  ];
10
10
  //# sourceMappingURL=enable.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../src/rules/json/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAE/C,MAAM,EAAE,KAAK,EAAE,GAAG,KAAK,CAAC;AAExB,eAAe;IACb,MAAM;IACN;QAEE,wBAAwB,EAAE,KAAK;QAC/B,oBAAoB,EAAE,KAAK;KAC5B;CACO,CAAC"}
1
+ {"version":3,"file":"enable.js","sourceRoot":"","sources":["../../../src/rules/json/enable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAE/C,MAAM,EAAE,KAAK,EAAE,GAAG,EAAE,GAAG,KAAK,CAAC;AAE7B,eAAe;IACb,MAAM;IACN;QAEE,wBAAwB,EAAE,KAAK;QAC/B,oBAAoB,EAAE,GAAG;KAC1B;CACO,CAAC"}
@@ -1,6 +1,6 @@
1
1
  declare const _default: (readonly ["enable", {
2
2
  readonly "json/no-duplicate-keys": "error";
3
- readonly "json/no-empty-keys": "error";
3
+ readonly "json/no-empty-keys": "off";
4
4
  }])[];
5
5
  export default _default;
6
6
  //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "_schemaVersion": "22.11.0",
3
3
  "name": "linted",
4
- "version": "21.0.0-rc.5",
4
+ "version": "21.0.0-rc.6",
5
5
  "description": "ESLint mono-plugin bundler with strict, opinionated defaults for (Stylistic) JavaScript, TypeScript, Svelte, HTML, Tailwind/CSS, JSON, JSONC, YAML, and Mocha.",
6
6
  "keywords": [
7
7
  "eslint",
@@ -1,12 +1,12 @@
1
1
  import { enable, level } from "../../_strings";
2
2
 
3
- const { ERROR } = level;
3
+ const { ERROR, OFF } = level;
4
4
 
5
5
  export default [
6
6
  enable,
7
7
  {
8
8
  // https://github.com/eslint/json?tab=readme-ov-file#rules
9
9
  "json/no-duplicate-keys": ERROR,
10
- "json/no-empty-keys": ERROR,
10
+ "json/no-empty-keys": OFF,
11
11
  },
12
12
  ] as const;