@ocavue/eslint-config 1.1.1 → 1.1.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/src/shared.d.ts +7 -7
- package/package.json +1 -1
- package/src/shared.js +6 -6
package/dist/src/shared.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export const GLOB_SRC_EXT: "?([
|
|
2
|
-
export const GLOB_SRC: "**/*.?([
|
|
3
|
-
export const GLOB_JS: "**/*.?([
|
|
4
|
-
export const GLOB_JSX: "**/*.?([
|
|
5
|
-
export const GLOB_TS: "**/*.?([
|
|
6
|
-
export const GLOB_TSX: "**/*.?([
|
|
1
|
+
export const GLOB_SRC_EXT: "?([cm])[jt]s?(x)";
|
|
2
|
+
export const GLOB_SRC: "**/*.?([cm])[jt]s?(x)";
|
|
3
|
+
export const GLOB_JS: "**/*.?([cm])js";
|
|
4
|
+
export const GLOB_JSX: "**/*.?([cm])jsx";
|
|
5
|
+
export const GLOB_TS: "**/*.?([cm])ts";
|
|
6
|
+
export const GLOB_TSX: "**/*.?([cm])tsx";
|
|
7
7
|
export const GLOB_STYLE: "**/*.{c,le,sc}ss";
|
|
8
8
|
export const GLOB_CSS: "**/*.css";
|
|
9
9
|
export const GLOB_LESS: "**/*.less";
|
|
@@ -16,7 +16,7 @@ export const GLOB_MARKDOWN: "**/*.md";
|
|
|
16
16
|
export const GLOB_VUE: "**/*.vue";
|
|
17
17
|
export const GLOB_YAML: "**/*.y?(a)ml";
|
|
18
18
|
export const GLOB_HTML: "**/*.htm?(l)";
|
|
19
|
-
export const GLOB_ALL_SRC: readonly ["**/*.?([
|
|
19
|
+
export const GLOB_ALL_SRC: readonly ["**/*.?([cm])[jt]s?(x)", "**/*.{c,le,sc}ss", "**/*.json", "**/*.json5", "**/*.md", "**/*.vue", "**/*.y?(a)ml", "**/*.htm?(l)"];
|
|
20
20
|
export const GLOB_NODE_MODULES: "**/node_modules";
|
|
21
21
|
export const GLOB_DIST: "**/dist";
|
|
22
22
|
export const GLOB_LOCKFILE: readonly ["**/package-lock.json", "**/yarn.lock", "**/pnpm-lock.yaml"];
|
package/package.json
CHANGED
package/src/shared.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
// @ts-check
|
|
2
2
|
|
|
3
|
-
export const GLOB_SRC_EXT = '?([
|
|
4
|
-
export const GLOB_SRC = '**/*.?([
|
|
3
|
+
export const GLOB_SRC_EXT = '?([cm])[jt]s?(x)'
|
|
4
|
+
export const GLOB_SRC = '**/*.?([cm])[jt]s?(x)'
|
|
5
5
|
|
|
6
|
-
export const GLOB_JS = '**/*.?([
|
|
7
|
-
export const GLOB_JSX = '**/*.?([
|
|
6
|
+
export const GLOB_JS = '**/*.?([cm])js'
|
|
7
|
+
export const GLOB_JSX = '**/*.?([cm])jsx'
|
|
8
8
|
|
|
9
|
-
export const GLOB_TS = '**/*.?([
|
|
10
|
-
export const GLOB_TSX = '**/*.?([
|
|
9
|
+
export const GLOB_TS = '**/*.?([cm])ts'
|
|
10
|
+
export const GLOB_TSX = '**/*.?([cm])tsx'
|
|
11
11
|
|
|
12
12
|
export const GLOB_STYLE = '**/*.{c,le,sc}ss'
|
|
13
13
|
export const GLOB_CSS = '**/*.css'
|