@eslinted/defaults 20.0.2 → 20.1.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.
@@ -1,7 +1,6 @@
1
1
  declare const _default: {
2
2
  js: string[];
3
3
  ts: string[];
4
- mocha: string[];
5
4
  svelte: string[];
6
5
  html: string[];
7
6
  css: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/files/index.ts"],"names":[],"mappings":";;;;;;;;;;;AAGA,wBAwCE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/files/index.ts"],"names":[],"mappings":";;;;;;;;;;AAGA,wBAuCE"}
@@ -3,7 +3,6 @@ import js from "./base.js";
3
3
  export default {
4
4
  js,
5
5
  ts: pattern("ts"),
6
- mocha: pattern("spec.ts"),
7
6
  svelte: pattern("svelte"),
8
7
  html: pattern("html"),
9
8
  css: pattern("css"),
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/files/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,aAAa,CAAC;AAClC,OAAO,EAAE,MAAM,QAAQ,CAAC;AAExB,eAAe;IACb,EAAE;IACF,EAAE,EAAE,OAAO,CAAC,IAAI,CAAC;IACjB,KAAK,EAAE,OAAO,CAAC,SAAS,CAAC;IACzB,MAAM,EAAE,OAAO,CAAC,QAAQ,CAAC;IACzB,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC;IACrB,GAAG,EAAE,OAAO,CAAC,KAAK,CAAC;IACnB,IAAI,EAAE,OAAO,CACX;QACE,MAAM;QACN,iBAAiB;KAClB,CACF;IACD,KAAK,EAAE,OAAO,CACZ;QACE,OAAO;QACP,eAAe;QACf,gBAAgB;KACjB,EACD;QACE,KAAK,EAAE;YACL,eAAe;YACf,iBAAiB;SAClB;QACD,OAAO,EAAE,CAAC,SAAS,CAAC;QACpB,KAAK,EAAE,CAAC,mBAAmB,CAAC;KAC7B,CACF;IACD,GAAG,EAAE,OAAO,CACV;QACE,KAAK;QACL,MAAM;QACN,aAAa;QACb,cAAc;QACd,iBAAiB;KAClB,EACD;QACE,OAAO,EAAE,CAAC,SAAS,CAAC;KACrB,CACF;CACF,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/files/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,aAAa,CAAC;AAClC,OAAO,EAAE,MAAM,QAAQ,CAAC;AAExB,eAAe;IACb,EAAE;IACF,EAAE,EAAE,OAAO,CAAC,IAAI,CAAC;IACjB,MAAM,EAAE,OAAO,CAAC,QAAQ,CAAC;IACzB,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC;IACrB,GAAG,EAAE,OAAO,CAAC,KAAK,CAAC;IACnB,IAAI,EAAE,OAAO,CACX;QACE,MAAM;QACN,iBAAiB;KAClB,CACF;IACD,KAAK,EAAE,OAAO,CACZ;QACE,OAAO;QACP,eAAe;QACf,gBAAgB;KACjB,EACD;QACE,KAAK,EAAE;YACL,eAAe;YACf,iBAAiB;SAClB;QACD,OAAO,EAAE,CAAC,SAAS,CAAC;QACpB,KAAK,EAAE,CAAC,mBAAmB,CAAC;KAC7B,CACF;IACD,GAAG,EAAE,OAAO,CACV;QACE,KAAK;QACL,MAAM;QACN,aAAa;QACb,cAAc;QACd,iBAAiB;KAClB,EACD;QACE,OAAO,EAAE,CAAC,SAAS,CAAC;KACrB,CACF;CACF,CAAC"}
package/dist/index.d.ts CHANGED
@@ -2,7 +2,6 @@ declare const _default: {
2
2
  files: {
3
3
  js: string[];
4
4
  ts: string[];
5
- mocha: string[];
6
5
  svelte: string[];
7
6
  html: string[];
8
7
  css: string[];
@@ -807,13 +806,6 @@ declare const _default: {
807
806
  readonly "ts/require-await": import("./rules/state.js").State.ON;
808
807
  };
809
808
  })[];
810
- mocha: {
811
- rules: {
812
- readonly "no-unused-expressions": import("./rules/state.js").State.OFF;
813
- readonly "ts/no-unsafe-call": import("./rules/state.js").State.OFF;
814
- readonly "ts/strict-void-return": import("./rules/state.js").State.OFF;
815
- };
816
- }[];
817
809
  svelte: ({
818
810
  rules: {
819
811
  readonly "no-inner-declarations": import("./rules/state.js").State.OFF;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAIE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAIE"}
@@ -791,13 +791,6 @@ declare const _default: {
791
791
  readonly "ts/require-await": import("./state.js").State.ON;
792
792
  };
793
793
  })[];
794
- mocha: {
795
- rules: {
796
- readonly "no-unused-expressions": import("./state.js").State.OFF;
797
- readonly "ts/no-unsafe-call": import("./state.js").State.OFF;
798
- readonly "ts/strict-void-return": import("./state.js").State.OFF;
799
- };
800
- }[];
801
794
  svelte: ({
802
795
  rules: {
803
796
  readonly "no-inner-declarations": import("./state.js").State.OFF;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,wBAWE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAUA,wBAUE"}
@@ -1,7 +1,6 @@
1
1
  import global from "./global.js";
2
2
  import js from "./js.js";
3
3
  import ts from "./ts/index.js";
4
- import mocha from "./mocha/index.js";
5
4
  import svelte from "./svelte/index.js";
6
5
  import html from "./html/index.js";
7
6
  import css from "./css/index.js";
@@ -12,7 +11,6 @@ export default {
12
11
  "*": global,
13
12
  js,
14
13
  ts,
15
- mocha,
16
14
  svelte,
17
15
  html,
18
16
  css,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,EAAE,MAAM,MAAM,CAAC;AACtB,OAAO,EAAE,MAAM,MAAM,CAAC;AACtB,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,GAAG,MAAM,OAAO,CAAC;AACxB,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,GAAG,MAAM,OAAO,CAAC;AAExB,eAAe;IACb,GAAG,EAAE,MAAM;IACX,EAAE;IACF,EAAE;IACF,KAAK;IACL,MAAM;IACN,IAAI;IACJ,GAAG;IACH,IAAI;IACJ,KAAK;IACL,GAAG;CACJ,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/rules/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,EAAE,MAAM,MAAM,CAAC;AACtB,OAAO,EAAE,MAAM,MAAM,CAAC;AACtB,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,GAAG,MAAM,OAAO,CAAC;AACxB,OAAO,IAAI,MAAM,QAAQ,CAAC;AAC1B,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,GAAG,MAAM,OAAO,CAAC;AAExB,eAAe;IACb,GAAG,EAAE,MAAM;IACX,EAAE;IACF,EAAE;IACF,MAAM;IACN,IAAI;IACJ,GAAG;IACH,IAAI;IACJ,KAAK;IACL,GAAG;CACJ,CAAC"}
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "$schema": "https://json.schemastore.org/package",
4
4
  "$help": "https://docs.npmjs.com/cli/configuring-npm/package-json",
5
5
  "name": "@eslinted/defaults",
6
- "version": "20.0.2",
6
+ "version": "20.1.0",
7
7
  "repository": "github:jimmy-zhening-luo/linted-defaults",
8
8
  "description": "Default scopes for `linted`",
9
9
  "keywords": [],
@@ -4,7 +4,6 @@ import js from "./base";
4
4
  export default {
5
5
  js,
6
6
  ts: pattern("ts"),
7
- mocha: pattern("spec.ts"),
8
7
  svelte: pattern("svelte"),
9
8
  html: pattern("html"),
10
9
  css: pattern("css"),
@@ -1,7 +1,6 @@
1
1
  import global from "./global";
2
2
  import js from "./js";
3
3
  import ts from "./ts";
4
- import mocha from "./mocha";
5
4
  import svelte from "./svelte";
6
5
  import html from "./html";
7
6
  import css from "./css";
@@ -13,7 +12,6 @@ export default {
13
12
  "*": global,
14
13
  js,
15
14
  ts,
16
- mocha,
17
15
  svelte,
18
16
  html,
19
17
  css,
@@ -1,10 +0,0 @@
1
- import { State } from "../state.js";
2
- declare const _default: {
3
- rules: {
4
- readonly "no-unused-expressions": State.OFF;
5
- readonly "ts/no-unsafe-call": State.OFF;
6
- readonly "ts/strict-void-return": State.OFF;
7
- };
8
- }[];
9
- export default _default;
10
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/mocha/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;;;;;;;;AAEjC,wBAQE"}
@@ -1,10 +0,0 @@
1
- export default [
2
- {
3
- rules: {
4
- "no-unused-expressions": 0,
5
- "ts/no-unsafe-call": 0,
6
- "ts/strict-void-return": 0,
7
- },
8
- },
9
- ];
10
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/mocha/index.ts"],"names":[],"mappings":"AAEA,eAAe;IACb;QACE,KAAK,EAAE;YACL,uBAAuB,GAAW;YAClC,mBAAmB,GAAW;YAC9B,uBAAuB,GAAW;SAC1B;KACX;CACF,CAAC"}
@@ -1,11 +0,0 @@
1
- import { State } from "../state";
2
-
3
- export default [
4
- {
5
- rules: {
6
- "no-unused-expressions": State.OFF /* fails to detect valueful assertions in mocha */,
7
- "ts/no-unsafe-call": State.OFF /* fails to detect valueful assertions in mocha */,
8
- "ts/strict-void-return": State.OFF /* false positive in mocha test-case async function context */,
9
- } as const,
10
- },
11
- ];