@eslinted/defaults 4.11.2 → 4.12.0-rc.2
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/dist/ignores/global.d.ts +3 -0
- package/dist/ignores/global.d.ts.map +1 -0
- package/dist/ignores/global.js +11 -0
- package/dist/ignores/global.js.map +1 -0
- package/dist/ignores/index.d.ts.map +1 -1
- package/dist/ignores/index.js +2 -10
- package/dist/ignores/index.js.map +1 -1
- package/package.json +1 -1
- package/src/ignores/global.ts +12 -0
- package/src/ignores/index.ts +2 -12
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"global.d.ts","sourceRoot":"","sources":["../../src/ignores/global.ts"],"names":[],"mappings":";AAAA,wBAWE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"global.js","sourceRoot":"","sources":["../../src/ignores/global.ts"],"names":[],"mappings":"AAAA,eAAe;IAGb,aAAa;IACb,uBAAuB;IACvB,UAAU;IACV,eAAe;IACf,gBAAgB;IAChB,eAAe;IACf,oBAAoB;IACpB,eAAe;CAChB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ignores/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/ignores/index.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,OAAO;;;;;;;;;;CAUnB,CAAC"}
|
package/dist/ignores/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import global from "./global.js";
|
|
1
2
|
import js from "./scopes/js.js";
|
|
2
3
|
import ts from "./scopes/ts.js";
|
|
3
4
|
import svelte from "./scopes/svelte.js";
|
|
@@ -7,16 +8,7 @@ import json from "./scopes/json.js";
|
|
|
7
8
|
import jsonc from "./scopes/jsonc.js";
|
|
8
9
|
import yml from "./scopes/yml.js";
|
|
9
10
|
export const ignores = {
|
|
10
|
-
"*":
|
|
11
|
-
"{,**/.git/}",
|
|
12
|
-
"**/*package-lock.json",
|
|
13
|
-
"**/dist/",
|
|
14
|
-
"**/buil{d,t}/",
|
|
15
|
-
"**/bundle{,d}/",
|
|
16
|
-
"**/pack{,ed}/",
|
|
17
|
-
"{,**/.svelte-kit/}",
|
|
18
|
-
"{,**/.Trash/}",
|
|
19
|
-
],
|
|
11
|
+
"*": global,
|
|
20
12
|
js,
|
|
21
13
|
ts,
|
|
22
14
|
svelte,
|
|
@@ -1 +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,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,GAAG,EAAE
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/ignores/index.ts"],"names":[],"mappings":"AAAA,OAAO,MAAM,MAAM,UAAU,CAAC;AAC9B,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,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,GAAG,EAAE,MAAM;IACX,EAAE;IACF,EAAE;IACF,MAAM;IACN,KAAK;IACL,IAAI;IACJ,IAAI;IACJ,KAAK;IACL,GAAG;CACJ,CAAC"}
|
package/package.json
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export default [
|
|
2
|
+
// "**/node_modules/" /* ESLint @default */,
|
|
3
|
+
// ".git/" /* ESLint @default */,
|
|
4
|
+
"{,**/.git/}",
|
|
5
|
+
"**/*package-lock.json",
|
|
6
|
+
"**/dist/",
|
|
7
|
+
"**/buil{d,t}/",
|
|
8
|
+
"**/bundle{,d}/",
|
|
9
|
+
"**/pack{,ed}/",
|
|
10
|
+
"{,**/.svelte-kit/}",
|
|
11
|
+
"{,**/.Trash/}",
|
|
12
|
+
];
|
package/src/ignores/index.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import global from "./global";
|
|
1
2
|
import js from "./scopes/js";
|
|
2
3
|
import ts from "./scopes/ts";
|
|
3
4
|
import svelte from "./scopes/svelte";
|
|
@@ -8,18 +9,7 @@ import jsonc from "./scopes/jsonc";
|
|
|
8
9
|
import yml from "./scopes/yml";
|
|
9
10
|
|
|
10
11
|
export const ignores = {
|
|
11
|
-
"*":
|
|
12
|
-
// "**/node_modules/", /* ESLint @default */,
|
|
13
|
-
// ".git/", /* ESLint @default */,
|
|
14
|
-
"{,**/.git/}",
|
|
15
|
-
"**/*package-lock.json",
|
|
16
|
-
"**/dist/",
|
|
17
|
-
"**/buil{d,t}/",
|
|
18
|
-
"**/bundle{,d}/",
|
|
19
|
-
"**/pack{,ed}/",
|
|
20
|
-
"{,**/.svelte-kit/}",
|
|
21
|
-
"{,**/.Trash/}",
|
|
22
|
-
],
|
|
12
|
+
"*": global,
|
|
23
13
|
js,
|
|
24
14
|
ts,
|
|
25
15
|
svelte,
|