linted 21.1.2-rc.0 → 21.1.2-rc.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/files/index.js +8 -8
- package/dist/files/index.js.map +1 -1
- package/dist/files/scopes/html.d.ts.map +1 -0
- package/dist/files/scopes/html.js.map +1 -0
- package/dist/files/{js.d.ts.map → scopes/js.d.ts.map} +1 -1
- package/dist/files/scopes/js.js.map +1 -0
- package/dist/files/scopes/json.d.ts.map +1 -0
- package/dist/files/scopes/json.js.map +1 -0
- package/dist/files/scopes/jsonc.d.ts.map +1 -0
- package/dist/files/scopes/jsonc.js.map +1 -0
- package/dist/files/scopes/mocha.d.ts.map +1 -0
- package/dist/files/scopes/mocha.js.map +1 -0
- package/dist/files/scopes/svelte.d.ts.map +1 -0
- package/dist/files/scopes/svelte.js.map +1 -0
- package/dist/files/scopes/ts.d.ts.map +1 -0
- package/dist/files/scopes/ts.js.map +1 -0
- package/dist/files/scopes/yml.d.ts.map +1 -0
- package/dist/files/scopes/yml.js.map +1 -0
- package/dist/ignores/global.d.ts +3 -0
- package/dist/ignores/global.d.ts.map +1 -0
- package/dist/ignores/global.js +2 -0
- package/dist/ignores/global.js.map +1 -0
- package/dist/ignores/index.d.ts +12 -0
- package/dist/ignores/index.d.ts.map +1 -0
- package/dist/ignores/index.js +19 -0
- package/dist/ignores/index.js.map +1 -0
- package/dist/ignores/scopes/html.d.ts +3 -0
- package/dist/ignores/scopes/html.d.ts.map +1 -0
- package/dist/ignores/scopes/html.js +2 -0
- package/dist/ignores/scopes/html.js.map +1 -0
- package/dist/ignores/scopes/js.d.ts +3 -0
- package/dist/ignores/scopes/js.d.ts.map +1 -0
- package/dist/ignores/scopes/js.js +2 -0
- package/dist/ignores/scopes/js.js.map +1 -0
- package/dist/ignores/scopes/json.d.ts +3 -0
- package/dist/ignores/scopes/json.d.ts.map +1 -0
- package/dist/ignores/scopes/json.js +2 -0
- package/dist/ignores/scopes/json.js.map +1 -0
- package/dist/ignores/scopes/jsonc.d.ts +3 -0
- package/dist/ignores/scopes/jsonc.d.ts.map +1 -0
- package/dist/ignores/scopes/jsonc.js +2 -0
- package/dist/ignores/scopes/jsonc.js.map +1 -0
- package/dist/ignores/scopes/mocha.d.ts +3 -0
- package/dist/ignores/scopes/mocha.d.ts.map +1 -0
- package/dist/ignores/scopes/mocha.js +2 -0
- package/dist/ignores/scopes/mocha.js.map +1 -0
- package/dist/ignores/scopes/svelte.d.ts +3 -0
- package/dist/ignores/scopes/svelte.d.ts.map +1 -0
- package/dist/ignores/scopes/svelte.js +2 -0
- package/dist/ignores/scopes/svelte.js.map +1 -0
- package/dist/ignores/scopes/ts.d.ts +3 -0
- package/dist/ignores/scopes/ts.d.ts.map +1 -0
- package/dist/ignores/scopes/ts.js +2 -0
- package/dist/ignores/scopes/ts.js.map +1 -0
- package/dist/ignores/scopes/yml.d.ts +3 -0
- package/dist/ignores/scopes/yml.d.ts.map +1 -0
- package/dist/ignores/scopes/yml.js +2 -0
- package/dist/ignores/scopes/yml.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +14 -0
- package/dist/index.js.map +1 -1
- package/dist/settings/index.d.ts +8 -0
- package/dist/settings/index.d.ts.map +1 -0
- package/dist/settings/index.js +7 -0
- package/dist/settings/index.js.map +1 -0
- package/package.json +2 -2
- package/src/files/index.ts +8 -8
- package/src/ignores/global.ts +1 -0
- package/src/ignores/index.ts +19 -0
- package/src/ignores/scopes/html.ts +1 -0
- package/src/ignores/scopes/js.ts +1 -0
- package/src/ignores/scopes/json.ts +1 -0
- package/src/ignores/scopes/jsonc.ts +1 -0
- package/src/ignores/scopes/mocha.ts +1 -0
- package/src/ignores/scopes/svelte.ts +1 -0
- package/src/ignores/scopes/ts.ts +1 -0
- package/src/ignores/scopes/yml.ts +1 -0
- package/src/index.ts +15 -0
- package/src/settings/index.ts +6 -0
- package/dist/files/html.d.ts.map +0 -1
- package/dist/files/html.js.map +0 -1
- package/dist/files/js.js.map +0 -1
- package/dist/files/json.d.ts.map +0 -1
- package/dist/files/json.js.map +0 -1
- package/dist/files/jsonc.d.ts.map +0 -1
- package/dist/files/jsonc.js.map +0 -1
- package/dist/files/mocha.d.ts.map +0 -1
- package/dist/files/mocha.js.map +0 -1
- package/dist/files/mochaJs.d.ts +0 -3
- package/dist/files/mochaJs.d.ts.map +0 -1
- package/dist/files/mochaJs.js +0 -5
- package/dist/files/mochaJs.js.map +0 -1
- package/dist/files/svelte.d.ts.map +0 -1
- package/dist/files/svelte.js.map +0 -1
- package/dist/files/ts.d.ts.map +0 -1
- package/dist/files/ts.js.map +0 -1
- package/dist/files/yml.d.ts.map +0 -1
- package/dist/files/yml.js.map +0 -1
- package/src/files/mochaJs.ts +0 -4
- /package/dist/files/{html.d.ts → scopes/html.d.ts} +0 -0
- /package/dist/files/{html.js → scopes/html.js} +0 -0
- /package/dist/files/{js.d.ts → scopes/js.d.ts} +0 -0
- /package/dist/files/{js.js → scopes/js.js} +0 -0
- /package/dist/files/{json.d.ts → scopes/json.d.ts} +0 -0
- /package/dist/files/{json.js → scopes/json.js} +0 -0
- /package/dist/files/{jsonc.d.ts → scopes/jsonc.d.ts} +0 -0
- /package/dist/files/{jsonc.js → scopes/jsonc.js} +0 -0
- /package/dist/files/{mocha.d.ts → scopes/mocha.d.ts} +0 -0
- /package/dist/files/{mocha.js → scopes/mocha.js} +0 -0
- /package/dist/files/{svelte.d.ts → scopes/svelte.d.ts} +0 -0
- /package/dist/files/{svelte.js → scopes/svelte.js} +0 -0
- /package/dist/files/{ts.d.ts → scopes/ts.d.ts} +0 -0
- /package/dist/files/{ts.js → scopes/ts.js} +0 -0
- /package/dist/files/{yml.d.ts → scopes/yml.d.ts} +0 -0
- /package/dist/files/{yml.js → scopes/yml.js} +0 -0
- /package/src/files/{html.ts → scopes/html.ts} +0 -0
- /package/src/files/{js.ts → scopes/js.ts} +0 -0
- /package/src/files/{json.ts → scopes/json.ts} +0 -0
- /package/src/files/{jsonc.ts → scopes/jsonc.ts} +0 -0
- /package/src/files/{mocha.ts → scopes/mocha.ts} +0 -0
- /package/src/files/{svelte.ts → scopes/svelte.ts} +0 -0
- /package/src/files/{ts.ts → scopes/ts.ts} +0 -0
- /package/src/files/{yml.ts → scopes/yml.ts} +0 -0
package/dist/files/index.js
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
import js from "./js.js";
|
2
|
-
import ts from "./ts.js";
|
3
|
-
import svelte from "./svelte.js";
|
4
|
-
import mocha from "./mocha.js";
|
5
|
-
import html from "./html.js";
|
6
|
-
import json from "./json.js";
|
7
|
-
import jsonc from "./jsonc.js";
|
8
|
-
import yml from "./yml.js";
|
1
|
+
import js from "./scopes/js.js";
|
2
|
+
import ts from "./scopes/ts.js";
|
3
|
+
import svelte from "./scopes/svelte.js";
|
4
|
+
import mocha from "./scopes/mocha.js";
|
5
|
+
import html from "./scopes/html.js";
|
6
|
+
import json from "./scopes/json.js";
|
7
|
+
import jsonc from "./scopes/jsonc.js";
|
8
|
+
import yml from "./scopes/yml.js";
|
9
9
|
export default {
|
10
10
|
js,
|
11
11
|
ts,
|
package/dist/files/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/files/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/files/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,aAAa,CAAC;AAC7B,OAAO,EAAE,MAAM,aAAa,CAAC;AAC7B,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,KAAK,MAAM,gBAAgB,CAAC;AACnC,OAAO,IAAI,MAAM,eAAe,CAAC;AACjC,OAAO,IAAI,MAAM,eAAe,CAAC;AACjC,OAAO,KAAK,MAAM,gBAAgB,CAAC;AACnC,OAAO,GAAG,MAAM,cAAc,CAAC;AAE/B,eAAe;IACb,EAAE;IACF,EAAE;IACF,MAAM;IACN,KAAK;IACL,IAAI;IACJ,IAAI;IACJ,KAAK;IACL,GAAG;CACJ,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"html.d.ts","sourceRoot":"","sources":["../../../src/files/scopes/html.ts"],"names":[],"mappings":";AAAA,wBAAgD"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"html.js","sourceRoot":"","sources":["../../../src/files/scopes/html.ts"],"names":[],"mappings":"AAAA,eAAe,CAAC,8BAA8B,CAAC,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"js.d.ts","sourceRoot":"","sources":["
|
1
|
+
{"version":3,"file":"js.d.ts","sourceRoot":"","sources":["../../../src/files/scopes/js.ts"],"names":[],"mappings":";AAAA,wBAGE"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"js.js","sourceRoot":"","sources":["../../../src/files/scopes/js.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,YAAY;IACZ,0CAA0C;CAC3C,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"json.d.ts","sourceRoot":"","sources":["../../../src/files/scopes/json.ts"],"names":[],"mappings":";AAAA,wBAA6B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"json.js","sourceRoot":"","sources":["../../../src/files/scopes/json.ts"],"names":[],"mappings":"AAAA,eAAe,CAAC,WAAW,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"jsonc.d.ts","sourceRoot":"","sources":["../../../src/files/scopes/jsonc.ts"],"names":[],"mappings":";AAAA,wBAIE"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"jsonc.js","sourceRoot":"","sources":["../../../src/files/scopes/jsonc.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,YAAY;IACZ,kBAAkB;IAClB,oBAAoB;CACrB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"mocha.d.ts","sourceRoot":"","sources":["../../../src/files/scopes/mocha.ts"],"names":[],"mappings":";AAAA,wBAGE"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"mocha.js","sourceRoot":"","sources":["../../../src/files/scopes/mocha.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,2BAA2B;IAC3B,2BAA2B;CAC5B,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"svelte.d.ts","sourceRoot":"","sources":["../../../src/files/scopes/svelte.ts"],"names":[],"mappings":";AAAA,wBAAkD"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"svelte.js","sourceRoot":"","sources":["../../../src/files/scopes/svelte.ts"],"names":[],"mappings":"AAAA,eAAe,CAAC,gCAAgC,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ts.d.ts","sourceRoot":"","sources":["../../../src/files/scopes/ts.ts"],"names":[],"mappings":";AAAA,wBAAiC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ts.js","sourceRoot":"","sources":["../../../src/files/scopes/ts.ts"],"names":[],"mappings":"AAAA,eAAe,CAAC,eAAe,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"yml.d.ts","sourceRoot":"","sources":["../../../src/files/scopes/yml.ts"],"names":[],"mappings":";AAAA,wBAAgC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"yml.js","sourceRoot":"","sources":["../../../src/files/scopes/yml.ts"],"names":[],"mappings":"AAAA,eAAe,CAAC,cAAc,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"global.d.ts","sourceRoot":"","sources":["../../src/ignores/global.ts"],"names":[],"mappings":";AAAA,wBAAkB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"global.js","sourceRoot":"","sources":["../../src/ignores/global.ts"],"names":[],"mappings":"AAAA,eAAe,EAAE,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ignores/index.ts"],"names":[],"mappings":";;;;;;;;;;AASA,wBASE"}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import js from "./scopes/js.js";
|
2
|
+
import ts from "./scopes/ts.js";
|
3
|
+
import svelte from "./scopes/svelte.js";
|
4
|
+
import mocha from "./scopes/mocha.js";
|
5
|
+
import html from "./scopes/html.js";
|
6
|
+
import json from "./scopes/json.js";
|
7
|
+
import jsonc from "./scopes/jsonc.js";
|
8
|
+
import yml from "./scopes/yml.js";
|
9
|
+
export default {
|
10
|
+
js,
|
11
|
+
ts,
|
12
|
+
svelte,
|
13
|
+
mocha,
|
14
|
+
html,
|
15
|
+
json,
|
16
|
+
jsonc,
|
17
|
+
yml,
|
18
|
+
};
|
19
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ignores/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,aAAa,CAAC;AAC7B,OAAO,EAAE,MAAM,aAAa,CAAC;AAC7B,OAAO,MAAM,MAAM,iBAAiB,CAAC;AACrC,OAAO,KAAK,MAAM,gBAAgB,CAAC;AACnC,OAAO,IAAI,MAAM,eAAe,CAAC;AACjC,OAAO,IAAI,MAAM,eAAe,CAAC;AACjC,OAAO,KAAK,MAAM,gBAAgB,CAAC;AACnC,OAAO,GAAG,MAAM,cAAc,CAAC;AAE/B,eAAe;IACb,EAAE;IACF,EAAE;IACF,MAAM;IACN,KAAK;IACL,IAAI;IACJ,IAAI;IACJ,KAAK;IACL,GAAG;CACJ,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"html.d.ts","sourceRoot":"","sources":["../../../src/ignores/scopes/html.ts"],"names":[],"mappings":";AAAA,wBAAkB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"html.js","sourceRoot":"","sources":["../../../src/ignores/scopes/html.ts"],"names":[],"mappings":"AAAA,eAAe,EAAE,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"js.d.ts","sourceRoot":"","sources":["../../../src/ignores/scopes/js.ts"],"names":[],"mappings":";AAAA,wBAAkB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"js.js","sourceRoot":"","sources":["../../../src/ignores/scopes/js.ts"],"names":[],"mappings":"AAAA,eAAe,EAAE,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"json.d.ts","sourceRoot":"","sources":["../../../src/ignores/scopes/json.ts"],"names":[],"mappings":";AAAA,wBAAyC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"json.js","sourceRoot":"","sources":["../../../src/ignores/scopes/json.ts"],"names":[],"mappings":"AAAA,eAAe,CAAC,uBAAuB,CAAC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"jsonc.d.ts","sourceRoot":"","sources":["../../../src/ignores/scopes/jsonc.ts"],"names":[],"mappings":";AAAA,wBAAkB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"jsonc.js","sourceRoot":"","sources":["../../../src/ignores/scopes/jsonc.ts"],"names":[],"mappings":"AAAA,eAAe,EAAE,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"mocha.d.ts","sourceRoot":"","sources":["../../../src/ignores/scopes/mocha.ts"],"names":[],"mappings":";AAAA,wBAAkB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"mocha.js","sourceRoot":"","sources":["../../../src/ignores/scopes/mocha.ts"],"names":[],"mappings":"AAAA,eAAe,EAAE,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"svelte.d.ts","sourceRoot":"","sources":["../../../src/ignores/scopes/svelte.ts"],"names":[],"mappings":";AAAA,wBAAkB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"svelte.js","sourceRoot":"","sources":["../../../src/ignores/scopes/svelte.ts"],"names":[],"mappings":"AAAA,eAAe,EAAE,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ts.d.ts","sourceRoot":"","sources":["../../../src/ignores/scopes/ts.ts"],"names":[],"mappings":";AAAA,wBAAkB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"ts.js","sourceRoot":"","sources":["../../../src/ignores/scopes/ts.ts"],"names":[],"mappings":"AAAA,eAAe,EAAE,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"yml.d.ts","sourceRoot":"","sources":["../../../src/ignores/scopes/yml.ts"],"names":[],"mappings":";AAAA,wBAAkB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"yml.js","sourceRoot":"","sources":["../../../src/ignores/scopes/yml.ts"],"names":[],"mappings":"AAAA,eAAe,EAAE,CAAC"}
|
package/dist/index.d.ts
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
import type { Input } from "@eslinted/core";
|
2
|
-
export default function (includes?: Input["files"]["includes"], overrides?: Input["rules"]["overrides"]): [import("@eslinted/core
|
2
|
+
export default function (includes?: Input["files"]["includes"], overrides?: Input["rules"]["overrides"]): [import("@eslinted/core").GlobalConfigIgnores, import("@eslinted/core").GlobalConfigSystem, ...import("@eslinted/core").ScopedConfig[]];
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAS5C,MAAM,CAAC,OAAO,WACZ,QAAQ,GAAE,KAAK,CAAC,OAAO,CAAC,CAAC,UAAU,CAAM,EACzC,SAAS,GAAE,KAAK,CAAC,OAAO,CAAC,CAAC,WAAW,CAAM,2IA+B5C"}
|
package/dist/index.js
CHANGED
@@ -1,16 +1,30 @@
|
|
1
1
|
import core from "@eslinted/core";
|
2
2
|
import imports from "./imports/index.js";
|
3
|
+
import settings from "./settings/index.js";
|
3
4
|
import files from "./files/index.js";
|
5
|
+
import ignores from "./ignores/index.js";
|
6
|
+
import globalIgnores from "./ignores/global.js";
|
4
7
|
import rules from "./rules/index.js";
|
5
8
|
export default function (includes = {}, overrides = {}) {
|
6
9
|
try {
|
7
10
|
return core({
|
8
11
|
plugins: imports.plugins,
|
9
12
|
parsers: imports.parsers,
|
13
|
+
settings,
|
14
|
+
globals: {
|
15
|
+
ignores: {
|
16
|
+
ignores: globalIgnores,
|
17
|
+
},
|
18
|
+
extend: {},
|
19
|
+
},
|
10
20
|
files: {
|
11
21
|
files,
|
12
22
|
includes,
|
13
23
|
},
|
24
|
+
ignores: {
|
25
|
+
ignores,
|
26
|
+
extend: {},
|
27
|
+
},
|
14
28
|
rules: {
|
15
29
|
rules,
|
16
30
|
overrides,
|
package/dist/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAClC,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,KAAK,MAAM,SAAS,CAAC;AAE5B,MAAM,CAAC,OAAO,WACZ,WAAuC,EAAE,EACzC,YAAyC,EAAE;IAE3C,IAAI,CAAC;QACH,OAAO,IAAI,CACT;YACE,OAAO,EAAE,OAAO,CAAC,OAAO;YACxB,OAAO,EAAE,OAAO,CAAC,OAAO;YACxB,KAAK,EAAE;gBACL,KAAK;gBACL,QAAQ;aACT;YACD,KAAK,EAAE;gBACL,KAAK;gBACL,SAAS;aACV;SACF,CACF,CAAC;IACJ,CAAC;IACD,OAAO,CAAC,EAAE,CAAC;QAAC,MAAM,IAAI,KAAK,CAAC,YAAY,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;IAAC,CAAC;AAC5D,CAAC"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,IAAI,MAAM,gBAAgB,CAAC;AAClC,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,QAAQ,MAAM,YAAY,CAAC;AAClC,OAAO,KAAK,MAAM,SAAS,CAAC;AAC5B,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,aAAa,MAAM,kBAAkB,CAAC;AAC7C,OAAO,KAAK,MAAM,SAAS,CAAC;AAE5B,MAAM,CAAC,OAAO,WACZ,WAAuC,EAAE,EACzC,YAAyC,EAAE;IAE3C,IAAI,CAAC;QACH,OAAO,IAAI,CACT;YACE,OAAO,EAAE,OAAO,CAAC,OAAO;YACxB,OAAO,EAAE,OAAO,CAAC,OAAO;YACxB,QAAQ;YACR,OAAO,EAAE;gBACP,OAAO,EAAE;oBACP,OAAO,EAAE,aAAa;iBACvB;gBACD,MAAM,EAAE,EAAE;aAEX;YACD,KAAK,EAAE;gBACL,KAAK;gBACL,QAAQ;aACT;YACD,OAAO,EAAE;gBACP,OAAO;gBACP,MAAM,EAAE,EAAE;aACX;YACD,KAAK,EAAE;gBACL,KAAK;gBACL,SAAS;aACV;SACF,CACF,CAAC;IACJ,CAAC;IACD,OAAO,CAAC,EAAE,CAAC;QAAC,MAAM,IAAI,KAAK,CAAC,YAAY,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;IAAC,CAAC;AAC5D,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/settings/index.ts"],"names":[],"mappings":";;;;;;AAAA,wBAKW"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/settings/index.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,cAAc,EAAE,IAAI;IACpB,6BAA6B,EAAE,OAAO;IACtC,UAAU,EAAE,QAAQ;IACpB,WAAW,EAAE,IAAI;CACT,CAAC"}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"_schemaVersion": "22.11.0",
|
3
3
|
"name": "linted",
|
4
|
-
"version": "21.1.2-rc.
|
4
|
+
"version": "21.1.2-rc.2",
|
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",
|
@@ -62,7 +62,7 @@
|
|
62
62
|
}
|
63
63
|
},
|
64
64
|
"dependencies": {
|
65
|
-
"@eslinted/core": "
|
65
|
+
"@eslinted/core": "12.0.0-rc.3",
|
66
66
|
"@html-eslint/eslint-plugin": "0.27.0",
|
67
67
|
"@html-eslint/parser": "0.27.0",
|
68
68
|
"@stylistic/eslint-plugin": "2.10.1",
|
package/src/files/index.ts
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
import js from "./js";
|
2
|
-
import ts from "./ts";
|
3
|
-
import svelte from "./svelte";
|
4
|
-
import mocha from "./mocha";
|
5
|
-
import html from "./html";
|
6
|
-
import json from "./json";
|
7
|
-
import jsonc from "./jsonc";
|
8
|
-
import yml from "./yml";
|
1
|
+
import js from "./scopes/js";
|
2
|
+
import ts from "./scopes/ts";
|
3
|
+
import svelte from "./scopes/svelte";
|
4
|
+
import mocha from "./scopes/mocha";
|
5
|
+
import html from "./scopes/html";
|
6
|
+
import json from "./scopes/json";
|
7
|
+
import jsonc from "./scopes/jsonc";
|
8
|
+
import yml from "./scopes/yml";
|
9
9
|
|
10
10
|
export default {
|
11
11
|
js,
|
@@ -0,0 +1 @@
|
|
1
|
+
export default [];
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import js from "./scopes/js";
|
2
|
+
import ts from "./scopes/ts";
|
3
|
+
import svelte from "./scopes/svelte";
|
4
|
+
import mocha from "./scopes/mocha";
|
5
|
+
import html from "./scopes/html";
|
6
|
+
import json from "./scopes/json";
|
7
|
+
import jsonc from "./scopes/jsonc";
|
8
|
+
import yml from "./scopes/yml";
|
9
|
+
|
10
|
+
export default {
|
11
|
+
js,
|
12
|
+
ts,
|
13
|
+
svelte,
|
14
|
+
mocha,
|
15
|
+
html,
|
16
|
+
json,
|
17
|
+
jsonc,
|
18
|
+
yml,
|
19
|
+
};
|
@@ -0,0 +1 @@
|
|
1
|
+
export default [];
|
@@ -0,0 +1 @@
|
|
1
|
+
export default [];
|
@@ -0,0 +1 @@
|
|
1
|
+
export default ["**/*package-lock.json"];
|
@@ -0,0 +1 @@
|
|
1
|
+
export default [];
|
@@ -0,0 +1 @@
|
|
1
|
+
export default [];
|
@@ -0,0 +1 @@
|
|
1
|
+
export default [];
|
@@ -0,0 +1 @@
|
|
1
|
+
export default [];
|
@@ -0,0 +1 @@
|
|
1
|
+
export default [];
|
package/src/index.ts
CHANGED
@@ -1,7 +1,10 @@
|
|
1
1
|
import type { Input } from "@eslinted/core";
|
2
2
|
import core from "@eslinted/core";
|
3
3
|
import imports from "./imports";
|
4
|
+
import settings from "./settings";
|
4
5
|
import files from "./files";
|
6
|
+
import ignores from "./ignores";
|
7
|
+
import globalIgnores from "./ignores/global";
|
5
8
|
import rules from "./rules";
|
6
9
|
|
7
10
|
export default function (
|
@@ -13,10 +16,22 @@ export default function (
|
|
13
16
|
{
|
14
17
|
plugins: imports.plugins,
|
15
18
|
parsers: imports.parsers,
|
19
|
+
settings,
|
20
|
+
globals: {
|
21
|
+
ignores: {
|
22
|
+
ignores: globalIgnores,
|
23
|
+
},
|
24
|
+
extend: {},
|
25
|
+
|
26
|
+
},
|
16
27
|
files: {
|
17
28
|
files,
|
18
29
|
includes,
|
19
30
|
},
|
31
|
+
ignores: {
|
32
|
+
ignores,
|
33
|
+
extend: {},
|
34
|
+
},
|
20
35
|
rules: {
|
21
36
|
rules,
|
22
37
|
overrides,
|
package/dist/files/html.d.ts.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"html.d.ts","sourceRoot":"","sources":["../../src/files/html.ts"],"names":[],"mappings":";AAAA,wBAAgD"}
|
package/dist/files/html.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"html.js","sourceRoot":"","sources":["../../src/files/html.ts"],"names":[],"mappings":"AAAA,eAAe,CAAC,8BAA8B,CAAC,CAAC"}
|
package/dist/files/js.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"js.js","sourceRoot":"","sources":["../../src/files/js.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,YAAY;IACZ,0CAA0C;CAC3C,CAAC"}
|
package/dist/files/json.d.ts.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"json.d.ts","sourceRoot":"","sources":["../../src/files/json.ts"],"names":[],"mappings":";AAAA,wBAA6B"}
|
package/dist/files/json.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"json.js","sourceRoot":"","sources":["../../src/files/json.ts"],"names":[],"mappings":"AAAA,eAAe,CAAC,WAAW,CAAC,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"jsonc.d.ts","sourceRoot":"","sources":["../../src/files/jsonc.ts"],"names":[],"mappings":";AAAA,wBAIE"}
|
package/dist/files/jsonc.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"jsonc.js","sourceRoot":"","sources":["../../src/files/jsonc.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,YAAY;IACZ,kBAAkB;IAClB,oBAAoB;CACrB,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"mocha.d.ts","sourceRoot":"","sources":["../../src/files/mocha.ts"],"names":[],"mappings":";AAAA,wBAGE"}
|
package/dist/files/mocha.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"mocha.js","sourceRoot":"","sources":["../../src/files/mocha.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,2BAA2B;IAC3B,2BAA2B;CAC5B,CAAC"}
|
package/dist/files/mochaJs.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"mochaJs.d.ts","sourceRoot":"","sources":["../../src/files/mochaJs.ts"],"names":[],"mappings":";AAAA,wBAGE"}
|
package/dist/files/mochaJs.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"mochaJs.js","sourceRoot":"","sources":["../../src/files/mochaJs.ts"],"names":[],"mappings":"AAAA,eAAe;IACb,2BAA2B;IAC3B,2BAA2B;CAC5B,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"svelte.d.ts","sourceRoot":"","sources":["../../src/files/svelte.ts"],"names":[],"mappings":";AAAA,wBAAkD"}
|
package/dist/files/svelte.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"svelte.js","sourceRoot":"","sources":["../../src/files/svelte.ts"],"names":[],"mappings":"AAAA,eAAe,CAAC,gCAAgC,CAAC,CAAC"}
|
package/dist/files/ts.d.ts.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ts.d.ts","sourceRoot":"","sources":["../../src/files/ts.ts"],"names":[],"mappings":";AAAA,wBAAiC"}
|
package/dist/files/ts.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"ts.js","sourceRoot":"","sources":["../../src/files/ts.ts"],"names":[],"mappings":"AAAA,eAAe,CAAC,eAAe,CAAC,CAAC"}
|
package/dist/files/yml.d.ts.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"yml.d.ts","sourceRoot":"","sources":["../../src/files/yml.ts"],"names":[],"mappings":";AAAA,wBAAgC"}
|
package/dist/files/yml.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"yml.js","sourceRoot":"","sources":["../../src/files/yml.ts"],"names":[],"mappings":"AAAA,eAAe,CAAC,cAAc,CAAC,CAAC"}
|
package/src/files/mochaJs.ts
DELETED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|