@useinsider/eslint-config 1.9.1 → 1.10.0-beta.1
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/base-B-PS5UHr.cjs +1 -0
- package/dist/base-BA0DI93B.js +33 -0
- package/dist/base.d.ts +2 -2
- package/dist/configs/config/index.d.ts +1 -1
- package/dist/configs/javascript/index.d.ts +2 -1
- package/dist/configs/javascript-dom/index.d.ts +1 -1
- package/dist/configs/javascript-node/index.d.ts +1 -1
- package/dist/configs/jest/index.d.ts +1 -1
- package/dist/configs/jsdoc-based-ts/index.d.ts +1 -1
- package/dist/configs/typescript/index.d.ts +1 -1
- package/dist/configs/typescript-dom/index.d.ts +1 -1
- package/dist/configs/typescript-node/index.d.ts +2 -2
- package/dist/configs/vue2/index.d.ts +1 -1
- package/dist/configs/vue3/index.d.ts +1 -1
- package/dist/configs/vue3-typescript/index.d.ts +1 -1
- package/dist/index-BBpi_Vtq.cjs +1 -0
- package/dist/index-BGJZVkll.cjs +1 -0
- package/dist/index-BQhhxQGU.cjs +1 -0
- package/dist/{index-UyB1dQmr.cjs → index-BjqFNarr.cjs} +1 -1
- package/dist/index-BmBugWe4.cjs +1 -0
- package/dist/{index-BsEDEtyS.js → index-BnTzUbum.js} +1 -1
- package/dist/index-C05_dgDY.cjs +1 -0
- package/dist/index-C2p6z9H4.js +9 -0
- package/dist/index-CG4b8J5I.js +48 -0
- package/dist/index-CQ1RJV11.js +28 -0
- package/dist/index-D-NRhaYV.cjs +1 -0
- package/dist/{index-E3Dvq2rq.js → index-D1KdUFk4.js} +1 -1
- package/dist/index-D9bTg7j3.cjs +1 -0
- package/dist/index-DbBU_JDe.js +41 -0
- package/dist/{index-CCc7nS-L.cjs → index-DgHV2stm.cjs} +1 -1
- package/dist/{index-DWdvFLYP.js → index-DvOKf9k2.js} +3 -3
- package/dist/{index-Dz51pbFA.js → index-IJ5JatZj.js} +1 -1
- package/dist/{index-Cjyj5Al1.cjs → index-fI1e4MqV.cjs} +1 -1
- package/dist/index-nLGFKikH.js +48 -0
- package/dist/index-o9oM4y-o.js +65 -0
- package/dist/main.cjs +1 -1
- package/dist/main.d.ts +2 -2
- package/dist/main.js +11 -11
- package/dist/rules/core.cjs +1 -1
- package/dist/rules/core.d.ts +1 -1
- package/dist/rules/core.js +1 -1
- package/dist/rules/cspell.d.ts +1 -1
- package/dist/rules/importRules.cjs +1 -1
- package/dist/rules/importRules.d.ts +1 -1
- package/dist/rules/importRules.js +5 -5
- package/dist/rules/jsdoc.d.ts +1 -1
- package/dist/rules/stylistic.d.ts +1 -1
- package/dist/rules/typescript.d.ts +1 -1
- package/dist/rules/vue.cjs +1 -1
- package/dist/rules/vue.d.ts +1 -1
- package/dist/rules/vue.js +19 -3
- package/dist/rules/vue2.d.ts +1 -1
- package/dist/utils/compat.d.ts +4 -4
- package/dist/utils/mergeAllConfig.d.ts +1 -1
- package/package.json +35 -34
- package/dist/base-C2fq_o3u.cjs +0 -1
- package/dist/base-DhxoXy40.js +0 -29
- package/dist/compat-DfBTP0AK.js +0 -15
- package/dist/compat-S2mgbwTA.cjs +0 -1
- package/dist/index-BSFKHRiy.js +0 -33
- package/dist/index-BUOro8yS.js +0 -54
- package/dist/index-BX0PuY7X.cjs +0 -1
- package/dist/index-BYXlsowx.cjs +0 -1
- package/dist/index-BcjSGMc4.cjs +0 -1
- package/dist/index-C743UfJX.cjs +0 -1
- package/dist/index-CAuGyIr4.cjs +0 -1
- package/dist/index-CcvN-eiV.cjs +0 -1
- package/dist/index-CixUmpPQ.js +0 -9
- package/dist/index-CydLRA6p.js +0 -34
- package/dist/index-DIhDmtxO.js +0 -17
- package/dist/index-D_iZLt4b.js +0 -34
- package/dist/index-Dgx6nuN5.cjs +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const e = {
|
|
2
2
|
rules: {
|
|
3
|
-
"import/extensions": ["error", {
|
|
3
|
+
"import-x/extensions": ["error", {
|
|
4
4
|
css: "always",
|
|
5
5
|
js: "never",
|
|
6
6
|
json: "always",
|
|
@@ -12,9 +12,9 @@ const e = {
|
|
|
12
12
|
tsx: "never",
|
|
13
13
|
vue: "always"
|
|
14
14
|
}],
|
|
15
|
-
"import/no-cycle": "off",
|
|
16
|
-
"import/no-unresolved": "off",
|
|
17
|
-
"import/order": ["error", {
|
|
15
|
+
"import-x/no-cycle": "off",
|
|
16
|
+
"import-x/no-unresolved": "off",
|
|
17
|
+
"import-x/order": ["error", {
|
|
18
18
|
alphabetize: {
|
|
19
19
|
caseInsensitive: !0,
|
|
20
20
|
order: "asc"
|
|
@@ -25,7 +25,7 @@ const e = {
|
|
|
25
25
|
pattern: "@/**"
|
|
26
26
|
}]
|
|
27
27
|
}],
|
|
28
|
-
"import/prefer-default-export": "off"
|
|
28
|
+
"import-x/prefer-default-export": "off"
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
export {
|
package/dist/rules/jsdoc.d.ts
CHANGED
package/dist/rules/vue.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e={rules:{"vue/array-bracket-newline":["error"],"vue/array-bracket-spacing":["error","never"],"vue/array-element-newline":["error","consistent"],"vue/arrow-spacing":["error"],"vue/attribute-hyphenation":["error","always"],"vue/attributes-order":["error",{alphabetical:!0,order:["LIST_RENDERING","CONDITIONALS","DEFINITION","RENDER_MODIFIERS","GLOBAL","UNIQUE","SLOT","ATTR_SHORTHAND_BOOL","ATTR_STATIC","ATTR_DYNAMIC","TWO_WAY_BINDING","OTHER_DIRECTIVES","CONTENT","EVENTS"]}],"vue/brace-style":["error","1tbs"],"vue/camelcase":["error",{allow:["^\\$_"]}],"vue/comma-dangle":["error",{arrays:"always-multiline",exports:"always-multiline",functions:"never",imports:"always-multiline",objects:"always-multiline"}],"vue/comma-spacing":["error"],"vue/comma-style":["error","last"],"vue/component-definition-name-casing":["error","PascalCase"],"vue/component-name-in-template-casing":["error","PascalCase",{registeredComponentsOnly:!1,ignores:["component","transition"]}],"vue/
|
|
1
|
+
"use strict";const e={rules:{"vue/array-bracket-newline":["error"],"vue/array-bracket-spacing":["error","never"],"vue/array-element-newline":["error","consistent"],"vue/arrow-spacing":["error"],"vue/attribute-hyphenation":["error","always"],"vue/attributes-order":["error",{alphabetical:!0,order:["LIST_RENDERING","CONDITIONALS","DEFINITION","RENDER_MODIFIERS","GLOBAL","UNIQUE","SLOT","ATTR_SHORTHAND_BOOL","ATTR_STATIC","ATTR_DYNAMIC","TWO_WAY_BINDING","OTHER_DIRECTIVES","CONTENT","EVENTS"]}],"vue/brace-style":["error","1tbs"],"vue/camelcase":["error",{allow:["^\\$_"]}],"vue/comma-dangle":["error",{arrays:"always-multiline",exports:"always-multiline",functions:"never",imports:"always-multiline",objects:"always-multiline"}],"vue/comma-spacing":["error"],"vue/comma-style":["error","last"],"vue/component-definition-name-casing":["error","PascalCase"],"vue/component-name-in-template-casing":["error","PascalCase",{registeredComponentsOnly:!1,ignores:["component","transition"]}],"vue/block-order":["error",{order:["script[setup]","template","script:not([setup])","style"]}],"vue/dot-location":["error"],"vue/dot-notation":["error"],"vue/eqeqeq":["error"],"vue/func-call-spacing":["error"],"vue/html-closing-bracket-newline":["error",{singleline:"never",multiline:"always",selfClosingTag:{singleline:"never",multiline:"always"}}],"vue/html-end-tags":["error"],"vue/html-indent":["error",4],"vue/html-quotes":["error","double"],"vue/html-self-closing":["error"],"vue/html-closing-bracket-spacing":["error"],"vue/key-spacing":["error"],"vue/keyword-spacing":["error"],"vue/max-attributes-per-line":["error",{multiline:{max:1},singleline:1}],"vue/max-len":["error",120,{ignoreComments:!0,ignoreRegExpLiterals:!0,ignoreTemplateLiterals:!0,ignoreTrailingComments:!0,ignoreUrls:!0}],"vue/multi-word-component-names":"off","vue/multiline-ternary":["error","always-multiline"],"vue/mustache-interpolation-spacing":["error","always"],"vue/no-bare-strings-in-template":["error",{attributes:{"/.+/":["title","aria-label","aria-placeholder","aria-roledescription","aria-valuetext","description","placeholder","text","label","alt"]},directives:["v-text"]}],"vue/no-console":["error"],"vue/no-constant-condition":["error"],"vue/no-empty-component-block":["error"],"vue/no-empty-pattern":["error"],"vue/no-extra-parens":["error","all",{allowParensAfterCommentPattern:"@type",enforceForArrowConditionals:!1,nestedBinaryExpressions:!1,returnAssign:!1}],"vue/no-irregular-whitespace":["error"],"vue/no-multi-spaces":["error"],"vue/no-multiple-objects-in-class":["error"],"vue/no-potential-component-option-typo":["error"],"vue/no-reserved-component-names":["error"],"vue/no-restricted-syntax":["error"],"vue/no-spaces-around-equal-signs-in-attribute":["error"],"vue/no-sparse-arrays":["error"],"vue/no-undef-components":["error"],"vue/no-unsupported-features":["error"],"vue/no-unused-properties":["error"],"vue/no-unused-refs":["error"],"vue/no-use-computed-property-like-method":["error"],"vue/no-use-v-if-with-v-for":"error","vue/no-useless-concat":["error"],"vue/no-useless-mustaches":["error"],"vue/no-useless-v-bind":["error"],"vue/no-v-text":["error"],"vue/object-curly-newline":["error",{consistent:!0}],"vue/object-curly-spacing":["error","always"],"vue/object-property-newline":["error",{allowAllPropertiesOnSameLine:!0}],"vue/object-shorthand":["error","always"],"vue/order-in-components":["error",{order:["el","name","parent","functional",["delimiters","comments"],["components","directives","filters"],"extends","mixins","inheritAttrs","model",["props","propsData"],"data","computed","watch","LIFECYCLE_HOOKS","methods",["template","render"],"renderError"]}],"vue/padding-line-between-blocks":["error"],"vue/prefer-separate-static-class":["error"],"vue/prefer-template":["error"],"vue/prefer-true-attribute-shorthand":["error"],"vue/prop-name-casing":["error","camelCase"],"vue/quote-props":["error","as-needed"],"vue/require-default-prop":["error"],"vue/require-prop-type-constructor":"error","vue/require-prop-types":["error"],"@stylistic/indent":"off","vue/script-indent":["error",4,{switchCase:1}],"vue/space-in-parens":["error","never"],"vue/space-infix-ops":["error"],"vue/space-unary-ops":["error"],"vue/template-curly-spacing":["error"],"vue/this-in-template":["error","never"],"vue/v-bind-style":["error","shorthand"],"vue/v-on-function-call":"off","vue/v-on-style":["error","shorthand"],"vue/v-on-event-hyphenation":"off","vue/no-setup-props-destructure":"off","vue/block-tag-newline":["error",{singleline:"always",multiline:"always"}],"vue/require-explicit-emits":["error"],"vue/no-required-prop-with-default":["error"],"vue/no-ref-object-reactivity-loss":["error"],"vue/no-template-target-blank":["error"],"vue/define-emits-declaration":["error","type-based"],"vue/define-props-declaration":["error","type-based"],"vue-scoped-css/enforce-style-type":["error",{allows:["scoped","module"]}]}};module.exports=e;
|
package/dist/rules/vue.d.ts
CHANGED
package/dist/rules/vue.js
CHANGED
|
@@ -45,7 +45,7 @@ const e = {
|
|
|
45
45
|
"transition"
|
|
46
46
|
]
|
|
47
47
|
}],
|
|
48
|
-
"vue/
|
|
48
|
+
"vue/block-order": ["error", {
|
|
49
49
|
order: [
|
|
50
50
|
"script[setup]",
|
|
51
51
|
"template",
|
|
@@ -91,7 +91,23 @@ const e = {
|
|
|
91
91
|
"vue/multi-word-component-names": "off",
|
|
92
92
|
"vue/multiline-ternary": ["error", "always-multiline"],
|
|
93
93
|
"vue/mustache-interpolation-spacing": ["error", "always"],
|
|
94
|
-
"vue/no-bare-strings-in-template": ["error"
|
|
94
|
+
"vue/no-bare-strings-in-template": ["error", {
|
|
95
|
+
attributes: {
|
|
96
|
+
"/.+/": [
|
|
97
|
+
"title",
|
|
98
|
+
"aria-label",
|
|
99
|
+
"aria-placeholder",
|
|
100
|
+
"aria-roledescription",
|
|
101
|
+
"aria-valuetext",
|
|
102
|
+
"description",
|
|
103
|
+
"placeholder",
|
|
104
|
+
"text",
|
|
105
|
+
"label",
|
|
106
|
+
"alt"
|
|
107
|
+
]
|
|
108
|
+
},
|
|
109
|
+
directives: ["v-text"]
|
|
110
|
+
}],
|
|
95
111
|
"vue/no-console": ["error"],
|
|
96
112
|
"vue/no-constant-condition": ["error"],
|
|
97
113
|
"vue/no-empty-component-block": ["error"],
|
|
@@ -179,7 +195,7 @@ const e = {
|
|
|
179
195
|
}],
|
|
180
196
|
"vue/require-explicit-emits": ["error"],
|
|
181
197
|
"vue/no-required-prop-with-default": ["error"],
|
|
182
|
-
"vue/no-ref-object-
|
|
198
|
+
"vue/no-ref-object-reactivity-loss": ["error"],
|
|
183
199
|
"vue/no-template-target-blank": ["error"],
|
|
184
200
|
"vue/define-emits-declaration": ["error", "type-based"],
|
|
185
201
|
"vue/define-props-declaration": ["error", "type-based"],
|
package/dist/rules/vue2.d.ts
CHANGED
package/dist/utils/compat.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FlatCompat } from '@eslint/eslintrc';
|
|
2
2
|
export declare const compat: {
|
|
3
|
-
extends: (...configsToExtend: Parameters<FlatCompat["extends"]>) => import("eslint").Linter.
|
|
4
|
-
config: (eslintrcConfig: Parameters<FlatCompat["config"]>[0]) => import("eslint").Linter.
|
|
5
|
-
plugins: (...plugins: Parameters<FlatCompat["plugins"]>) => import("eslint").Linter.
|
|
6
|
-
env: (envConfig: Parameters<FlatCompat["env"]>[0]) => import("eslint").Linter.
|
|
3
|
+
extends: (...configsToExtend: Parameters<FlatCompat["extends"]>) => import("eslint").Linter.Config<import("eslint").Linter.RulesRecord>;
|
|
4
|
+
config: (eslintrcConfig: Parameters<FlatCompat["config"]>[0]) => import("eslint").Linter.Config<import("eslint").Linter.RulesRecord>;
|
|
5
|
+
plugins: (...plugins: Parameters<FlatCompat["plugins"]>) => import("eslint").Linter.Config<import("eslint").Linter.RulesRecord>;
|
|
6
|
+
env: (envConfig: Parameters<FlatCompat["env"]>[0]) => import("eslint").Linter.Config<import("eslint").Linter.RulesRecord>;
|
|
7
7
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { Linter } from 'eslint';
|
|
2
|
-
export declare function mergeAll(...configs: Linter.
|
|
2
|
+
export declare function mergeAll(...configs: Linter.Config[][]): Linter.Config<Linter.RulesRecord>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@useinsider/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.10.0-beta.1",
|
|
5
5
|
"description": "A collection of ESLint configurations provided by @useinsider, offering support for various environments including Vanilla JS, TypeScript, and framework-specific setups such as Vue 3.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"useinsider",
|
|
@@ -64,57 +64,58 @@
|
|
|
64
64
|
"pnpm": ">=9"
|
|
65
65
|
},
|
|
66
66
|
"dependencies": {
|
|
67
|
-
"@antfu/install-pkg": "1.
|
|
68
|
-
"@cspell/eslint-plugin": "
|
|
69
|
-
"@eslint/
|
|
70
|
-
"@eslint/
|
|
67
|
+
"@antfu/install-pkg": "1.1.0",
|
|
68
|
+
"@cspell/eslint-plugin": "9.1.1",
|
|
69
|
+
"@eslint/compat": "1.3.0",
|
|
70
|
+
"@eslint/eslintrc": "3.3.1",
|
|
71
|
+
"@eslint/js": "9.29.0",
|
|
71
72
|
"@stylistic/eslint-plugin": "3.1.0",
|
|
72
|
-
"@stylistic/eslint-plugin-migrate": "
|
|
73
|
-
"@types/eslint": "
|
|
74
|
-
"@types/eslint__eslintrc": "
|
|
75
|
-
"@types/eslint__js": "
|
|
76
|
-
"@typescript-eslint/eslint-plugin": "
|
|
77
|
-
"@typescript-eslint/parser": "
|
|
78
|
-
"eslint": "
|
|
79
|
-
"eslint-config-airbnb-
|
|
80
|
-
"eslint-
|
|
81
|
-
"eslint-import-resolver-typescript": "3.8.3",
|
|
73
|
+
"@stylistic/eslint-plugin-migrate": "4.4.1",
|
|
74
|
+
"@types/eslint": "9.6.1",
|
|
75
|
+
"@types/eslint__eslintrc": "3.3.0",
|
|
76
|
+
"@types/eslint__js": "9.14.0",
|
|
77
|
+
"@typescript-eslint/eslint-plugin": "8.34.1",
|
|
78
|
+
"@typescript-eslint/parser": "8.34.1",
|
|
79
|
+
"eslint": "9.29.0",
|
|
80
|
+
"eslint-config-airbnb-extended": "2.1.0",
|
|
81
|
+
"eslint-import-resolver-typescript": "4.4.3",
|
|
82
82
|
"eslint-plugin-import": "2.31.0",
|
|
83
|
-
"eslint-plugin-
|
|
84
|
-
"
|
|
83
|
+
"eslint-plugin-import-x": "4.15.2",
|
|
84
|
+
"eslint-plugin-jsdoc": "51.0.3",
|
|
85
|
+
"globals": "16.2.0",
|
|
85
86
|
"ts-deepmerge": "7.0.2",
|
|
86
|
-
"typescript": "5.
|
|
87
|
-
"typescript-eslint": "8.
|
|
87
|
+
"typescript": "5.8.3",
|
|
88
|
+
"typescript-eslint": "8.34.1"
|
|
88
89
|
},
|
|
89
90
|
"devDependencies": {
|
|
90
|
-
"@rollup/plugin-typescript": "12.1.
|
|
91
|
+
"@rollup/plugin-typescript": "12.1.3",
|
|
91
92
|
"@semantic-release/changelog": "6.0.3",
|
|
92
93
|
"@semantic-release/git": "10.0.1",
|
|
93
94
|
"@types/fs-extra": "11.0.4",
|
|
94
|
-
"@types/node": "
|
|
95
|
+
"@types/node": "24.0.3",
|
|
95
96
|
"@useinsider/release-config": "workspace:*",
|
|
96
|
-
"@vitest/coverage-v8": "3.
|
|
97
|
-
"@vue/eslint-config-typescript": "
|
|
98
|
-
"eslint-plugin-jest": "
|
|
99
|
-
"eslint-plugin-vue": "
|
|
100
|
-
"eslint-plugin-vue-scoped-css": "2.
|
|
97
|
+
"@vitest/coverage-v8": "3.2.4",
|
|
98
|
+
"@vue/eslint-config-typescript": "14.5.1",
|
|
99
|
+
"eslint-plugin-jest": "29.0.1",
|
|
100
|
+
"eslint-plugin-vue": "10.2.0",
|
|
101
|
+
"eslint-plugin-vue-scoped-css": "2.10.0",
|
|
101
102
|
"fs-extra": "11.3.0",
|
|
102
103
|
"rollup-plugin-typescript-paths": "1.5.0",
|
|
103
|
-
"rollup-plugin-visualizer": "
|
|
104
|
+
"rollup-plugin-visualizer": "6.0.3",
|
|
104
105
|
"semantic-release": "24.2.3",
|
|
105
106
|
"semantic-release-monorepo": "8.0.2",
|
|
106
107
|
"tslib": "2.8.1",
|
|
107
108
|
"vite": "6.3.5",
|
|
108
109
|
"vite-tsconfig-paths": "5.1.4",
|
|
109
|
-
"vitest": "3.
|
|
110
|
-
"vue": "3.5.
|
|
111
|
-
"vue-eslint-parser": "10.1.
|
|
110
|
+
"vitest": "3.2.4",
|
|
111
|
+
"vue": "3.5.17",
|
|
112
|
+
"vue-eslint-parser": "10.1.3"
|
|
112
113
|
},
|
|
113
114
|
"optionalDependencies": {
|
|
114
115
|
"@rushstack/eslint-patch": ">=1.10.5",
|
|
115
|
-
"@vue/eslint-config-typescript": "
|
|
116
|
-
"eslint-plugin-vue": "
|
|
117
|
-
"eslint-plugin-vue-scoped-css": "2.
|
|
118
|
-
"vue-eslint-parser": "10.1.
|
|
116
|
+
"@vue/eslint-config-typescript": "14.5.1",
|
|
117
|
+
"eslint-plugin-vue": "10.2.0",
|
|
118
|
+
"eslint-plugin-vue-scoped-css": "2.10.0",
|
|
119
|
+
"vue-eslint-parser": "10.1.3"
|
|
119
120
|
}
|
|
120
121
|
}
|
package/dist/base-C2fq_o3u.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const t=require("node:path"),n=require("node:url"),i=require("@eslint/eslintrc"),c=require("@eslint/js"),r=require("./main.cjs");var e=typeof document<"u"?document.currentScript:null;const s=new i.FlatCompat({baseDirectory:t.dirname(n.fileURLToPath(typeof document>"u"?require("url").pathToFileURL(__filename).href:e&&e.tagName.toUpperCase()==="SCRIPT"&&e.src||new URL("base-C2fq_o3u.cjs",document.baseURI).href))});function u(o=[]){return r.merge(c.configs.recommended,r.mergeAll(s.plugins("import","@stylistic","@stylistic/migrate","@cspell",...o)))}function a(){return r.merge({languageOptions:{ecmaVersion:2022},rules:{"jsdoc/require-param":"off","jsdoc/require-jsdoc":"off","jsdoc/require-returns":"off","jsdoc/require-param-type":"off","jsdoc/check-param-names":"off"}})}exports.postConfig=a;exports.preConfig=u;
|
package/dist/base-DhxoXy40.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { dirname as e } from "node:path";
|
|
2
|
-
import { fileURLToPath as t } from "node:url";
|
|
3
|
-
import { FlatCompat as i } from "@eslint/eslintrc";
|
|
4
|
-
import m from "@eslint/js";
|
|
5
|
-
import { merge as r, mergeAll as s } from "./main.js";
|
|
6
|
-
const a = new i({
|
|
7
|
-
baseDirectory: e(t(import.meta.url))
|
|
8
|
-
});
|
|
9
|
-
function l(o = []) {
|
|
10
|
-
return r(m.configs.recommended, s(a.plugins("import", "@stylistic", "@stylistic/migrate", "@cspell", ...o)));
|
|
11
|
-
}
|
|
12
|
-
function d() {
|
|
13
|
-
return r({
|
|
14
|
-
languageOptions: {
|
|
15
|
-
ecmaVersion: 2022
|
|
16
|
-
},
|
|
17
|
-
rules: {
|
|
18
|
-
"jsdoc/require-param": "off",
|
|
19
|
-
"jsdoc/require-jsdoc": "off",
|
|
20
|
-
"jsdoc/require-returns": "off",
|
|
21
|
-
"jsdoc/require-param-type": "off",
|
|
22
|
-
"jsdoc/check-param-names": "off"
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
export {
|
|
27
|
-
d as a,
|
|
28
|
-
l as p
|
|
29
|
-
};
|
package/dist/compat-DfBTP0AK.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { dirname as m } from "node:path";
|
|
2
|
-
import { fileURLToPath as r } from "node:url";
|
|
3
|
-
import { FlatCompat as i } from "@eslint/eslintrc";
|
|
4
|
-
import { mergeAll as t } from "./main.js";
|
|
5
|
-
const e = new i({
|
|
6
|
-
baseDirectory: m(r(import.meta.url))
|
|
7
|
-
}), l = {
|
|
8
|
-
extends: (...o) => t(e.extends(...o)),
|
|
9
|
-
config: (o) => t(e.config(o)),
|
|
10
|
-
plugins: (...o) => t(e.plugins(...o)),
|
|
11
|
-
env: (o) => t(e.env(o))
|
|
12
|
-
};
|
|
13
|
-
export {
|
|
14
|
-
l as c
|
|
15
|
-
};
|
package/dist/compat-S2mgbwTA.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";const o=require("node:path"),c=require("node:url"),i=require("@eslint/eslintrc"),t=require("./main.cjs");var r=typeof document<"u"?document.currentScript:null;const n=new i.FlatCompat({baseDirectory:o.dirname(c.fileURLToPath(typeof document>"u"?require("url").pathToFileURL(__filename).href:r&&r.tagName.toUpperCase()==="SCRIPT"&&r.src||new URL("compat-S2mgbwTA.cjs",document.baseURI).href))}),a={extends:(...e)=>t.mergeAll(n.extends(...e)),config:e=>t.mergeAll(n.config(e)),plugins:(...e)=>t.mergeAll(n.plugins(...e)),env:e=>t.mergeAll(n.env(e))};exports.compat=a;
|
package/dist/index-BSFKHRiy.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import i from "@eslint/js";
|
|
2
|
-
import c from "eslint-plugin-jsdoc";
|
|
3
|
-
import e from "typescript-eslint";
|
|
4
|
-
import { p as n, a } from "./base-DhxoXy40.js";
|
|
5
|
-
import f from "./rules/core.js";
|
|
6
|
-
import d from "./rules/cspell.js";
|
|
7
|
-
import l from "./rules/importRules.js";
|
|
8
|
-
import g from "./rules/jsdoc.js";
|
|
9
|
-
import b from "./rules/stylistic.js";
|
|
10
|
-
import u from "./rules/typescript.js";
|
|
11
|
-
import { c as m } from "./compat-DfBTP0AK.js";
|
|
12
|
-
import { mergeAll as y, merge as s } from "./main.js";
|
|
13
|
-
const p = s(m.extends("airbnb-base", "airbnb-typescript/base"));
|
|
14
|
-
var r, o, t;
|
|
15
|
-
(t = (o = (r = p.languageOptions) == null ? void 0 : r.parserOptions) == null ? void 0 : o.ecmaFeatures) == null || delete t.globalReturn;
|
|
16
|
-
const N = y(e.config(i.configs.recommended, p, ...e.configs.recommended, ...e.configs.recommendedTypeChecked, c.configs["flat/recommended-typescript-error"], s(m.extends("plugin:@cspell/recommended"), n(), f, l, d, b, g, u, a(), {
|
|
17
|
-
settings: {
|
|
18
|
-
jsdoc: {
|
|
19
|
-
mode: "typescript",
|
|
20
|
-
tagNamePreference: {
|
|
21
|
-
callback: "watch",
|
|
22
|
-
desc: "use"
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
"import/resolver": {
|
|
26
|
-
typescript: !0,
|
|
27
|
-
node: !0
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
})));
|
|
31
|
-
export {
|
|
32
|
-
N as default
|
|
33
|
-
};
|
package/dist/index-BUOro8yS.js
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import n from "@eslint/js";
|
|
2
|
-
import a from "eslint-plugin-jsdoc";
|
|
3
|
-
import c from "eslint-plugin-vue";
|
|
4
|
-
import l from "eslint-plugin-vue-scoped-css";
|
|
5
|
-
import f from "globals";
|
|
6
|
-
import r from "typescript-eslint";
|
|
7
|
-
import { a as d, p as g } from "./base-DhxoXy40.js";
|
|
8
|
-
import u from "./rules/core.js";
|
|
9
|
-
import b from "./rules/cspell.js";
|
|
10
|
-
import x from "./rules/importRules.js";
|
|
11
|
-
import y from "./rules/jsdoc.js";
|
|
12
|
-
import j from "./rules/stylistic.js";
|
|
13
|
-
import O from "./rules/typescript.js";
|
|
14
|
-
import P from "./rules/vue.js";
|
|
15
|
-
import { c as m } from "./compat-DfBTP0AK.js";
|
|
16
|
-
import { mergeAll as C, merge as i } from "./main.js";
|
|
17
|
-
const p = i(m.extends("airbnb-base", "airbnb-typescript/base"));
|
|
18
|
-
var o, t, s;
|
|
19
|
-
(s = (t = (o = p.languageOptions) == null ? void 0 : o.parserOptions) == null ? void 0 : t.ecmaFeatures) == null || delete s.globalReturn;
|
|
20
|
-
const G = C(r.config(
|
|
21
|
-
n.configs.recommended,
|
|
22
|
-
p,
|
|
23
|
-
...r.configs.recommended,
|
|
24
|
-
...c.configs["flat/recommended"].map((e) => (delete e.files, e)),
|
|
25
|
-
...l.configs["flat/recommended"],
|
|
26
|
-
a.configs["flat/recommended-typescript-error"],
|
|
27
|
-
i(m.extends("plugin:@cspell/recommended"), g(), u, x, b, j, y, P, O, d(), {
|
|
28
|
-
languageOptions: {
|
|
29
|
-
globals: {
|
|
30
|
-
...f.browser
|
|
31
|
-
},
|
|
32
|
-
parserOptions: {
|
|
33
|
-
parser: "@typescript-eslint/parser",
|
|
34
|
-
sourceType: "module",
|
|
35
|
-
ecmaFeatures: {
|
|
36
|
-
jsx: !0
|
|
37
|
-
},
|
|
38
|
-
extraFileExtensions: [".vue"]
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
settings: {
|
|
42
|
-
jsdoc: {
|
|
43
|
-
mode: "typescript",
|
|
44
|
-
tagNamePreference: {
|
|
45
|
-
callback: "watch",
|
|
46
|
-
desc: "use"
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
})
|
|
51
|
-
));
|
|
52
|
-
export {
|
|
53
|
-
G as default
|
|
54
|
-
};
|
package/dist/index-BX0PuY7X.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("node:path"),o=require("node:url"),u=require("@eslint/eslintrc"),c=require("eslint-plugin-jsdoc"),i=require("globals"),n=require("./base-C2fq_o3u.cjs"),l=require("./rules/core.cjs"),a=require("./rules/cspell.cjs"),d=require("./rules/importRules.cjs"),m=require("./rules/jsdoc.cjs"),p=require("./rules/stylistic.cjs"),g=require("./rules/vue.cjs"),e=require("./main.cjs");var r=typeof document<"u"?document.currentScript:null;const s=new u.FlatCompat({baseDirectory:t.dirname(o.fileURLToPath(typeof document>"u"?require("url").pathToFileURL(__filename).href:r&&r.tagName.toUpperCase()==="SCRIPT"&&r.src||new URL("index-BX0PuY7X.cjs",document.baseURI).href))}),f=e.merge(e.mergeAll(s.extends("airbnb-base","plugin:vue/vue3-recommended","plugin:vue-scoped-css/vue3-recommended")),c.configs["flat/recommended"],e.mergeAll(s.extends("plugin:@cspell/recommended")),n.preConfig(["vue","vue-scoped-css"]),l,d,a,p,m,g,n.postConfig(),e.mergeAll(s.config({parser:"vue-eslint-parser"})),{languageOptions:{parserOptions:{sourceType:"module",ecmaFeatures:{jsx:!0},extraFileExtensions:[".vue"]},globals:{...i.browser}}});exports.default=f;
|
package/dist/index-BYXlsowx.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("node:path"),o=require("node:url"),u=require("@eslint/eslintrc"),c=require("eslint-plugin-jsdoc"),i=require("globals"),n=require("./base-C2fq_o3u.cjs"),l=require("./rules/core.cjs"),a=require("./rules/cspell.cjs"),d=require("./rules/importRules.cjs"),m=require("./rules/jsdoc.cjs"),p=require("./rules/stylistic.cjs"),g=require("./rules/vue2.cjs"),e=require("./main.cjs");var r=typeof document<"u"?document.currentScript:null;const s=new u.FlatCompat({baseDirectory:t.dirname(o.fileURLToPath(typeof document>"u"?require("url").pathToFileURL(__filename).href:r&&r.tagName.toUpperCase()==="SCRIPT"&&r.src||new URL("index-BYXlsowx.cjs",document.baseURI).href))}),f=e.merge(e.mergeAll(s.extends("airbnb-base","plugin:vue/recommended","plugin:vue-scoped-css/recommended")),c.configs["flat/recommended"],e.mergeAll(s.extends("plugin:@cspell/recommended")),n.preConfig(["vue","vue-scoped-css"]),l,d,a,p,m,g,n.postConfig(),e.mergeAll(s.config({parser:"vue-eslint-parser"})),{languageOptions:{parserOptions:{sourceType:"module",ecmaFeatures:{jsx:!0},extraFileExtensions:[".vue"]},globals:{...i.browser}}});exports.default=f;
|
package/dist/index-BcjSGMc4.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("node:path"),s=require("node:url"),c=require("@eslint/eslintrc"),i=require("eslint-plugin-jsdoc"),t=require("./base-C2fq_o3u.cjs"),u=require("./rules/core.cjs"),l=require("./rules/cspell.cjs"),a=require("./rules/importRules.cjs"),d=require("./rules/jsdoc.cjs"),m=require("./rules/stylistic.cjs"),e=require("./main.cjs");var r=typeof document<"u"?document.currentScript:null;const n=new c.FlatCompat({baseDirectory:o.dirname(s.fileURLToPath(typeof document>"u"?require("url").pathToFileURL(__filename).href:r&&r.tagName.toUpperCase()==="SCRIPT"&&r.src||new URL("index-BcjSGMc4.cjs",document.baseURI).href))}),p=e.merge(e.mergeAll(n.extends("eslint-config-airbnb-base")),i.configs["flat/recommended"],e.mergeAll(n.extends("plugin:@cspell/recommended")),t.preConfig(),u,a,l,m,d,t.postConfig());exports.default=p;
|
package/dist/index-C743UfJX.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("@eslint/js"),a=require("eslint-plugin-jsdoc"),p=require("eslint-plugin-vue"),d=require("eslint-plugin-vue-scoped-css"),m=require("globals"),s=require("typescript-eslint"),t=require("./base-C2fq_o3u.cjs"),g=require("./rules/core.cjs"),b=require("./rules/cspell.cjs"),q=require("./rules/importRules.cjs"),f=require("./rules/jsdoc.cjs"),y=require("./rules/stylistic.cjs"),_=require("./rules/typescript.cjs"),j=require("./rules/vue.cjs"),i=require("./compat-S2mgbwTA.cjs"),e=require("./main.cjs"),u=e.merge(i.compat.extends("airbnb-base","airbnb-typescript/base"));var n,o,c;(c=(o=(n=u.languageOptions)==null?void 0:n.parserOptions)==null?void 0:o.ecmaFeatures)==null||delete c.globalReturn;const x=e.mergeAll(s.config(l.configs.recommended,u,...s.configs.recommended,...p.configs["flat/recommended"].map(r=>(delete r.files,r)),...d.configs["flat/recommended"],a.configs["flat/recommended-typescript-error"],e.merge(i.compat.extends("plugin:@cspell/recommended"),t.preConfig(),g,q,b,y,f,j,_,t.postConfig(),{languageOptions:{globals:{...m.browser},parserOptions:{parser:"@typescript-eslint/parser",sourceType:"module",ecmaFeatures:{jsx:!0},extraFileExtensions:[".vue"]}},settings:{jsdoc:{mode:"typescript",tagNamePreference:{callback:"watch",desc:"use"}}}})));exports.default=x;
|
package/dist/index-CAuGyIr4.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e={rules:{"import/no-extraneous-dependencies":"off","import/prefer-default-export":"off"}};exports.default=e;
|
package/dist/index-CcvN-eiV.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("@eslint/js"),l=require("eslint-plugin-jsdoc"),e=require("typescript-eslint"),s=require("./base-C2fq_o3u.cjs"),p=require("./rules/core.cjs"),a=require("./rules/cspell.cjs"),d=require("./rules/importRules.cjs"),m=require("./rules/jsdoc.cjs"),g=require("./rules/stylistic.cjs"),b=require("./rules/typescript.cjs"),n=require("./compat-S2mgbwTA.cjs"),r=require("./main.cjs"),i=r.merge(n.compat.extends("airbnb-base","airbnb-typescript/base"));var t,c,o;(o=(c=(t=i.languageOptions)==null?void 0:t.parserOptions)==null?void 0:c.ecmaFeatures)==null||delete o.globalReturn;const q=r.mergeAll(e.config(u.configs.recommended,i,...e.configs.recommended,...e.configs.recommendedTypeChecked,l.configs["flat/recommended-typescript-error"],r.merge(n.compat.extends("plugin:@cspell/recommended"),s.preConfig(),p,d,a,g,m,b,s.postConfig(),{settings:{jsdoc:{mode:"typescript",tagNamePreference:{callback:"watch",desc:"use"}},"import/resolver":{typescript:!0,node:!0}}})));exports.default=q;
|
package/dist/index-CixUmpPQ.js
DELETED
package/dist/index-CydLRA6p.js
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { dirname as r } from "node:path";
|
|
2
|
-
import { fileURLToPath as m } from "node:url";
|
|
3
|
-
import { FlatCompat as s } from "@eslint/eslintrc";
|
|
4
|
-
import t from "eslint-plugin-jsdoc";
|
|
5
|
-
import i from "globals";
|
|
6
|
-
import { a as p, p as n } from "./base-DhxoXy40.js";
|
|
7
|
-
import a from "./rules/core.js";
|
|
8
|
-
import l from "./rules/cspell.js";
|
|
9
|
-
import c from "./rules/importRules.js";
|
|
10
|
-
import f from "./rules/jsdoc.js";
|
|
11
|
-
import u from "./rules/stylistic.js";
|
|
12
|
-
import d from "./rules/vue2.js";
|
|
13
|
-
import { merge as g, mergeAll as e } from "./main.js";
|
|
14
|
-
const o = new s({
|
|
15
|
-
baseDirectory: r(m(import.meta.url))
|
|
16
|
-
}), A = g(e(o.extends("airbnb-base", "plugin:vue/recommended", "plugin:vue-scoped-css/recommended")), t.configs["flat/recommended"], e(o.extends("plugin:@cspell/recommended")), n(["vue", "vue-scoped-css"]), a, c, l, u, f, d, p(), e(o.config({
|
|
17
|
-
parser: "vue-eslint-parser"
|
|
18
|
-
})), {
|
|
19
|
-
languageOptions: {
|
|
20
|
-
parserOptions: {
|
|
21
|
-
sourceType: "module",
|
|
22
|
-
ecmaFeatures: {
|
|
23
|
-
jsx: !0
|
|
24
|
-
},
|
|
25
|
-
extraFileExtensions: [".vue"]
|
|
26
|
-
},
|
|
27
|
-
globals: {
|
|
28
|
-
...i.browser
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
export {
|
|
33
|
-
A as default
|
|
34
|
-
};
|
package/dist/index-DIhDmtxO.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { dirname as m } from "node:path";
|
|
2
|
-
import { fileURLToPath as t } from "node:url";
|
|
3
|
-
import { FlatCompat as e } from "@eslint/eslintrc";
|
|
4
|
-
import i from "eslint-plugin-jsdoc";
|
|
5
|
-
import { p, a as s } from "./base-DhxoXy40.js";
|
|
6
|
-
import f from "./rules/core.js";
|
|
7
|
-
import a from "./rules/cspell.js";
|
|
8
|
-
import l from "./rules/importRules.js";
|
|
9
|
-
import n from "./rules/jsdoc.js";
|
|
10
|
-
import c from "./rules/stylistic.js";
|
|
11
|
-
import { merge as d, mergeAll as o } from "./main.js";
|
|
12
|
-
const r = new e({
|
|
13
|
-
baseDirectory: m(t(import.meta.url))
|
|
14
|
-
}), w = d(o(r.extends("eslint-config-airbnb-base")), i.configs["flat/recommended"], o(r.extends("plugin:@cspell/recommended")), p(), f, l, a, c, n, s());
|
|
15
|
-
export {
|
|
16
|
-
w as default
|
|
17
|
-
};
|
package/dist/index-D_iZLt4b.js
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { dirname as r } from "node:path";
|
|
2
|
-
import { fileURLToPath as m } from "node:url";
|
|
3
|
-
import { FlatCompat as s } from "@eslint/eslintrc";
|
|
4
|
-
import t from "eslint-plugin-jsdoc";
|
|
5
|
-
import i from "globals";
|
|
6
|
-
import { a as p, p as n } from "./base-DhxoXy40.js";
|
|
7
|
-
import a from "./rules/core.js";
|
|
8
|
-
import l from "./rules/cspell.js";
|
|
9
|
-
import c from "./rules/importRules.js";
|
|
10
|
-
import u from "./rules/jsdoc.js";
|
|
11
|
-
import f from "./rules/stylistic.js";
|
|
12
|
-
import d from "./rules/vue.js";
|
|
13
|
-
import { merge as g, mergeAll as e } from "./main.js";
|
|
14
|
-
const o = new s({
|
|
15
|
-
baseDirectory: r(m(import.meta.url))
|
|
16
|
-
}), A = g(e(o.extends("airbnb-base", "plugin:vue/vue3-recommended", "plugin:vue-scoped-css/vue3-recommended")), t.configs["flat/recommended"], e(o.extends("plugin:@cspell/recommended")), n(["vue", "vue-scoped-css"]), a, c, l, f, u, d, p(), e(o.config({
|
|
17
|
-
parser: "vue-eslint-parser"
|
|
18
|
-
})), {
|
|
19
|
-
languageOptions: {
|
|
20
|
-
parserOptions: {
|
|
21
|
-
sourceType: "module",
|
|
22
|
-
ecmaFeatures: {
|
|
23
|
-
jsx: !0
|
|
24
|
-
},
|
|
25
|
-
extraFileExtensions: [".vue"]
|
|
26
|
-
},
|
|
27
|
-
globals: {
|
|
28
|
-
...i.browser
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
});
|
|
32
|
-
export {
|
|
33
|
-
A as default
|
|
34
|
-
};
|
package/dist/index-Dgx6nuN5.cjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("globals"),t=require("./main.cjs"),n=require("./index-BcjSGMc4.cjs"),o=t.merge(n.default,{languageOptions:{globals:{...e.node}}});exports.default=o;
|