hkx-eslint-config 2.0.3 → 2.0.7

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,14 +1 @@
1
- import "../import.js";
2
- import config$1 from "../rules/recommended-javascript.js";
3
- import { t as config$2 } from "../node.js";
4
- import globals from "globals";
5
-
6
- //#region config/node-js.ts
7
- const config = [{
8
- files: ["**/*.js"],
9
- extends: [config$1, config$2],
10
- languageOptions: { globals: { ...globals.node } }
11
- }];
12
-
13
- //#endregion
14
- export { config as default };
1
+ import"../import.js";import e from"../rules/recommended-javascript.js";import{t}from"../node.js";import n from"globals";const r=[{files:[`**/*.js`],extends:[e,t],languageOptions:{globals:{...n.node}}}];export{r as default};
@@ -1,19 +1 @@
1
- import "../import.js";
2
- import { t as config$1 } from "../node.js";
3
- import { t as config$2 } from "../recommended-typescript.js";
4
- import globals from "globals";
5
- import tseslint from "typescript-eslint";
6
-
7
- //#region config/node-ts.ts
8
- const config = [{
9
- files: ["**/*.ts"],
10
- extends: [config$2, config$1],
11
- languageOptions: {
12
- parser: tseslint.parser,
13
- parserOptions: { projectService: true },
14
- globals: { ...globals.node }
15
- }
16
- }];
17
-
18
- //#endregion
19
- export { config as default };
1
+ import"../import.js";import{t as e}from"../node.js";import{t}from"../recommended-typescript.js";import n from"globals";import r from"typescript-eslint";const i=[{files:[`**/*.ts`],extends:[t,e],languageOptions:{parser:r.parser,parserOptions:{projectService:!0},globals:{...n.node}}}];export{i as default};
@@ -1,17 +1 @@
1
- import "../import.js";
2
- import config$1 from "../rules/recommended-javascript.js";
3
- import { t as config$2 } from "../react.js";
4
- import globals from "globals";
5
-
6
- //#region config/react-js.ts
7
- const config = [{
8
- files: ["**/*.js", "**/*.jsx"],
9
- extends: [config$1, config$2],
10
- languageOptions: {
11
- parserOptions: { ecmaFeatures: { jsx: true } },
12
- globals: { ...globals.browser }
13
- }
14
- }];
15
-
16
- //#endregion
17
- export { config as default };
1
+ import"../import.js";import e from"../rules/recommended-javascript.js";import{t}from"../react.js";import n from"globals";const r=[{files:[`**/*.js`,`**/*.jsx`],extends:[e,t],languageOptions:{parserOptions:{ecmaFeatures:{jsx:!0}},globals:{...n.browser}}}];export{r as default};
@@ -1,19 +1 @@
1
- import "../import.js";
2
- import { t as config$1 } from "../recommended-typescript.js";
3
- import { t as config$2 } from "../react.js";
4
- import globals from "globals";
5
- import tseslint from "typescript-eslint";
6
-
7
- //#region config/react-ts.ts
8
- const config = [{
9
- files: ["**/*.ts", "**/*.tsx"],
10
- extends: [config$1, config$2],
11
- languageOptions: {
12
- parser: tseslint.parser,
13
- parserOptions: { projectService: true },
14
- globals: { ...globals.browser }
15
- }
16
- }];
17
-
18
- //#endregion
19
- export { config as default };
1
+ import"../import.js";import{t as e}from"../recommended-typescript.js";import{t}from"../react.js";import n from"globals";import r from"typescript-eslint";const i=[{files:[`**/*.ts`,`**/*.tsx`],extends:[e,t],languageOptions:{parser:r.parser,parserOptions:{projectService:!0},globals:{...n.browser}}}];export{i as default};
@@ -1,11 +1 @@
1
- import "../import.js";
2
- import config$1 from "../rules/recommended-javascript.js";
3
-
4
- //#region config/standard-js.ts
5
- const config = [{
6
- files: ["**/*.js"],
7
- extends: [config$1]
8
- }];
9
-
10
- //#endregion
11
- export { config as default };
1
+ import"../import.js";import e from"../rules/recommended-javascript.js";const t=[{files:[`**/*.js`],extends:[e]}];export{t as default};
@@ -1,16 +1 @@
1
- import "../import.js";
2
- import { t as config$1 } from "../recommended-typescript.js";
3
- import tseslint from "typescript-eslint";
4
-
5
- //#region config/standard-ts.ts
6
- const config = [{
7
- files: ["**/*.ts"],
8
- extends: [config$1],
9
- languageOptions: {
10
- parser: tseslint.parser,
11
- parserOptions: { projectService: true }
12
- }
13
- }];
14
-
15
- //#endregion
16
- export { config as default };
1
+ import"../import.js";import{t as e}from"../recommended-typescript.js";import t from"typescript-eslint";const n=[{files:[`**/*.ts`],extends:[e],languageOptions:{parser:t.parser,parserOptions:{projectService:!0}}}];export{n as default};
@@ -1,34 +1 @@
1
- import "../import.js";
2
- import config$1 from "../rules/recommended-javascript.js";
3
- import { t as config$2 } from "../vue.js";
4
- import globals from "globals";
5
- import pluginVue from "eslint-plugin-vue";
6
- import vueParser from "vue-eslint-parser";
7
-
8
- //#region config/vue-js.ts
9
- const config = [{
10
- files: ["**/*.js", "**/*.jsx"],
11
- extends: [config$1],
12
- languageOptions: {
13
- parserOptions: { ecmaFeatures: { jsx: true } },
14
- globals: { ...globals.browser }
15
- }
16
- }, {
17
- files: ["**/*.vue"],
18
- extends: [config$1, config$2],
19
- plugins: { get vue() {
20
- return pluginVue;
21
- } },
22
- languageOptions: {
23
- parser: vueParser,
24
- parserOptions: {
25
- extraFileExtensions: [".vue", ".jsx"],
26
- ecmaFeatures: { jsx: true }
27
- },
28
- globals: { ...globals.browser }
29
- },
30
- processor: "vue/vue"
31
- }];
32
-
33
- //#endregion
34
- export { config as default };
1
+ import"../import.js";import e from"../rules/recommended-javascript.js";import{t}from"../vue.js";import n from"globals";import r from"eslint-plugin-vue";import i from"vue-eslint-parser";const a=[{files:[`**/*.js`,`**/*.jsx`],extends:[e],languageOptions:{parserOptions:{ecmaFeatures:{jsx:!0}},globals:{...n.browser}}},{files:[`**/*.vue`],extends:[e,t],plugins:{get vue(){return r}},languageOptions:{parser:i,parserOptions:{extraFileExtensions:[`.vue`,`.jsx`],ecmaFeatures:{jsx:!0}},globals:{...n.browser}},processor:`vue/vue`}];export{a as default};
@@ -1,44 +1 @@
1
- import "../import.js";
2
- import { t as config$1 } from "../recommended-typescript.js";
3
- import { t as config$2 } from "../vue.js";
4
- import globals from "globals";
5
- import tseslint from "typescript-eslint";
6
- import pluginVue from "eslint-plugin-vue";
7
- import vueParser from "vue-eslint-parser";
8
-
9
- //#region config/vue-ts.ts
10
- const config = [{
11
- files: ["**/*.ts", "**/*.tsx"],
12
- extends: [config$1],
13
- languageOptions: {
14
- parser: tseslint.parser,
15
- parserOptions: {
16
- projectService: true,
17
- ecmaFeatures: { jsx: true }
18
- },
19
- globals: { ...globals.browser }
20
- }
21
- }, {
22
- files: ["**/*.vue"],
23
- extends: [config$1, config$2],
24
- plugins: { get vue() {
25
- return pluginVue;
26
- } },
27
- languageOptions: {
28
- parser: vueParser,
29
- parserOptions: {
30
- parser: tseslint.parser,
31
- extraFileExtensions: [".vue", ".tsx"],
32
- ecmaFeatures: { jsx: true }
33
- },
34
- globals: { ...globals.browser }
35
- },
36
- processor: "vue/vue",
37
- rules: {
38
- "@typescript-eslint/restrict-plus-operands": "off",
39
- "@typescript-eslint/dot-notation": "off"
40
- }
41
- }];
42
-
43
- //#endregion
44
- export { config as default };
1
+ import"../import.js";import{t as e}from"../recommended-typescript.js";import{t}from"../vue.js";import n from"globals";import r from"typescript-eslint";import i from"eslint-plugin-vue";import a from"vue-eslint-parser";const o=[{files:[`**/*.ts`,`**/*.tsx`],extends:[e],languageOptions:{parser:r.parser,parserOptions:{projectService:!0,ecmaFeatures:{jsx:!0}},globals:{...n.browser}}},{files:[`**/*.vue`],extends:[e,t],plugins:{get vue(){return i}},languageOptions:{parser:a,parserOptions:{parser:r.parser,extraFileExtensions:[`.vue`,`.tsx`],ecmaFeatures:{jsx:!0}},globals:{...n.browser}},processor:`vue/vue`,rules:{"@typescript-eslint/restrict-plus-operands":`off`,"@typescript-eslint/dot-notation":`off`}}];export{o as default};