@eslinted/defaults 17.7.2 → 17.7.4

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/.gitattributes CHANGED
@@ -1,3 +1,8 @@
1
+ ##############################
2
+ #### .gitattributes ####
3
+ #### v252.0.0 ####
4
+ ##############################
5
+
1
6
  * text=auto
2
7
 
3
8
  *.cmd text eol=crlf
@@ -11,11 +16,10 @@
11
16
  *.psm1 text eol=lf
12
17
  *.psd1 text eol=lf
13
18
 
19
+ LICENSE text eol=lf
14
20
  *.gitattributes text eol=lf
15
21
  *.gitconfig text eol=lf
16
22
  *.gitignore text eol=lf
17
-
18
- LICENSE text eol=lf
19
23
  *.txt text eol=lf
20
24
  *.md text eol=lf
21
25
  *.json text eol=lf
@@ -38,6 +42,10 @@ LICENSE text eol=lf
38
42
  *.cpp text eol=lf
39
43
  *.cxx text eol=lf
40
44
  *.cc text eol=lf
45
+ *.cs text eol=lf
46
+ *.csproj text eol=lf
47
+ *.sln text eol=lf
48
+ *.slnx text eol=lf
41
49
  *.js text eol=lf
42
50
  *.cjs text eol=lf
43
51
  *.mjs text eol=lf
@@ -1 +1 @@
1
- {"version":3,"file":"global.d.ts","sourceRoot":"","sources":["../../src/ignores/global.ts"],"names":[],"mappings":";AAEA,wBAWI"}
1
+ {"version":3,"file":"global.d.ts","sourceRoot":"","sources":["../../src/ignores/global.ts"],"names":[],"mappings":";AAEA,wBAYI"}
@@ -7,6 +7,7 @@ export default [
7
7
  "!*.js",
8
8
  "!*.cjs",
9
9
  "!*.mjs",
10
+ "**/.vscode/c_cpp_properties.json",
10
11
  ]
11
12
  .concat(js.map(file => "!" + file));
12
13
  //# sourceMappingURL=global.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"global.js","sourceRoot":"","sources":["../../src/ignores/global.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,eAAe,CAAC;AAE/B,eAAe;IACb,UAAU;IACV,SAAS;IACT,UAAU;IACV,UAAU;IACV,OAAO;IACP,QAAQ;IACR,QAAQ;CACT;KACE,MAAM,CACL,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,GAAG,GAAG,IAAI,CAAC,CAC3B,CAAC"}
1
+ {"version":3,"file":"global.js","sourceRoot":"","sources":["../../src/ignores/global.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,eAAe,CAAC;AAE/B,eAAe;IACb,UAAU;IACV,SAAS;IACT,UAAU;IACV,UAAU;IACV,OAAO;IACP,QAAQ;IACR,QAAQ;IACR,kCAAkC;CACnC;KACE,MAAM,CACL,EAAE,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC,GAAG,GAAG,IAAI,CAAC,CAC3B,CAAC"}
@@ -1,7 +1,6 @@
1
1
  declare const _default: {
2
2
  "*": string[];
3
3
  json: string[];
4
- jsoncc: string[];
5
4
  };
6
5
  export default _default;
7
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ignores/index.ts"],"names":[],"mappings":";;;;;AAEA,wBAOE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ignores/index.ts"],"names":[],"mappings":";;;;AAEA,wBAME"}
@@ -5,6 +5,5 @@ export default {
5
5
  "**/.clasprc.json",
6
6
  "**/package-lock.json",
7
7
  ],
8
- jsoncc: ["**/.vscode/c_cpp_properties.json"],
9
8
  };
10
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ignores/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,eAAe;IACb,GAAG,EAAE,MAAM;IACX,IAAI,EAAE;QACJ,kBAAkB;QAClB,sBAAsB;KACvB;IACD,MAAM,EAAE,CAAC,kCAAkC,CAAC;CAC7C,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ignores/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAE9B,eAAe;IACb,GAAG,EAAE,MAAM;IACX,IAAI,EAAE;QACJ,kBAAkB;QAClB,sBAAsB;KACvB;CACF,CAAC"}
package/dist/index.d.ts CHANGED
@@ -14,7 +14,6 @@ declare const _default: {
14
14
  ignores: {
15
15
  "*": string[];
16
16
  json: string[];
17
- jsoncc: string[];
18
17
  };
19
18
  rules: {
20
19
  js: ({
@@ -826,6 +825,7 @@ declare const _default: {
826
825
  })[];
827
826
  mocha: {
828
827
  rules: {
828
+ readonly "no-unsafe-call": import("./rules/state.js").State.OFF;
829
829
  readonly "no-unused-expressions": import("./rules/state.js").State.OFF;
830
830
  };
831
831
  }[];
@@ -1077,7 +1077,6 @@ declare const _default: {
1077
1077
  readonly "jsonc/no-undefined-value": import("./rules/state.js").State.ON;
1078
1078
  readonly "jsonc/no-unicode-codepoint-escapes": import("./rules/state.js").State.ON;
1079
1079
  readonly "jsonc/valid-json-number": import("./rules/state.js").State.ON;
1080
- readonly "jsonc/vue-custom-block/no-parsing-error": import("./rules/state.js").State.ON;
1081
1080
  };
1082
1081
  } | {
1083
1082
  rules: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAIE"}
@@ -808,6 +808,7 @@ declare const _default: {
808
808
  })[];
809
809
  mocha: {
810
810
  rules: {
811
+ readonly "no-unsafe-call": import("./state.js").State.OFF;
811
812
  readonly "no-unused-expressions": import("./state.js").State.OFF;
812
813
  };
813
814
  }[];
@@ -1059,7 +1060,6 @@ declare const _default: {
1059
1060
  readonly "jsonc/no-undefined-value": import("./state.js").State.ON;
1060
1061
  readonly "jsonc/no-unicode-codepoint-escapes": import("./state.js").State.ON;
1061
1062
  readonly "jsonc/valid-json-number": import("./state.js").State.ON;
1062
- readonly "jsonc/vue-custom-block/no-parsing-error": import("./state.js").State.ON;
1063
1063
  };
1064
1064
  } | {
1065
1065
  rules: {
@@ -25,7 +25,6 @@ declare const _default: ({
25
25
  readonly "jsonc/no-undefined-value": import("../state.js").State.ON;
26
26
  readonly "jsonc/no-unicode-codepoint-escapes": import("../state.js").State.ON;
27
27
  readonly "jsonc/valid-json-number": import("../state.js").State.ON;
28
- readonly "jsonc/vue-custom-block/no-parsing-error": import("../state.js").State.ON;
29
28
  };
30
29
  } | {
31
30
  rules: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/json/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAIE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/rules/json/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIA,wBAIE"}
@@ -19,7 +19,6 @@ declare const _default: {
19
19
  readonly "jsonc/no-undefined-value": State.ON;
20
20
  readonly "jsonc/no-unicode-codepoint-escapes": State.ON;
21
21
  readonly "jsonc/valid-json-number": State.ON;
22
- readonly "jsonc/vue-custom-block/no-parsing-error": State.ON;
23
22
  };
24
23
  };
25
24
  export default _default;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/rules/json/plugin/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;;AAGpC,wBA0BE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/rules/json/plugin/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;;;;;;;;;;;;;;;;;;;;;;;AAGpC,wBA0BE"}
@@ -18,7 +18,6 @@ export default {
18
18
  "jsonc/no-undefined-value": 2,
19
19
  "jsonc/no-unicode-codepoint-escapes": 2,
20
20
  "jsonc/valid-json-number": 2,
21
- "jsonc/vue-custom-block/no-parsing-error": 2,
22
21
  },
23
22
  };
24
23
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/rules/json/plugin/index.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QAGL,0BAA0B,GAAU;QACpC,4BAA4B,GAAU;QACtC,kCAAkC,GAAU;QAC5C,mBAAmB,GAAU;QAC7B,wCAAwC,GAAU;QAClD,uCAAuC,GAAU;QACjD,mBAAmB,GAAU;QAC7B,cAAc,GAAU;QACxB,uBAAuB,GAAU;QACjC,6BAA6B,GAAU;QACvC,iCAAiC,GAAU;QAC3C,wBAAwB,GAAU;QAClC,oBAAoB,GAAU;QAC9B,0BAA0B,GAAU;QACpC,4BAA4B,GAAU;QACtC,0BAA0B,GAAU;QACpC,oCAAoC,GAAU;QAG9C,yBAAyB,GAAU;QACnC,yCAAyC,GAAU;KAC3C;CACX,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/rules/json/plugin/index.ts"],"names":[],"mappings":"AAGA,eAAe;IACb,KAAK,EAAE;QAGL,0BAA0B,GAAU;QACpC,4BAA4B,GAAU;QACtC,kCAAkC,GAAU;QAC5C,mBAAmB,GAAU;QAC7B,wCAAwC,GAAU;QAClD,uCAAuC,GAAU;QACjD,mBAAmB,GAAU;QAC7B,cAAc,GAAU;QACxB,uBAAuB,GAAU;QACjC,6BAA6B,GAAU;QACvC,iCAAiC,GAAU;QAC3C,wBAAwB,GAAU;QAClC,oBAAoB,GAAU;QAC9B,0BAA0B,GAAU;QACpC,4BAA4B,GAAU;QACtC,0BAA0B,GAAU;QACpC,oCAAoC,GAAU;QAG9C,yBAAyB,GAAU;KAE3B;CACX,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { State } from "../state.js";
2
2
  declare const _default: {
3
3
  rules: {
4
+ readonly "no-unsafe-call": State.OFF;
4
5
  readonly "no-unused-expressions": State.OFF;
5
6
  };
6
7
  }[];
@@ -1 +1 @@
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,wBAME"}
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,wBAOE"}
@@ -1,6 +1,7 @@
1
1
  export default [
2
2
  {
3
3
  rules: {
4
+ "no-unsafe-call": 0,
4
5
  "no-unused-expressions": 0,
5
6
  },
6
7
  },
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/mocha/index.ts"],"names":[],"mappings":"AAEA,eAAe;IACb;QACE,KAAK,EAAE;YACL,uBAAuB,GAAW;SAC1B;KACX;CACF,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/rules/mocha/index.ts"],"names":[],"mappings":"AAEA,eAAe;IACb;QACE,KAAK,EAAE;YACL,gBAAgB,GAAW;YAC3B,uBAAuB,GAAW;SAC1B;KACX;CACF,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": "17.7.2",
6
+ "version": "17.7.4",
7
7
  "repository": "github:jimmy-zhening-luo/linted-defaults",
8
8
  "description": "Default scopes for `linted`",
9
9
  "keywords": [],
@@ -8,6 +8,7 @@ export default [
8
8
  "!*.js",
9
9
  "!*.cjs",
10
10
  "!*.mjs",
11
+ "**/.vscode/c_cpp_properties.json",
11
12
  ]
12
13
  .concat(
13
14
  js.map(file => "!" + file),
@@ -6,5 +6,4 @@ export default {
6
6
  "**/.clasprc.json",
7
7
  "**/package-lock.json",
8
8
  ],
9
- jsoncc: ["**/.vscode/c_cpp_properties.json"],
10
9
  };
@@ -25,6 +25,6 @@ export default {
25
25
  // "jsonc/sort-array-values": State.OFF /* preference: this makes no sense, arrays can be ordered */,
26
26
  // "jsonc/sort-keys": State.OFF /* ESLint: json/sort-keys BUT preference: only sort keys manually when I'd like */,
27
27
  "jsonc/valid-json-number": State.ON,
28
- "jsonc/vue-custom-block/no-parsing-error": State.ON,
28
+ // "jsonc/vue-custom-block/no-parsing-error": State.OFF,
29
29
  } as const,
30
30
  };
@@ -3,6 +3,7 @@ import { State } from "../state";
3
3
  export default [
4
4
  {
5
5
  rules: {
6
+ "no-unsafe-call": State.OFF /* fails to detect valueful assertions in mocha */,
6
7
  "no-unused-expressions": State.OFF /* fails to detect valueful assertions in mocha */,
7
8
  } as const,
8
9
  },
@@ -10,7 +10,7 @@ export default {
10
10
  "ts/no-unused-vars": State.OFF /* TS: breaks use of svelte global */,
11
11
  "prefer-const": State.OFF /* svelte/prefer-const */,
12
12
  // My own
13
- "stylistic/indent": State.OFF /* Conflicts with `svelte/indent` */,
13
+ "stylistic/indent": State.OFF /* conflicts with `svelte/indent` */,
14
14
  "ts/no-confusing-void-expression": State.OFF /* errors on render() */,
15
15
  } as const,
16
16
  };