@useinsider/eslint-config 2.0.0 → 3.0.0
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/cli.cjs +27 -24
- package/dist/cli.cjs.map +1 -1
- package/dist/configs/typescript-dom/index.d.ts +13 -3
- package/dist/configs/vue2/index.d.ts +13 -3
- package/dist/configs/vue2-options-api/index.d.ts +13 -3
- package/dist/configs/vue3/index.d.ts +13 -3
- package/dist/configs/vue3-options-api/index.d.ts +13 -3
- package/dist/{javascript-DZ8AUcFu.js → javascript-9ynvToz3.js} +4 -4
- package/dist/{javascript-DZ8AUcFu.js.map → javascript-9ynvToz3.js.map} +1 -1
- package/dist/{javascript-9tQ9nS7g.cjs → javascript-VBXqjVi8.cjs} +7 -7
- package/dist/{javascript-9tQ9nS7g.cjs.map → javascript-VBXqjVi8.cjs.map} +1 -1
- package/dist/javascript-dom-5jRL_yKP.cjs +11 -0
- package/dist/{javascript-dom-Duiy5LQP.cjs.map → javascript-dom-5jRL_yKP.cjs.map} +1 -1
- package/dist/{javascript-dom-DaclGNp-.js → javascript-dom-B1wtLzJC.js} +3 -3
- package/dist/{javascript-dom-DaclGNp-.js.map → javascript-dom-B1wtLzJC.js.map} +1 -1
- package/dist/javascript-node-C1AU_4X2.cjs +11 -0
- package/dist/{javascript-node-42x75ZCz.cjs.map → javascript-node-C1AU_4X2.cjs.map} +1 -1
- package/dist/{javascript-node-CbCig5az.js → javascript-node-JaASOojH.js} +3 -3
- package/dist/{javascript-node-CbCig5az.js.map → javascript-node-JaASOojH.js.map} +1 -1
- package/dist/{jest-qLSuDnJy.cjs → jest-CHzjzBtf.cjs} +3 -3
- package/dist/{jest-qLSuDnJy.cjs.map → jest-CHzjzBtf.cjs.map} +1 -1
- package/dist/jest-zpwEzF4X.js.map +1 -1
- package/dist/jsdoc-based-ts-Cfahz0nn.cjs.map +1 -1
- package/dist/jsdoc-based-ts-D7tlky3K.js.map +1 -1
- package/dist/main.cjs +30 -28
- package/dist/main.cjs.map +1 -1
- package/dist/main.js +25 -23
- package/dist/main.js.map +1 -1
- package/dist/{merge-8QYHxTjU.cjs → merge-DJQU2y2U.cjs} +3 -3
- package/dist/merge-DJQU2y2U.cjs.map +1 -0
- package/dist/{merge-CXnhrNEt.js → merge-R5ZHqMsV.js} +3 -3
- package/dist/merge-R5ZHqMsV.js.map +1 -0
- package/dist/{mergeAllConfig-DD9aslCE.js → mergeAllConfig-B2rSXCdn.js} +2 -2
- package/dist/{mergeAllConfig-DD9aslCE.js.map → mergeAllConfig-B2rSXCdn.js.map} +1 -1
- package/dist/{mergeAllConfig-CJpF6W3i.cjs → mergeAllConfig-DjMWjBNg.cjs} +2 -2
- package/dist/{mergeAllConfig-CJpF6W3i.cjs.map → mergeAllConfig-DjMWjBNg.cjs.map} +1 -1
- package/dist/removePluginsFromConfigs-D0oSUj2C.cjs.map +1 -1
- package/dist/removePluginsFromConfigs-DzqX2Ju2.js.map +1 -1
- package/dist/{chunk-D6vf50IK.cjs → rolldown-runtime-VH7oDXx4.cjs} +1 -1
- package/dist/{strict-BvBxnZVo.js → strict-B2mCkeX_.js} +2 -2
- package/dist/{strict-BvBxnZVo.js.map → strict-B2mCkeX_.js.map} +1 -1
- package/dist/{strict-C7c_fc3d.cjs → strict-tmp-wKop.cjs} +2 -2
- package/dist/{strict-C7c_fc3d.cjs.map → strict-tmp-wKop.cjs.map} +1 -1
- package/dist/{stylistic-DwB496Pa.js → stylistic-B6j4I_aN.js} +2 -2
- package/dist/{stylistic-DwB496Pa.js.map → stylistic-B6j4I_aN.js.map} +1 -1
- package/dist/{stylistic-D9tHaeG4.cjs → stylistic-Dio0AM2E.cjs} +5 -5
- package/dist/{stylistic-D9tHaeG4.cjs.map → stylistic-Dio0AM2E.cjs.map} +1 -1
- package/dist/{typescript-BDc8Y6Hc.cjs → typescript-C1icmOxY.cjs} +9 -9
- package/dist/{typescript-BDc8Y6Hc.cjs.map → typescript-C1icmOxY.cjs.map} +1 -1
- package/dist/{typescript-CDhrDEoi.js → typescript-C7Xg57WE.js} +4 -4
- package/dist/{typescript-CDhrDEoi.js.map → typescript-C7Xg57WE.js.map} +1 -1
- package/dist/{typescript-dom-CexiRZAz.js → typescript-dom-ClE8ufzf.js} +3 -3
- package/dist/{typescript-dom-CexiRZAz.js.map → typescript-dom-ClE8ufzf.js.map} +1 -1
- package/dist/{typescript-dom-xYDL7O9g.cjs → typescript-dom-RUJn2WCZ.cjs} +5 -5
- package/dist/{typescript-dom-xYDL7O9g.cjs.map → typescript-dom-RUJn2WCZ.cjs.map} +1 -1
- package/dist/typescript-node-CBEzcc56.cjs +11 -0
- package/dist/{typescript-node-BjpTUbKF.cjs.map → typescript-node-CBEzcc56.cjs.map} +1 -1
- package/dist/{typescript-node-B8TpRcjd.js → typescript-node-CbViUIa8.js} +3 -3
- package/dist/{typescript-node-B8TpRcjd.js.map → typescript-node-CbViUIa8.js.map} +1 -1
- package/dist/{vitest-Xhsz8y7q.cjs → vitest-BomI8gtu.cjs} +3 -3
- package/dist/{vitest-Xhsz8y7q.cjs.map → vitest-BomI8gtu.cjs.map} +1 -1
- package/dist/vitest-Cdq7Gq88.js.map +1 -1
- package/dist/vue-2Tf2LIPf.cjs.map +1 -1
- package/dist/vue-Bg3R-yZT.js.map +1 -1
- package/dist/vue-options-api-9KoVvBkF.cjs.map +1 -1
- package/dist/vue-options-api-Bnzaw9Tz.js.map +1 -1
- package/dist/vue2-CVSRM5hR.js.map +1 -1
- package/dist/{vue2-G2Q58B8-.js → vue2-CYgPhPVM.js} +4 -4
- package/dist/{vue2-G2Q58B8-.js.map → vue2-CYgPhPVM.js.map} +1 -1
- package/dist/vue2-CwpD2fD-.cjs.map +1 -1
- package/dist/{vue2-DAi-TxWE.cjs → vue2-azKwRgaJ.cjs} +10 -10
- package/dist/{vue2-DAi-TxWE.cjs.map → vue2-azKwRgaJ.cjs.map} +1 -1
- package/dist/{vue2-options-api-CKnW7uvJ.js → vue2-options-api-Dvem0WyV.js} +4 -4
- package/dist/{vue2-options-api-CKnW7uvJ.js.map → vue2-options-api-Dvem0WyV.js.map} +1 -1
- package/dist/{vue2-options-api-DHnhmw3v.cjs → vue2-options-api-ma3J-bvM.cjs} +10 -10
- package/dist/{vue2-options-api-DHnhmw3v.cjs.map → vue2-options-api-ma3J-bvM.cjs.map} +1 -1
- package/dist/{vue2-typescript-DgXglO8R.js → vue2-typescript-BbhsVbsV.js} +4 -4
- package/dist/{vue2-typescript-DgXglO8R.js.map → vue2-typescript-BbhsVbsV.js.map} +1 -1
- package/dist/{vue2-typescript-CcuFB-YB.cjs → vue2-typescript-CZSHzp7I.cjs} +12 -12
- package/dist/{vue2-typescript-CcuFB-YB.cjs.map → vue2-typescript-CZSHzp7I.cjs.map} +1 -1
- package/dist/vue2-typescript-Cr8IshuA.cjs.map +1 -1
- package/dist/vue2-typescript-DWnsb3uv.js.map +1 -1
- package/dist/{vue2-typescript-options-api-DsejF_KX.js → vue2-typescript-options-api-A5jU6hdD.js} +4 -4
- package/dist/{vue2-typescript-options-api-DsejF_KX.js.map → vue2-typescript-options-api-A5jU6hdD.js.map} +1 -1
- package/dist/{vue2-typescript-options-api-2fugBIOF.cjs → vue2-typescript-options-api-B8OzZlje.cjs} +12 -12
- package/dist/{vue2-typescript-options-api-2fugBIOF.cjs.map → vue2-typescript-options-api-B8OzZlje.cjs.map} +1 -1
- package/dist/{vue3-CJAdAg73.cjs → vue3-Df5UQ1Ys.cjs} +10 -10
- package/dist/{vue3-CJAdAg73.cjs.map → vue3-Df5UQ1Ys.cjs.map} +1 -1
- package/dist/{vue3-CADfXE8I.js → vue3-haIiBEhv.js} +4 -4
- package/dist/{vue3-CADfXE8I.js.map → vue3-haIiBEhv.js.map} +1 -1
- package/dist/{vue3-options-api-D2Wub1Oy.cjs → vue3-options-api-Bx7yYHza.cjs} +10 -10
- package/dist/{vue3-options-api-D2Wub1Oy.cjs.map → vue3-options-api-Bx7yYHza.cjs.map} +1 -1
- package/dist/{vue3-options-api-DFWOX_UU.js → vue3-options-api-DkF4JagY.js} +4 -4
- package/dist/{vue3-options-api-DFWOX_UU.js.map → vue3-options-api-DkF4JagY.js.map} +1 -1
- package/dist/{vue3-typescript-DlncdT6z.js → vue3-typescript-BRN2iL98.js} +4 -4
- package/dist/{vue3-typescript-DlncdT6z.js.map → vue3-typescript-BRN2iL98.js.map} +1 -1
- package/dist/{vue3-typescript-DLfJPXTc.cjs → vue3-typescript-C0O1JZlk.cjs} +12 -12
- package/dist/{vue3-typescript-DLfJPXTc.cjs.map → vue3-typescript-C0O1JZlk.cjs.map} +1 -1
- package/dist/{vue3-typescript-options-api-CorDmhg0.js → vue3-typescript-options-api-BZ-QVwuD.js} +4 -4
- package/dist/{vue3-typescript-options-api-CorDmhg0.js.map → vue3-typescript-options-api-BZ-QVwuD.js.map} +1 -1
- package/dist/{vue3-typescript-options-api-Cn4u57BK.cjs → vue3-typescript-options-api-cPal4O-K.cjs} +12 -12
- package/dist/{vue3-typescript-options-api-Cn4u57BK.cjs.map → vue3-typescript-options-api-cPal4O-K.cjs.map} +1 -1
- package/package.json +40 -40
- package/dist/javascript-dom-Duiy5LQP.cjs +0 -11
- package/dist/javascript-node-42x75ZCz.cjs +0 -11
- package/dist/merge-8QYHxTjU.cjs.map +0 -1
- package/dist/merge-CXnhrNEt.js.map +0 -1
- package/dist/typescript-node-BjpTUbKF.cjs +0 -11
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as merge } from "./merge-
|
|
2
|
-
import typescript_default from "./typescript-
|
|
1
|
+
import { t as merge } from "./merge-R5ZHqMsV.js";
|
|
2
|
+
import typescript_default from "./typescript-C7Xg57WE.js";
|
|
3
3
|
import globals from "globals";
|
|
4
4
|
//#region src/configs/typescript-node/index.ts
|
|
5
5
|
var scope = merge(typescript_default, { languageOptions: { globals: { ...globals.node } } });
|
|
6
6
|
//#endregion
|
|
7
7
|
export { scope as default };
|
|
8
8
|
|
|
9
|
-
//# sourceMappingURL=typescript-node-
|
|
9
|
+
//# sourceMappingURL=typescript-node-CbViUIa8.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typescript-node-
|
|
1
|
+
{"version":3,"file":"typescript-node-CbViUIa8.js","names":[],"sources":["../src/configs/typescript-node/index.ts"],"sourcesContent":["import type { Linter } from 'eslint';\nimport globals from 'globals';\nimport typescript from '../typescript';\nimport { merge } from '~/utils/merge';\n\nconst scope = merge(\n typescript,\n {\n languageOptions: {\n globals: {\n ...globals.node,\n },\n },\n }\n) as Linter.Config;\n\nexport default scope;\n"],"mappings":";;;;AAKA,IAAM,QAAQ,MACV,oBACA,EACI,iBAAiB,EACb,SAAS,EACL,GAAG,QAAQ,KACd,EACJ,EACJ,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const
|
|
1
|
+
const require_rolldown_runtime = require("./rolldown-runtime-VH7oDXx4.cjs");
|
|
2
2
|
let _vitest_eslint_plugin = require("@vitest/eslint-plugin");
|
|
3
|
-
_vitest_eslint_plugin =
|
|
3
|
+
_vitest_eslint_plugin = require_rolldown_runtime.__toESM(_vitest_eslint_plugin, 1);
|
|
4
4
|
//#region src/configs/vitest/index.ts
|
|
5
5
|
var vitest_default = {
|
|
6
6
|
plugins: { vitest: _vitest_eslint_plugin.default },
|
|
@@ -14,4 +14,4 @@ var vitest_default = {
|
|
|
14
14
|
//#endregion
|
|
15
15
|
exports.default = vitest_default;
|
|
16
16
|
|
|
17
|
-
//# sourceMappingURL=vitest-
|
|
17
|
+
//# sourceMappingURL=vitest-BomI8gtu.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vitest-
|
|
1
|
+
{"version":3,"file":"vitest-BomI8gtu.cjs","names":[],"sources":["../src/configs/vitest/index.ts"],"sourcesContent":["import type { Linter } from 'eslint';\nimport vitest from '@vitest/eslint-plugin';\n\nexport default {\n plugins: { vitest },\n rules: {\n ...vitest.configs.recommended.rules,\n 'vitest/no-disabled-tests': ['error'],\n 'vitest/prefer-expect-resolves': ['error'],\n 'vitest/prefer-hooks-in-order': ['error'],\n },\n} as Linter.Config;\n"],"mappings":";;;;AAGA,IAAA,iBAAe;CACX,SAAS,EAAE,QAAA,sBAAA,QAAM;CACjB,OAAO;EACH,GAAG,sBAAA,QAAO,QAAQ,YAAY;EAC9B,4BAA4B,CAAC,OAAO;EACpC,iCAAiC,CAAC,OAAO;EACzC,gCAAgC,CAAC,OAAO;CAC3C;AACa"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vitest-Cdq7Gq88.js","names":[],"sources":["../src/configs/vitest/index.ts"],"sourcesContent":["import type { Linter } from 'eslint';\nimport vitest from '@vitest/eslint-plugin';\n\nexport default {\n plugins: { vitest },\n rules: {\n ...vitest.configs.recommended.rules,\n 'vitest/no-disabled-tests': ['error'],\n 'vitest/prefer-expect-resolves': ['error'],\n 'vitest/prefer-hooks-in-order': ['error'],\n },\n} as Linter.Config;\n"],"mappings":";;AAGA,IAAA,iBAAe;CACX,SAAS,EAAE,OAAM;CACjB,OAAO;EACH,GAAG,OAAO,QAAQ,YAAY;EAC9B,4BAA4B,CAAC,OAAO;EACpC,iCAAiC,CAAC,OAAO;EACzC,gCAAgC,CAAC,OAAO"}
|
|
1
|
+
{"version":3,"file":"vitest-Cdq7Gq88.js","names":[],"sources":["../src/configs/vitest/index.ts"],"sourcesContent":["import type { Linter } from 'eslint';\nimport vitest from '@vitest/eslint-plugin';\n\nexport default {\n plugins: { vitest },\n rules: {\n ...vitest.configs.recommended.rules,\n 'vitest/no-disabled-tests': ['error'],\n 'vitest/prefer-expect-resolves': ['error'],\n 'vitest/prefer-hooks-in-order': ['error'],\n },\n} as Linter.Config;\n"],"mappings":";;AAGA,IAAA,iBAAe;CACX,SAAS,EAAE,OAAM;CACjB,OAAO;EACH,GAAG,OAAO,QAAQ,YAAY;EAC9B,4BAA4B,CAAC,OAAO;EACpC,iCAAiC,CAAC,OAAO;EACzC,gCAAgC,CAAC,OAAO;CAC3C;AACa"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vue-2Tf2LIPf.cjs","names":[],"sources":["../src/rules/vue.ts"],"sourcesContent":["import type { Linter } from 'eslint';\n\nexport default {\n rules: {\n 'vue/array-bracket-newline': ['error'],\n 'vue/array-bracket-spacing': ['error', 'never'],\n 'vue/array-element-newline': ['error', 'consistent'],\n 'vue/arrow-spacing': ['error'],\n 'vue/attribute-hyphenation': ['error', 'always'],\n 'vue/attributes-order': ['error', {\n alphabetical: true,\n order: [\n 'LIST_RENDERING',\n 'CONDITIONALS',\n 'DEFINITION',\n 'RENDER_MODIFIERS',\n 'GLOBAL',\n 'UNIQUE',\n 'SLOT',\n 'ATTR_SHORTHAND_BOOL',\n 'ATTR_STATIC',\n 'ATTR_DYNAMIC',\n 'TWO_WAY_BINDING',\n 'OTHER_DIRECTIVES',\n 'CONTENT',\n 'EVENTS',\n ],\n }],\n 'vue/brace-style': ['error', '1tbs'],\n 'vue/camelcase': ['error', {\n allow: ['^\\\\$_'],\n properties: 'never',\n }],\n 'vue/comma-dangle': ['error', {\n arrays: 'always-multiline',\n exports: 'always-multiline',\n functions: 'never',\n imports: 'always-multiline',\n objects: 'always-multiline',\n }],\n 'vue/comma-spacing': ['error'],\n 'vue/comma-style': ['error', 'last'],\n 'vue/component-definition-name-casing': ['error', 'PascalCase'],\n 'vue/component-name-in-template-casing': ['error', 'PascalCase', {\n registeredComponentsOnly: false,\n ignores: [\n 'component',\n 'transition',\n ],\n }],\n 'vue/block-order': ['error', {\n order: [\n 'script[setup]',\n 'template',\n 'script:not([setup])',\n 'style',\n ],\n }],\n 'vue/dot-location': ['error'],\n 'vue/dot-notation': ['error'],\n 'vue/eqeqeq': ['error'],\n 'vue/func-call-spacing': ['error'],\n 'vue/html-closing-bracket-newline': [\n 'error',\n {\n singleline: 'never',\n multiline: 'always',\n selfClosingTag: {\n singleline: 'never',\n multiline: 'always',\n },\n },\n ],\n 'vue/html-end-tags': ['error'],\n 'vue/html-indent': ['error', 4],\n 'vue/html-quotes': ['error', 'double'],\n 'vue/html-self-closing': ['error'],\n 'vue/html-closing-bracket-spacing': ['error'],\n 'vue/key-spacing': ['error'],\n 'vue/keyword-spacing': ['error'],\n 'vue/max-attributes-per-line': ['error', {\n multiline: {\n max: 1,\n },\n singleline: 1,\n }],\n 'vue/max-len': ['error', 120, {\n ignoreComments: true,\n ignoreHTMLAttributeValues: true,\n ignoreRegExpLiterals: true,\n ignoreTemplateLiterals: true,\n ignoreTrailingComments: true,\n ignoreUrls: true,\n }],\n // @stylistic/max-len cannot tell an HTML attribute value from code, so it double-flags the long inline\n // class=\"...\" lines that vue/max-len now exempts. This block only applies to .vue files, so disabling\n // it here keeps .ts/.js governed by @stylistic/max-len in src/rules/stylistic.ts.\n '@stylistic/max-len': 'off',\n 'vue/multi-word-component-names': 'off',\n 'vue/multiline-ternary': ['error', 'always-multiline'],\n 'vue/mustache-interpolation-spacing': ['error', 'always'],\n 'vue/no-bare-strings-in-template': ['error', {\n attributes: {\n '/.+/': [\n 'alt',\n 'aria-label',\n 'aria-placeholder',\n 'aria-roledescription',\n 'aria-valuetext',\n 'description',\n 'label-text',\n 'label',\n 'placeholder-text',\n 'placeholder',\n 'text',\n 'title',\n ],\n },\n directives: ['v-text'],\n }],\n 'vue/no-console': ['error'],\n 'vue/no-constant-condition': ['error'],\n 'vue/no-empty-component-block': ['error'],\n 'vue/no-empty-pattern': ['error'],\n 'vue/no-extra-parens': ['error', 'all', {\n allowParensAfterCommentPattern: '@type',\n ignoredNodes: [\n \"ArrowFunctionExpression[body.type='ConditionalExpression']\",\n 'TSUnionType',\n 'TSTypeAnnotation:has(> TSUnionType)',\n 'TSTypeAliasDeclaration:has(> TSUnionType)',\n 'TSIntersectionType',\n 'TSTypeAnnotation:has(> TSIntersectionType)',\n 'TSTypeAliasDeclaration:has(> TSIntersectionType)',\n ],\n nestedBinaryExpressions: false,\n returnAssign: false,\n }],\n 'vue/no-irregular-whitespace': ['error'],\n 'vue/no-multi-spaces': ['error'],\n 'vue/no-multiple-objects-in-class': ['error'],\n 'vue/no-potential-component-option-typo': ['error'],\n 'vue/no-reserved-component-names': ['error'],\n 'vue/no-restricted-syntax': ['error'],\n 'vue/no-spaces-around-equal-signs-in-attribute': ['error'],\n 'vue/no-sparse-arrays': ['error'],\n 'vue/no-undef-components': ['error'],\n 'vue/no-unsupported-features': ['error'],\n 'vue/no-unused-properties': ['error'],\n 'vue/no-unused-refs': ['error'],\n 'vue/no-use-computed-property-like-method': ['error'],\n 'vue/no-use-v-if-with-v-for': 'error',\n 'vue/no-useless-concat': ['error'],\n 'vue/no-useless-mustaches': ['error'],\n 'vue/no-useless-v-bind': ['error'],\n 'vue/no-v-text': ['error'],\n 'vue/object-curly-newline': ['error', {\n multiline: true,\n consistent: true,\n }],\n 'vue/object-curly-spacing': ['error', 'always'],\n 'vue/object-property-newline': ['error', {\n allowAllPropertiesOnSameLine: true,\n }],\n 'vue/object-shorthand': ['error', 'always'],\n 'vue/order-in-components': ['error', {\n order: [\n 'el',\n 'name',\n 'parent',\n 'functional',\n ['delimiters', 'comments'],\n ['components', 'directives', 'filters'],\n 'extends',\n 'mixins',\n 'inheritAttrs',\n 'model',\n ['props', 'propsData'],\n 'data',\n 'computed',\n 'watch',\n 'LIFECYCLE_HOOKS',\n 'methods',\n ['template', 'render'],\n 'renderError',\n ],\n }],\n 'vue/padding-line-between-blocks': ['error'],\n 'vue/prefer-separate-static-class': ['error'],\n 'vue/prefer-template': ['error'],\n 'vue/prefer-true-attribute-shorthand': ['error'],\n 'vue/prop-name-casing': ['error', 'camelCase'],\n 'vue/quote-props': ['error', 'as-needed'],\n 'vue/require-default-prop': ['error'],\n 'vue/require-prop-type-constructor': 'error',\n 'vue/require-prop-types': ['error'],\n '@stylistic/indent': 'off',\n 'vue/script-indent': ['error', 4, {\n switchCase: 1,\n }],\n 'vue/space-in-parens': ['error', 'never'],\n 'vue/space-infix-ops': ['error'],\n 'vue/space-unary-ops': ['error'],\n 'vue/template-curly-spacing': ['error'],\n 'vue/this-in-template': ['error', 'never'],\n 'vue/v-bind-style': ['error', 'shorthand'],\n 'vue/v-on-function-call': 'off',\n 'vue/v-on-style': ['error', 'shorthand'],\n 'vue/v-on-event-hyphenation': 'off',\n 'vue/no-setup-props-destructure': 'off',\n 'vue/block-tag-newline': ['error', {\n singleline: 'always',\n multiline: 'always',\n }],\n 'vue/require-explicit-emits': ['error'],\n 'vue/no-required-prop-with-default': ['error'],\n 'vue/no-ref-object-reactivity-loss': ['error'],\n 'vue/no-template-target-blank': ['error'],\n 'vue/define-emits-declaration': ['error', 'type-based'],\n 'vue/define-props-declaration': ['error', 'type-based'],\n 'vue-scoped-css/enforce-style-type': ['error', { allows: ['scoped', 'module'] }],\n },\n} as Linter.Config;\n"],"mappings":";AAEA,IAAA,cAAe,EACX,OAAO;CACH,6BAA6B,CAAC,OAAO;CACrC,6BAA6B,CAAC,SAAS,OAAO;CAC9C,6BAA6B,CAAC,SAAS,YAAY;CACnD,qBAAqB,CAAC,OAAO;CAC7B,6BAA6B,CAAC,SAAS,QAAQ;CAC/C,wBAAwB,CAAC,SAAS;EAC9B,cAAc;EACd,OAAO;GACH;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;;EAEP;CACD,mBAAmB,CAAC,SAAS,MAAM;CACnC,iBAAiB,CAAC,SAAS;EACvB,OAAO,CAAC,OAAO;EACf,YAAY;EACf;CACD,oBAAoB,CAAC,SAAS;EAC1B,QAAQ;EACR,SAAS;EACT,WAAW;EACX,SAAS;EACT,SAAS;EACZ;CACD,qBAAqB,CAAC,OAAO;CAC7B,mBAAmB,CAAC,SAAS,MAAM;CACnC,wCAAwC,CAAC,SAAS,YAAY;CAC9D,yCAAyC;EAAC;EAAS;EAAc;GAC7D,0BAA0B;GAC1B,SAAS,CACL,aACA,YAAA;;CAEP;CACD,mBAAmB,CAAC,SAAS,EACzB,OAAO;EACH;EACA;EACA;EACA;IAEP;CACD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,8BAA8B;CAC9B,kCAAkC;CAClC,yBAAyB,CAAC,SAAS;EAC/B,YAAY;EACZ,WAAW;EACd;CACD,8BAA8B,CAAC,OAAO;CACtC,qCAAqC,CAAC,OAAO;CAC7C,qCAAqC,CAAC,OAAO;CAC7C,gCAAgC,CAAC,OAAO;CACxC,gCAAgC,CAAC,SAAS,YAAY;CACtD,gCAAgC,CAAC,SAAS,YAAY;CACtD,qCAAqC,CAAC,SAAS,EAAE,QAAQ,CAAC,UAAU,QAAQ,EAAC,CAAE"}
|
|
1
|
+
{"version":3,"file":"vue-2Tf2LIPf.cjs","names":[],"sources":["../src/rules/vue.ts"],"sourcesContent":["import type { Linter } from 'eslint';\n\nexport default {\n rules: {\n 'vue/array-bracket-newline': ['error'],\n 'vue/array-bracket-spacing': ['error', 'never'],\n 'vue/array-element-newline': ['error', 'consistent'],\n 'vue/arrow-spacing': ['error'],\n 'vue/attribute-hyphenation': ['error', 'always'],\n 'vue/attributes-order': ['error', {\n alphabetical: true,\n order: [\n 'LIST_RENDERING',\n 'CONDITIONALS',\n 'DEFINITION',\n 'RENDER_MODIFIERS',\n 'GLOBAL',\n 'UNIQUE',\n 'SLOT',\n 'ATTR_SHORTHAND_BOOL',\n 'ATTR_STATIC',\n 'ATTR_DYNAMIC',\n 'TWO_WAY_BINDING',\n 'OTHER_DIRECTIVES',\n 'CONTENT',\n 'EVENTS',\n ],\n }],\n 'vue/brace-style': ['error', '1tbs'],\n 'vue/camelcase': ['error', {\n allow: ['^\\\\$_'],\n properties: 'never',\n }],\n 'vue/comma-dangle': ['error', {\n arrays: 'always-multiline',\n exports: 'always-multiline',\n functions: 'never',\n imports: 'always-multiline',\n objects: 'always-multiline',\n }],\n 'vue/comma-spacing': ['error'],\n 'vue/comma-style': ['error', 'last'],\n 'vue/component-definition-name-casing': ['error', 'PascalCase'],\n 'vue/component-name-in-template-casing': ['error', 'PascalCase', {\n registeredComponentsOnly: false,\n ignores: [\n 'component',\n 'transition',\n ],\n }],\n 'vue/block-order': ['error', {\n order: [\n 'script[setup]',\n 'template',\n 'script:not([setup])',\n 'style',\n ],\n }],\n 'vue/dot-location': ['error'],\n 'vue/dot-notation': ['error'],\n 'vue/eqeqeq': ['error'],\n 'vue/func-call-spacing': ['error'],\n 'vue/html-closing-bracket-newline': [\n 'error',\n {\n singleline: 'never',\n multiline: 'always',\n selfClosingTag: {\n singleline: 'never',\n multiline: 'always',\n },\n },\n ],\n 'vue/html-end-tags': ['error'],\n 'vue/html-indent': ['error', 4],\n 'vue/html-quotes': ['error', 'double'],\n 'vue/html-self-closing': ['error'],\n 'vue/html-closing-bracket-spacing': ['error'],\n 'vue/key-spacing': ['error'],\n 'vue/keyword-spacing': ['error'],\n 'vue/max-attributes-per-line': ['error', {\n multiline: {\n max: 1,\n },\n singleline: 1,\n }],\n 'vue/max-len': ['error', 120, {\n ignoreComments: true,\n ignoreHTMLAttributeValues: true,\n ignoreRegExpLiterals: true,\n ignoreTemplateLiterals: true,\n ignoreTrailingComments: true,\n ignoreUrls: true,\n }],\n // @stylistic/max-len cannot tell an HTML attribute value from code, so it double-flags the long inline\n // class=\"...\" lines that vue/max-len now exempts. This block only applies to .vue files, so disabling\n // it here keeps .ts/.js governed by @stylistic/max-len in src/rules/stylistic.ts.\n '@stylistic/max-len': 'off',\n 'vue/multi-word-component-names': 'off',\n 'vue/multiline-ternary': ['error', 'always-multiline'],\n 'vue/mustache-interpolation-spacing': ['error', 'always'],\n 'vue/no-bare-strings-in-template': ['error', {\n attributes: {\n '/.+/': [\n 'alt',\n 'aria-label',\n 'aria-placeholder',\n 'aria-roledescription',\n 'aria-valuetext',\n 'description',\n 'label-text',\n 'label',\n 'placeholder-text',\n 'placeholder',\n 'text',\n 'title',\n ],\n },\n directives: ['v-text'],\n }],\n 'vue/no-console': ['error'],\n 'vue/no-constant-condition': ['error'],\n 'vue/no-empty-component-block': ['error'],\n 'vue/no-empty-pattern': ['error'],\n 'vue/no-extra-parens': ['error', 'all', {\n allowParensAfterCommentPattern: '@type',\n ignoredNodes: [\n \"ArrowFunctionExpression[body.type='ConditionalExpression']\",\n 'TSUnionType',\n 'TSTypeAnnotation:has(> TSUnionType)',\n 'TSTypeAliasDeclaration:has(> TSUnionType)',\n 'TSIntersectionType',\n 'TSTypeAnnotation:has(> TSIntersectionType)',\n 'TSTypeAliasDeclaration:has(> TSIntersectionType)',\n ],\n nestedBinaryExpressions: false,\n returnAssign: false,\n }],\n 'vue/no-irregular-whitespace': ['error'],\n 'vue/no-multi-spaces': ['error'],\n 'vue/no-multiple-objects-in-class': ['error'],\n 'vue/no-potential-component-option-typo': ['error'],\n 'vue/no-reserved-component-names': ['error'],\n 'vue/no-restricted-syntax': ['error'],\n 'vue/no-spaces-around-equal-signs-in-attribute': ['error'],\n 'vue/no-sparse-arrays': ['error'],\n 'vue/no-undef-components': ['error'],\n 'vue/no-unsupported-features': ['error'],\n 'vue/no-unused-properties': ['error'],\n 'vue/no-unused-refs': ['error'],\n 'vue/no-use-computed-property-like-method': ['error'],\n 'vue/no-use-v-if-with-v-for': 'error',\n 'vue/no-useless-concat': ['error'],\n 'vue/no-useless-mustaches': ['error'],\n 'vue/no-useless-v-bind': ['error'],\n 'vue/no-v-text': ['error'],\n 'vue/object-curly-newline': ['error', {\n multiline: true,\n consistent: true,\n }],\n 'vue/object-curly-spacing': ['error', 'always'],\n 'vue/object-property-newline': ['error', {\n allowAllPropertiesOnSameLine: true,\n }],\n 'vue/object-shorthand': ['error', 'always'],\n 'vue/order-in-components': ['error', {\n order: [\n 'el',\n 'name',\n 'parent',\n 'functional',\n ['delimiters', 'comments'],\n ['components', 'directives', 'filters'],\n 'extends',\n 'mixins',\n 'inheritAttrs',\n 'model',\n ['props', 'propsData'],\n 'data',\n 'computed',\n 'watch',\n 'LIFECYCLE_HOOKS',\n 'methods',\n ['template', 'render'],\n 'renderError',\n ],\n }],\n 'vue/padding-line-between-blocks': ['error'],\n 'vue/prefer-separate-static-class': ['error'],\n 'vue/prefer-template': ['error'],\n 'vue/prefer-true-attribute-shorthand': ['error'],\n 'vue/prop-name-casing': ['error', 'camelCase'],\n 'vue/quote-props': ['error', 'as-needed'],\n 'vue/require-default-prop': ['error'],\n 'vue/require-prop-type-constructor': 'error',\n 'vue/require-prop-types': ['error'],\n '@stylistic/indent': 'off',\n 'vue/script-indent': ['error', 4, {\n switchCase: 1,\n }],\n 'vue/space-in-parens': ['error', 'never'],\n 'vue/space-infix-ops': ['error'],\n 'vue/space-unary-ops': ['error'],\n 'vue/template-curly-spacing': ['error'],\n 'vue/this-in-template': ['error', 'never'],\n 'vue/v-bind-style': ['error', 'shorthand'],\n 'vue/v-on-function-call': 'off',\n 'vue/v-on-style': ['error', 'shorthand'],\n 'vue/v-on-event-hyphenation': 'off',\n 'vue/no-setup-props-destructure': 'off',\n 'vue/block-tag-newline': ['error', {\n singleline: 'always',\n multiline: 'always',\n }],\n 'vue/require-explicit-emits': ['error'],\n 'vue/no-required-prop-with-default': ['error'],\n 'vue/no-ref-object-reactivity-loss': ['error'],\n 'vue/no-template-target-blank': ['error'],\n 'vue/define-emits-declaration': ['error', 'type-based'],\n 'vue/define-props-declaration': ['error', 'type-based'],\n 'vue-scoped-css/enforce-style-type': ['error', { allows: ['scoped', 'module'] }],\n },\n} as Linter.Config;\n"],"mappings":";AAEA,IAAA,cAAe,EACX,OAAO;CACH,6BAA6B,CAAC,OAAO;CACrC,6BAA6B,CAAC,SAAS,OAAO;CAC9C,6BAA6B,CAAC,SAAS,YAAY;CACnD,qBAAqB,CAAC,OAAO;CAC7B,6BAA6B,CAAC,SAAS,QAAQ;CAC/C,wBAAwB,CAAC,SAAS;EAC9B,cAAc;EACd,OAAO;GACH;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACH;CACJ,CAAA;CACD,mBAAmB,CAAC,SAAS,MAAM;CACnC,iBAAiB,CAAC,SAAS;EACvB,OAAO,CAAC,OAAO;EACf,YAAY;CACf,CAAA;CACD,oBAAoB,CAAC,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AmB,CAAC,SAAS,WAAW;CACxC,4BAA4B,CAAC,OAAO;CACpC,qCAAqC;CACrC,0BAA0B,CAAC,OAAO;CAClC,qBAAqB;CACrB,qBAAqB;EAAC;EAAS;EAAG,EAC9B,YAAY,EACf;CAAA;CACD,uBAAuB,CAAC,SAAS,OAAO;CACxC,uBAAuB,CAAC,OAAO;CAC/B,uBAAuB,CAAC,OAAO;CAC/B,8BAA8B,CAAC,OAAO;CACtC,wBAAwB,CAAC,SAAS,OAAO;CACzC,oBAAoB,CAAC,SAAS,WAAW;CACzC,0BAA0B;CAC1B,kBAAkB,CAAC,SAAS,WAAW;CACvC,8BAA8B;CAC9B,kCAAkC;CAClC,yBAAyB,CAAC,SAAS;EAC/B,YAAY;EACZ,WAAW;CACd,CAAA;CACD,8BAA8B,CAAC,OAAO;CACtC,qCAAqC,CAAC,OAAO;CAC7C,qCAAqC,CAAC,OAAO;CAC7C,gCAAgC,CAAC,OAAO;CACxC,gCAAgC,CAAC,SAAS,YAAY;CACtD,gCAAgC,CAAC,SAAS,YAAY;CACtD,qCAAqC,CAAC,SAAS,EAAE,QAAQ,CAAC,UAAU,QAAQ,EAAC,CAAE;AAClF,EACa"}
|
package/dist/vue-Bg3R-yZT.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vue-Bg3R-yZT.js","names":[],"sources":["../src/rules/vue.ts"],"sourcesContent":["import type { Linter } from 'eslint';\n\nexport default {\n rules: {\n 'vue/array-bracket-newline': ['error'],\n 'vue/array-bracket-spacing': ['error', 'never'],\n 'vue/array-element-newline': ['error', 'consistent'],\n 'vue/arrow-spacing': ['error'],\n 'vue/attribute-hyphenation': ['error', 'always'],\n 'vue/attributes-order': ['error', {\n alphabetical: true,\n order: [\n 'LIST_RENDERING',\n 'CONDITIONALS',\n 'DEFINITION',\n 'RENDER_MODIFIERS',\n 'GLOBAL',\n 'UNIQUE',\n 'SLOT',\n 'ATTR_SHORTHAND_BOOL',\n 'ATTR_STATIC',\n 'ATTR_DYNAMIC',\n 'TWO_WAY_BINDING',\n 'OTHER_DIRECTIVES',\n 'CONTENT',\n 'EVENTS',\n ],\n }],\n 'vue/brace-style': ['error', '1tbs'],\n 'vue/camelcase': ['error', {\n allow: ['^\\\\$_'],\n properties: 'never',\n }],\n 'vue/comma-dangle': ['error', {\n arrays: 'always-multiline',\n exports: 'always-multiline',\n functions: 'never',\n imports: 'always-multiline',\n objects: 'always-multiline',\n }],\n 'vue/comma-spacing': ['error'],\n 'vue/comma-style': ['error', 'last'],\n 'vue/component-definition-name-casing': ['error', 'PascalCase'],\n 'vue/component-name-in-template-casing': ['error', 'PascalCase', {\n registeredComponentsOnly: false,\n ignores: [\n 'component',\n 'transition',\n ],\n }],\n 'vue/block-order': ['error', {\n order: [\n 'script[setup]',\n 'template',\n 'script:not([setup])',\n 'style',\n ],\n }],\n 'vue/dot-location': ['error'],\n 'vue/dot-notation': ['error'],\n 'vue/eqeqeq': ['error'],\n 'vue/func-call-spacing': ['error'],\n 'vue/html-closing-bracket-newline': [\n 'error',\n {\n singleline: 'never',\n multiline: 'always',\n selfClosingTag: {\n singleline: 'never',\n multiline: 'always',\n },\n },\n ],\n 'vue/html-end-tags': ['error'],\n 'vue/html-indent': ['error', 4],\n 'vue/html-quotes': ['error', 'double'],\n 'vue/html-self-closing': ['error'],\n 'vue/html-closing-bracket-spacing': ['error'],\n 'vue/key-spacing': ['error'],\n 'vue/keyword-spacing': ['error'],\n 'vue/max-attributes-per-line': ['error', {\n multiline: {\n max: 1,\n },\n singleline: 1,\n }],\n 'vue/max-len': ['error', 120, {\n ignoreComments: true,\n ignoreHTMLAttributeValues: true,\n ignoreRegExpLiterals: true,\n ignoreTemplateLiterals: true,\n ignoreTrailingComments: true,\n ignoreUrls: true,\n }],\n // @stylistic/max-len cannot tell an HTML attribute value from code, so it double-flags the long inline\n // class=\"...\" lines that vue/max-len now exempts. This block only applies to .vue files, so disabling\n // it here keeps .ts/.js governed by @stylistic/max-len in src/rules/stylistic.ts.\n '@stylistic/max-len': 'off',\n 'vue/multi-word-component-names': 'off',\n 'vue/multiline-ternary': ['error', 'always-multiline'],\n 'vue/mustache-interpolation-spacing': ['error', 'always'],\n 'vue/no-bare-strings-in-template': ['error', {\n attributes: {\n '/.+/': [\n 'alt',\n 'aria-label',\n 'aria-placeholder',\n 'aria-roledescription',\n 'aria-valuetext',\n 'description',\n 'label-text',\n 'label',\n 'placeholder-text',\n 'placeholder',\n 'text',\n 'title',\n ],\n },\n directives: ['v-text'],\n }],\n 'vue/no-console': ['error'],\n 'vue/no-constant-condition': ['error'],\n 'vue/no-empty-component-block': ['error'],\n 'vue/no-empty-pattern': ['error'],\n 'vue/no-extra-parens': ['error', 'all', {\n allowParensAfterCommentPattern: '@type',\n ignoredNodes: [\n \"ArrowFunctionExpression[body.type='ConditionalExpression']\",\n 'TSUnionType',\n 'TSTypeAnnotation:has(> TSUnionType)',\n 'TSTypeAliasDeclaration:has(> TSUnionType)',\n 'TSIntersectionType',\n 'TSTypeAnnotation:has(> TSIntersectionType)',\n 'TSTypeAliasDeclaration:has(> TSIntersectionType)',\n ],\n nestedBinaryExpressions: false,\n returnAssign: false,\n }],\n 'vue/no-irregular-whitespace': ['error'],\n 'vue/no-multi-spaces': ['error'],\n 'vue/no-multiple-objects-in-class': ['error'],\n 'vue/no-potential-component-option-typo': ['error'],\n 'vue/no-reserved-component-names': ['error'],\n 'vue/no-restricted-syntax': ['error'],\n 'vue/no-spaces-around-equal-signs-in-attribute': ['error'],\n 'vue/no-sparse-arrays': ['error'],\n 'vue/no-undef-components': ['error'],\n 'vue/no-unsupported-features': ['error'],\n 'vue/no-unused-properties': ['error'],\n 'vue/no-unused-refs': ['error'],\n 'vue/no-use-computed-property-like-method': ['error'],\n 'vue/no-use-v-if-with-v-for': 'error',\n 'vue/no-useless-concat': ['error'],\n 'vue/no-useless-mustaches': ['error'],\n 'vue/no-useless-v-bind': ['error'],\n 'vue/no-v-text': ['error'],\n 'vue/object-curly-newline': ['error', {\n multiline: true,\n consistent: true,\n }],\n 'vue/object-curly-spacing': ['error', 'always'],\n 'vue/object-property-newline': ['error', {\n allowAllPropertiesOnSameLine: true,\n }],\n 'vue/object-shorthand': ['error', 'always'],\n 'vue/order-in-components': ['error', {\n order: [\n 'el',\n 'name',\n 'parent',\n 'functional',\n ['delimiters', 'comments'],\n ['components', 'directives', 'filters'],\n 'extends',\n 'mixins',\n 'inheritAttrs',\n 'model',\n ['props', 'propsData'],\n 'data',\n 'computed',\n 'watch',\n 'LIFECYCLE_HOOKS',\n 'methods',\n ['template', 'render'],\n 'renderError',\n ],\n }],\n 'vue/padding-line-between-blocks': ['error'],\n 'vue/prefer-separate-static-class': ['error'],\n 'vue/prefer-template': ['error'],\n 'vue/prefer-true-attribute-shorthand': ['error'],\n 'vue/prop-name-casing': ['error', 'camelCase'],\n 'vue/quote-props': ['error', 'as-needed'],\n 'vue/require-default-prop': ['error'],\n 'vue/require-prop-type-constructor': 'error',\n 'vue/require-prop-types': ['error'],\n '@stylistic/indent': 'off',\n 'vue/script-indent': ['error', 4, {\n switchCase: 1,\n }],\n 'vue/space-in-parens': ['error', 'never'],\n 'vue/space-infix-ops': ['error'],\n 'vue/space-unary-ops': ['error'],\n 'vue/template-curly-spacing': ['error'],\n 'vue/this-in-template': ['error', 'never'],\n 'vue/v-bind-style': ['error', 'shorthand'],\n 'vue/v-on-function-call': 'off',\n 'vue/v-on-style': ['error', 'shorthand'],\n 'vue/v-on-event-hyphenation': 'off',\n 'vue/no-setup-props-destructure': 'off',\n 'vue/block-tag-newline': ['error', {\n singleline: 'always',\n multiline: 'always',\n }],\n 'vue/require-explicit-emits': ['error'],\n 'vue/no-required-prop-with-default': ['error'],\n 'vue/no-ref-object-reactivity-loss': ['error'],\n 'vue/no-template-target-blank': ['error'],\n 'vue/define-emits-declaration': ['error', 'type-based'],\n 'vue/define-props-declaration': ['error', 'type-based'],\n 'vue-scoped-css/enforce-style-type': ['error', { allows: ['scoped', 'module'] }],\n },\n}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C1C,2BAA2B,CAAC,SAAS,EACjC,OAAO;EACH;EACA;EACA;EACA;EACA,CAAC,cAAc,UAAU;EACzB;GAAC;GAAc;GAAc;EAAS;EACtC;EACA;EACA;EACA;EACA,CAAC,SAAS,WAAW;EACrB;EACA;EACA;EACA;EACA;EACA,CAAC,YAAY,QAAQ;EACrB;IAEP;CACD,mCAAmC,CAAC,OAAO;CAC3C,oCAAoC,CAAC,OAAO;CAC5C,uBAAuB,CAAC,OAAO;CAC/B,uCAAuC,CAAC,OAAO;CAC/C,wBAAwB,CAAC,SAAS,WAAW;CAC7C,mBAAmB,CAAC,SAAS,WAAW;CACxC,4BAA4B,CAAC,OAAO;CACpC,qCAAqC;CACrC,0BAA0B,CAAC,OAAO;CAClC,qBAAqB;CACrB,qBAAqB;EAAC;EAAS;EAAG,EAC9B,YAAY,EAAA;CACf;CACD,uBAAuB,CAAC,SAAS,OAAO;CACxC,uBAAuB,CAAC,OAAO;CAC/B,uBAAuB,CAAC,OAAO;CAC/B,8BAA8B,CAAC,OAAO;CACtC,wBAAwB,CAAC,SAAS,OAAO;CACzC,oBAAoB,CAAC,SAAS,WAAW;CACzC,0BAA0B;CAC1B,kBAAkB,CAAC,SAAS,WAAW;CACvC,8BAA8B;CAC9B,kCAAkC;CAClC,yBAAyB,CAAC,SAAS;EAC/B,YAAY;EACZ,WAAW;EACd;CACD,8BAA8B,CAAC,OAAO;CACtC,qCAAqC,CAAC,OAAO;CAC7C,qCAAqC,CAAC,OAAO;CAC7C,gCAAgC,CAAC,OAAO;CACxC,gCAAgC,CAAC,SAAS,YAAY;CACtD,gCAAgC,CAAC,SAAS,YAAY;CACtD,qCAAqC,CAAC,SAAS,EAAE,QAAQ,CAAC,UAAU,QAAQ,EAAC,CAAE"}
|
|
1
|
+
{"version":3,"file":"vue-Bg3R-yZT.js","names":[],"sources":["../src/rules/vue.ts"],"sourcesContent":["import type { Linter } from 'eslint';\n\nexport default {\n rules: {\n 'vue/array-bracket-newline': ['error'],\n 'vue/array-bracket-spacing': ['error', 'never'],\n 'vue/array-element-newline': ['error', 'consistent'],\n 'vue/arrow-spacing': ['error'],\n 'vue/attribute-hyphenation': ['error', 'always'],\n 'vue/attributes-order': ['error', {\n alphabetical: true,\n order: [\n 'LIST_RENDERING',\n 'CONDITIONALS',\n 'DEFINITION',\n 'RENDER_MODIFIERS',\n 'GLOBAL',\n 'UNIQUE',\n 'SLOT',\n 'ATTR_SHORTHAND_BOOL',\n 'ATTR_STATIC',\n 'ATTR_DYNAMIC',\n 'TWO_WAY_BINDING',\n 'OTHER_DIRECTIVES',\n 'CONTENT',\n 'EVENTS',\n ],\n }],\n 'vue/brace-style': ['error', '1tbs'],\n 'vue/camelcase': ['error', {\n allow: ['^\\\\$_'],\n properties: 'never',\n }],\n 'vue/comma-dangle': ['error', {\n arrays: 'always-multiline',\n exports: 'always-multiline',\n functions: 'never',\n imports: 'always-multiline',\n objects: 'always-multiline',\n }],\n 'vue/comma-spacing': ['error'],\n 'vue/comma-style': ['error', 'last'],\n 'vue/component-definition-name-casing': ['error', 'PascalCase'],\n 'vue/component-name-in-template-casing': ['error', 'PascalCase', {\n registeredComponentsOnly: false,\n ignores: [\n 'component',\n 'transition',\n ],\n }],\n 'vue/block-order': ['error', {\n order: [\n 'script[setup]',\n 'template',\n 'script:not([setup])',\n 'style',\n ],\n }],\n 'vue/dot-location': ['error'],\n 'vue/dot-notation': ['error'],\n 'vue/eqeqeq': ['error'],\n 'vue/func-call-spacing': ['error'],\n 'vue/html-closing-bracket-newline': [\n 'error',\n {\n singleline: 'never',\n multiline: 'always',\n selfClosingTag: {\n singleline: 'never',\n multiline: 'always',\n },\n },\n ],\n 'vue/html-end-tags': ['error'],\n 'vue/html-indent': ['error', 4],\n 'vue/html-quotes': ['error', 'double'],\n 'vue/html-self-closing': ['error'],\n 'vue/html-closing-bracket-spacing': ['error'],\n 'vue/key-spacing': ['error'],\n 'vue/keyword-spacing': ['error'],\n 'vue/max-attributes-per-line': ['error', {\n multiline: {\n max: 1,\n },\n singleline: 1,\n }],\n 'vue/max-len': ['error', 120, {\n ignoreComments: true,\n ignoreHTMLAttributeValues: true,\n ignoreRegExpLiterals: true,\n ignoreTemplateLiterals: true,\n ignoreTrailingComments: true,\n ignoreUrls: true,\n }],\n // @stylistic/max-len cannot tell an HTML attribute value from code, so it double-flags the long inline\n // class=\"...\" lines that vue/max-len now exempts. This block only applies to .vue files, so disabling\n // it here keeps .ts/.js governed by @stylistic/max-len in src/rules/stylistic.ts.\n '@stylistic/max-len': 'off',\n 'vue/multi-word-component-names': 'off',\n 'vue/multiline-ternary': ['error', 'always-multiline'],\n 'vue/mustache-interpolation-spacing': ['error', 'always'],\n 'vue/no-bare-strings-in-template': ['error', {\n attributes: {\n '/.+/': [\n 'alt',\n 'aria-label',\n 'aria-placeholder',\n 'aria-roledescription',\n 'aria-valuetext',\n 'description',\n 'label-text',\n 'label',\n 'placeholder-text',\n 'placeholder',\n 'text',\n 'title',\n ],\n },\n directives: ['v-text'],\n }],\n 'vue/no-console': ['error'],\n 'vue/no-constant-condition': ['error'],\n 'vue/no-empty-component-block': ['error'],\n 'vue/no-empty-pattern': ['error'],\n 'vue/no-extra-parens': ['error', 'all', {\n allowParensAfterCommentPattern: '@type',\n ignoredNodes: [\n \"ArrowFunctionExpression[body.type='ConditionalExpression']\",\n 'TSUnionType',\n 'TSTypeAnnotation:has(> TSUnionType)',\n 'TSTypeAliasDeclaration:has(> TSUnionType)',\n 'TSIntersectionType',\n 'TSTypeAnnotation:has(> TSIntersectionType)',\n 'TSTypeAliasDeclaration:has(> TSIntersectionType)',\n ],\n nestedBinaryExpressions: false,\n returnAssign: false,\n }],\n 'vue/no-irregular-whitespace': ['error'],\n 'vue/no-multi-spaces': ['error'],\n 'vue/no-multiple-objects-in-class': ['error'],\n 'vue/no-potential-component-option-typo': ['error'],\n 'vue/no-reserved-component-names': ['error'],\n 'vue/no-restricted-syntax': ['error'],\n 'vue/no-spaces-around-equal-signs-in-attribute': ['error'],\n 'vue/no-sparse-arrays': ['error'],\n 'vue/no-undef-components': ['error'],\n 'vue/no-unsupported-features': ['error'],\n 'vue/no-unused-properties': ['error'],\n 'vue/no-unused-refs': ['error'],\n 'vue/no-use-computed-property-like-method': ['error'],\n 'vue/no-use-v-if-with-v-for': 'error',\n 'vue/no-useless-concat': ['error'],\n 'vue/no-useless-mustaches': ['error'],\n 'vue/no-useless-v-bind': ['error'],\n 'vue/no-v-text': ['error'],\n 'vue/object-curly-newline': ['error', {\n multiline: true,\n consistent: true,\n }],\n 'vue/object-curly-spacing': ['error', 'always'],\n 'vue/object-property-newline': ['error', {\n allowAllPropertiesOnSameLine: true,\n }],\n 'vue/object-shorthand': ['error', 'always'],\n 'vue/order-in-components': ['error', {\n order: [\n 'el',\n 'name',\n 'parent',\n 'functional',\n ['delimiters', 'comments'],\n ['components', 'directives', 'filters'],\n 'extends',\n 'mixins',\n 'inheritAttrs',\n 'model',\n ['props', 'propsData'],\n 'data',\n 'computed',\n 'watch',\n 'LIFECYCLE_HOOKS',\n 'methods',\n ['template', 'render'],\n 'renderError',\n ],\n }],\n 'vue/padding-line-between-blocks': ['error'],\n 'vue/prefer-separate-static-class': ['error'],\n 'vue/prefer-template': ['error'],\n 'vue/prefer-true-attribute-shorthand': ['error'],\n 'vue/prop-name-casing': ['error', 'camelCase'],\n 'vue/quote-props': ['error', 'as-needed'],\n 'vue/require-default-prop': ['error'],\n 'vue/require-prop-type-constructor': 'error',\n 'vue/require-prop-types': ['error'],\n '@stylistic/indent': 'off',\n 'vue/script-indent': ['error', 4, {\n switchCase: 1,\n }],\n 'vue/space-in-parens': ['error', 'never'],\n 'vue/space-infix-ops': ['error'],\n 'vue/space-unary-ops': ['error'],\n 'vue/template-curly-spacing': ['error'],\n 'vue/this-in-template': ['error', 'never'],\n 'vue/v-bind-style': ['error', 'shorthand'],\n 'vue/v-on-function-call': 'off',\n 'vue/v-on-style': ['error', 'shorthand'],\n 'vue/v-on-event-hyphenation': 'off',\n 'vue/no-setup-props-destructure': 'off',\n 'vue/block-tag-newline': ['error', {\n singleline: 'always',\n multiline: 'always',\n }],\n 'vue/require-explicit-emits': ['error'],\n 'vue/no-required-prop-with-default': ['error'],\n 'vue/no-ref-object-reactivity-loss': ['error'],\n 'vue/no-template-target-blank': ['error'],\n 'vue/define-emits-declaration': ['error', 'type-based'],\n 'vue/define-props-declaration': ['error', 'type-based'],\n 'vue-scoped-css/enforce-style-type': ['error', { allows: ['scoped', 'module'] }],\n },\n} as Linter.Config;\n"],"mappings":";AAEA,IAAA,cAAe,EACX,OAAO;CACH,6BAA6B,CAAC,OAAO;CACrC,6BAA6B,CAAC,SAAS,OAAO;CAC9C,6BAA6B,CAAC,SAAS,YAAY;CACnD,qBAAqB,CAAC,OAAO;CAC7B,6BAA6B,CAAC,SAAS,QAAQ;CAC/C,wBAAwB,CAAC,SAAS;EAC9B,cAAc;EACd,OAAO;GACH;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;GACA;EACH;CACJ,CAAA;CACD,mBAAmB,CAAC,SAAS,MAAM;CACnC,iBAAiB,CAAC,SAAS;EACvB,OAAO,CAAC,OAAO;EACf,YAAY;CACf,CAAA;CACD,oBAAoB,CAAC,SAAS;EAC1B,QAAQ;EACR,SAAS;EACT,WAAW;EACX,SAAS;EACT,SAAS;CACZ,CAAA;CACD,qBAAqB,CAAC,OAAO;CAC7B,mBAAmB,CAAC,SAAS,MAAM;CACnC,wCAAwC,CAAC,SAAS,YAAY;CAC9D,yCAAyC;EAAC;EAAS;EAAc;GAC7D,0BAA0B;GAC1B,SAAS,CACL,aACA,YACH;EACJ;CAAA;CACD,mBAAmB,CAAC,SAAS,EACzB,OAAO;EACH;EACA;EACA;EACA;CACH,EACJ,CAAA;CACD,oBAAoB,CAAC,OAAO;CAC5B,oBAAoB,CAAC,OAAO;CAC5B,cAAc,CAAC,OAAO;CACtB,yBAAyB,CAAC,OAAO;CACjC,oCAAoC,CAChC,SACA;EACI,YAAY;EACZ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AAA;CACD,8BAA8B,CAAC,OAAO;CACtC,qCAAqC,CAAC,OAAO;CAC7C,qCAAqC,CAAC,OAAO;CAC7C,gCAAgC,CAAC,OAAO;CACxC,gCAAgC,CAAC,SAAS,YAAY;CACtD,gCAAgC,CAAC,SAAS,YAAY;CACtD,qCAAqC,CAAC,SAAS,EAAE,QAAQ,CAAC,UAAU,QAAQ,EAAC,CAAE;AAClF,EACa"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vue-options-api-9KoVvBkF.cjs","names":[],"sources":["../src/rules/vue-options-api.ts"],"sourcesContent":["import type { Linter } from 'eslint';\n\nexport const vueOptionsApi = {\n rules: {\n 'vue/component-api-style': ['error', ['options']],\n 'vue/require-explicit-emits': 'off',\n 'vue/no-unused-refs': 'off',\n 'vue/no-ref-object-reactivity-loss': 'off',\n 'vue/no-setup-props-reactivity-loss': 'off',\n 'vue/no-setup-props-destructure': 'off',\n 'vue/define-emits-declaration': 'off',\n 'vue/define-props-declaration': 'off',\n 'vue/prefer-true-attribute-shorthand': ['error', 'never'],\n },\n} as Linter.Config;\n"],"mappings":";AAEA,IAAa,gBAAgB,EACzB,OAAO;CACH,2BAA2B,CAAC,SAAS,CAAC,SAAS,CAAC;CAChD,8BAA8B;CAC9B,sBAAsB;CACtB,qCAAqC;CACrC,sCAAsC;CACtC,kCAAkC;CAClC,gCAAgC;CAChC,gCAAgC;CAChC,uCAAuC,CAAC,SAAS,OAAO"}
|
|
1
|
+
{"version":3,"file":"vue-options-api-9KoVvBkF.cjs","names":[],"sources":["../src/rules/vue-options-api.ts"],"sourcesContent":["import type { Linter } from 'eslint';\n\nexport const vueOptionsApi = {\n rules: {\n 'vue/component-api-style': ['error', ['options']],\n 'vue/require-explicit-emits': 'off',\n 'vue/no-unused-refs': 'off',\n 'vue/no-ref-object-reactivity-loss': 'off',\n 'vue/no-setup-props-reactivity-loss': 'off',\n 'vue/no-setup-props-destructure': 'off',\n 'vue/define-emits-declaration': 'off',\n 'vue/define-props-declaration': 'off',\n 'vue/prefer-true-attribute-shorthand': ['error', 'never'],\n },\n} as Linter.Config;\n"],"mappings":";AAEA,IAAa,gBAAgB,EACzB,OAAO;CACH,2BAA2B,CAAC,SAAS,CAAC,SAAS,CAAC;CAChD,8BAA8B;CAC9B,sBAAsB;CACtB,qCAAqC;CACrC,sCAAsC;CACtC,kCAAkC;CAClC,gCAAgC;CAChC,gCAAgC;CAChC,uCAAuC,CAAC,SAAS,OAAO;AAC3D,EACa"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vue-options-api-Bnzaw9Tz.js","names":[],"sources":["../src/rules/vue-options-api.ts"],"sourcesContent":["import type { Linter } from 'eslint';\n\nexport const vueOptionsApi = {\n rules: {\n 'vue/component-api-style': ['error', ['options']],\n 'vue/require-explicit-emits': 'off',\n 'vue/no-unused-refs': 'off',\n 'vue/no-ref-object-reactivity-loss': 'off',\n 'vue/no-setup-props-reactivity-loss': 'off',\n 'vue/no-setup-props-destructure': 'off',\n 'vue/define-emits-declaration': 'off',\n 'vue/define-props-declaration': 'off',\n 'vue/prefer-true-attribute-shorthand': ['error', 'never'],\n },\n} as Linter.Config;\n"],"mappings":";AAEA,IAAa,gBAAgB,EACzB,OAAO;CACH,2BAA2B,CAAC,SAAS,CAAC,SAAS,CAAC;CAChD,8BAA8B;CAC9B,sBAAsB;CACtB,qCAAqC;CACrC,sCAAsC;CACtC,kCAAkC;CAClC,gCAAgC;CAChC,gCAAgC;CAChC,uCAAuC,CAAC,SAAS,OAAO"}
|
|
1
|
+
{"version":3,"file":"vue-options-api-Bnzaw9Tz.js","names":[],"sources":["../src/rules/vue-options-api.ts"],"sourcesContent":["import type { Linter } from 'eslint';\n\nexport const vueOptionsApi = {\n rules: {\n 'vue/component-api-style': ['error', ['options']],\n 'vue/require-explicit-emits': 'off',\n 'vue/no-unused-refs': 'off',\n 'vue/no-ref-object-reactivity-loss': 'off',\n 'vue/no-setup-props-reactivity-loss': 'off',\n 'vue/no-setup-props-destructure': 'off',\n 'vue/define-emits-declaration': 'off',\n 'vue/define-props-declaration': 'off',\n 'vue/prefer-true-attribute-shorthand': ['error', 'never'],\n },\n} as Linter.Config;\n"],"mappings":";AAEA,IAAa,gBAAgB,EACzB,OAAO;CACH,2BAA2B,CAAC,SAAS,CAAC,SAAS,CAAC;CAChD,8BAA8B;CAC9B,sBAAsB;CACtB,qCAAqC;CACrC,sCAAsC;CACtC,kCAAkC;CAClC,gCAAgC;CAChC,gCAAgC;CAChC,uCAAuC,CAAC,SAAS,OAAO;AAC3D,EACa"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vue2-CVSRM5hR.js","names":[],"sources":["../src/rules/vue2.ts"],"sourcesContent":["import type { Linter } from 'eslint';\nimport vue from './vue';\n\nexport const vue2Options = {\n rules: {\n ...vue.rules,\n 'vue/require-explicit-emits': 'off',\n 'vue/no-unused-refs': 'off',\n 'vue/prefer-true-attribute-shorthand': ['error', 'never'],\n },\n} as Linter.Config;\n\nexport const vue2Composition = {\n rules: {\n ...vue.rules,\n },\n} as Linter.Config;\n"],"mappings":";;AAGA,IAAa,cAAc,EACvB,OAAO;CACH,GAAG,YAAI;CACP,8BAA8B;CAC9B,sBAAsB;CACtB,uCAAuC,CAAC,SAAS,OAAO
|
|
1
|
+
{"version":3,"file":"vue2-CVSRM5hR.js","names":[],"sources":["../src/rules/vue2.ts"],"sourcesContent":["import type { Linter } from 'eslint';\nimport vue from './vue';\n\nexport const vue2Options = {\n rules: {\n ...vue.rules,\n 'vue/require-explicit-emits': 'off',\n 'vue/no-unused-refs': 'off',\n 'vue/prefer-true-attribute-shorthand': ['error', 'never'],\n },\n} as Linter.Config;\n\nexport const vue2Composition = {\n rules: {\n ...vue.rules,\n },\n} as Linter.Config;\n"],"mappings":";;AAGA,IAAa,cAAc,EACvB,OAAO;CACH,GAAG,YAAI;CACP,8BAA8B;CAC9B,sBAAsB;CACtB,uCAAuC,CAAC,SAAS,OAAO;AAC3D,EACa;AAElB,IAAa,kBAAkB,EAC3B,OAAO,EACH,GAAG,YAAI,MACV,EACa"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as merge } from "./merge-
|
|
2
|
-
import { t as mergeAll } from "./mergeAllConfig-
|
|
3
|
-
import { a as postConfig, i as core_default, n as importRules_default, o as preConfig, r as cspell_default, t as stylistic_default } from "./stylistic-
|
|
1
|
+
import { t as merge } from "./merge-R5ZHqMsV.js";
|
|
2
|
+
import { t as mergeAll } from "./mergeAllConfig-B2rSXCdn.js";
|
|
3
|
+
import { a as postConfig, i as core_default, n as importRules_default, o as preConfig, r as cspell_default, t as stylistic_default } from "./stylistic-B6j4I_aN.js";
|
|
4
4
|
import { n as vue2Options } from "./vue2-CVSRM5hR.js";
|
|
5
5
|
import globals from "globals";
|
|
6
6
|
import stylistic from "@stylistic/eslint-plugin";
|
|
@@ -21,4 +21,4 @@ var vue2_default = merge(mergeAll(pluginVue.configs["flat/vue2-recommended"], es
|
|
|
21
21
|
//#endregion
|
|
22
22
|
export { vue2_default as default };
|
|
23
23
|
|
|
24
|
-
//# sourceMappingURL=vue2-
|
|
24
|
+
//# sourceMappingURL=vue2-CYgPhPVM.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vue2-
|
|
1
|
+
{"version":3,"file":"vue2-CYgPhPVM.js","names":[],"sources":["../src/configs/vue2/index.ts"],"sourcesContent":["import type { Linter } from 'eslint';\nimport stylistic from '@stylistic/eslint-plugin';\nimport { configs as airbnbConfigs } from 'eslint-config-airbnb-extended';\nimport { importX } from 'eslint-plugin-import-x';\nimport jsdocPlugin from 'eslint-plugin-jsdoc';\nimport pluginVue from 'eslint-plugin-vue';\nimport eslintPluginVueScopedCSS from 'eslint-plugin-vue-scoped-css';\nimport globals from 'globals';\nimport { postConfig, preConfig } from '~/base';\nimport core from '~/rules/core';\nimport cspell from '~/rules/cspell';\nimport importRules from '~/rules/importRules';\nimport stylisticRules from '~/rules/stylistic';\nimport { vue2Options } from '~/rules/vue2';\nimport { merge } from '~/utils/merge';\nimport { mergeAll } from '~/utils/mergeAllConfig';\n\nexport default merge(\n mergeAll(\n pluginVue.configs['flat/vue2-recommended'],\n eslintPluginVueScopedCSS.configs['flat/vue2-recommended'] as Linter.Config[]\n ),\n importX.flatConfigs.recommended as Linter.Config,\n mergeAll(airbnbConfigs.base.recommended),\n jsdocPlugin.configs['flat/recommended'],\n preConfig(),\n core,\n importRules,\n cspell,\n { plugins: { '@stylistic': stylistic } } satisfies Linter.Config,\n stylisticRules,\n vue2Options,\n postConfig(),\n {\n languageOptions: {\n parserOptions: {\n sourceType: 'module',\n ecmaFeatures: {\n jsx: true,\n },\n extraFileExtensions: ['.vue'],\n },\n globals: {\n ...globals.browser,\n },\n },\n } satisfies Linter.Config\n);\n"],"mappings":";;;;;;;;;;;;AAiBA,IAAA,eAAe,MACX,SACI,UAAU,QAAQ,0BAClB,yBAAyB,QAAQ,wBAA2C,GAEhF,QAAQ,YAAY,aACpB,SAAS,QAAc,KAAK,WAAW,GACvC,YAAY,QAAQ,qBACpB,UAAS,GACT,cACA,qBACA,gBACA,EAAE,SAAS,EAAE,cAAc,UAAS,EAAE,GACtC,mBACA,aACA,WAAU,GACV,EACI,iBAAiB;CACb,eAAe;EACX,YAAY;EACZ,cAAc,EACV,KAAK,KACR;EACD,qBAAqB,CAAC,MAAM;CAC/B;CACD,SAAS,EACL,GAAG,QAAQ,QACd;AACJ,EACoB,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vue2-CwpD2fD-.cjs","names":[],"sources":["../src/rules/vue2.ts"],"sourcesContent":["import type { Linter } from 'eslint';\nimport vue from './vue';\n\nexport const vue2Options = {\n rules: {\n ...vue.rules,\n 'vue/require-explicit-emits': 'off',\n 'vue/no-unused-refs': 'off',\n 'vue/prefer-true-attribute-shorthand': ['error', 'never'],\n },\n} as Linter.Config;\n\nexport const vue2Composition = {\n rules: {\n ...vue.rules,\n },\n} as Linter.Config;\n"],"mappings":";;AAGA,IAAa,cAAc,EACvB,OAAO;CACH,GAAG,YAAA,YAAI;CACP,8BAA8B;CAC9B,sBAAsB;CACtB,uCAAuC,CAAC,SAAS,OAAO
|
|
1
|
+
{"version":3,"file":"vue2-CwpD2fD-.cjs","names":[],"sources":["../src/rules/vue2.ts"],"sourcesContent":["import type { Linter } from 'eslint';\nimport vue from './vue';\n\nexport const vue2Options = {\n rules: {\n ...vue.rules,\n 'vue/require-explicit-emits': 'off',\n 'vue/no-unused-refs': 'off',\n 'vue/prefer-true-attribute-shorthand': ['error', 'never'],\n },\n} as Linter.Config;\n\nexport const vue2Composition = {\n rules: {\n ...vue.rules,\n },\n} as Linter.Config;\n"],"mappings":";;AAGA,IAAa,cAAc,EACvB,OAAO;CACH,GAAG,YAAA,YAAI;CACP,8BAA8B;CAC9B,sBAAsB;CACtB,uCAAuC,CAAC,SAAS,OAAO;AAC3D,EACa;AAElB,IAAa,kBAAkB,EAC3B,OAAO,EACH,GAAG,YAAA,YAAI,MACV,EACa"}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
const
|
|
2
|
-
const require_merge = require("./merge-
|
|
3
|
-
const require_mergeAllConfig = require("./mergeAllConfig-
|
|
4
|
-
const require_stylistic = require("./stylistic-
|
|
1
|
+
const require_rolldown_runtime = require("./rolldown-runtime-VH7oDXx4.cjs");
|
|
2
|
+
const require_merge = require("./merge-DJQU2y2U.cjs");
|
|
3
|
+
const require_mergeAllConfig = require("./mergeAllConfig-DjMWjBNg.cjs");
|
|
4
|
+
const require_stylistic = require("./stylistic-Dio0AM2E.cjs");
|
|
5
5
|
const require_vue2 = require("./vue2-CwpD2fD-.cjs");
|
|
6
6
|
let globals = require("globals");
|
|
7
|
-
globals =
|
|
7
|
+
globals = require_rolldown_runtime.__toESM(globals, 1);
|
|
8
8
|
let _stylistic_eslint_plugin = require("@stylistic/eslint-plugin");
|
|
9
|
-
_stylistic_eslint_plugin =
|
|
9
|
+
_stylistic_eslint_plugin = require_rolldown_runtime.__toESM(_stylistic_eslint_plugin, 1);
|
|
10
10
|
let eslint_config_airbnb_extended = require("eslint-config-airbnb-extended");
|
|
11
11
|
let eslint_plugin_import_x = require("eslint-plugin-import-x");
|
|
12
12
|
let eslint_plugin_jsdoc = require("eslint-plugin-jsdoc");
|
|
13
|
-
eslint_plugin_jsdoc =
|
|
13
|
+
eslint_plugin_jsdoc = require_rolldown_runtime.__toESM(eslint_plugin_jsdoc, 1);
|
|
14
14
|
let eslint_plugin_vue = require("eslint-plugin-vue");
|
|
15
|
-
eslint_plugin_vue =
|
|
15
|
+
eslint_plugin_vue = require_rolldown_runtime.__toESM(eslint_plugin_vue, 1);
|
|
16
16
|
let eslint_plugin_vue_scoped_css = require("eslint-plugin-vue-scoped-css");
|
|
17
|
-
eslint_plugin_vue_scoped_css =
|
|
17
|
+
eslint_plugin_vue_scoped_css = require_rolldown_runtime.__toESM(eslint_plugin_vue_scoped_css, 1);
|
|
18
18
|
//#region src/configs/vue2/index.ts
|
|
19
19
|
var vue2_default = require_merge.merge(require_mergeAllConfig.mergeAll(eslint_plugin_vue.default.configs["flat/vue2-recommended"], eslint_plugin_vue_scoped_css.default.configs["flat/vue2-recommended"]), eslint_plugin_import_x.importX.flatConfigs.recommended, require_mergeAllConfig.mergeAll(eslint_config_airbnb_extended.configs.base.recommended), eslint_plugin_jsdoc.default.configs["flat/recommended"], require_stylistic.preConfig(), require_stylistic.core_default, require_stylistic.importRules_default, require_stylistic.cspell_default, { plugins: { "@stylistic": _stylistic_eslint_plugin.default } }, require_stylistic.stylistic_default, require_vue2.vue2Options, require_stylistic.postConfig(), { languageOptions: {
|
|
20
20
|
parserOptions: {
|
|
@@ -27,4 +27,4 @@ var vue2_default = require_merge.merge(require_mergeAllConfig.mergeAll(eslint_pl
|
|
|
27
27
|
//#endregion
|
|
28
28
|
exports.default = vue2_default;
|
|
29
29
|
|
|
30
|
-
//# sourceMappingURL=vue2-
|
|
30
|
+
//# sourceMappingURL=vue2-azKwRgaJ.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vue2-
|
|
1
|
+
{"version":3,"file":"vue2-azKwRgaJ.cjs","names":[],"sources":["../src/configs/vue2/index.ts"],"sourcesContent":["import type { Linter } from 'eslint';\nimport stylistic from '@stylistic/eslint-plugin';\nimport { configs as airbnbConfigs } from 'eslint-config-airbnb-extended';\nimport { importX } from 'eslint-plugin-import-x';\nimport jsdocPlugin from 'eslint-plugin-jsdoc';\nimport pluginVue from 'eslint-plugin-vue';\nimport eslintPluginVueScopedCSS from 'eslint-plugin-vue-scoped-css';\nimport globals from 'globals';\nimport { postConfig, preConfig } from '~/base';\nimport core from '~/rules/core';\nimport cspell from '~/rules/cspell';\nimport importRules from '~/rules/importRules';\nimport stylisticRules from '~/rules/stylistic';\nimport { vue2Options } from '~/rules/vue2';\nimport { merge } from '~/utils/merge';\nimport { mergeAll } from '~/utils/mergeAllConfig';\n\nexport default merge(\n mergeAll(\n pluginVue.configs['flat/vue2-recommended'],\n eslintPluginVueScopedCSS.configs['flat/vue2-recommended'] as Linter.Config[]\n ),\n importX.flatConfigs.recommended as Linter.Config,\n mergeAll(airbnbConfigs.base.recommended),\n jsdocPlugin.configs['flat/recommended'],\n preConfig(),\n core,\n importRules,\n cspell,\n { plugins: { '@stylistic': stylistic } } satisfies Linter.Config,\n stylisticRules,\n vue2Options,\n postConfig(),\n {\n languageOptions: {\n parserOptions: {\n sourceType: 'module',\n ecmaFeatures: {\n jsx: true,\n },\n extraFileExtensions: ['.vue'],\n },\n globals: {\n ...globals.browser,\n },\n },\n } satisfies Linter.Config\n);\n"],"mappings":";;;;;;;;;;;;;;;;;;AAiBA,IAAA,eAAe,cAAA,MACX,uBAAA,SACI,kBAAA,QAAU,QAAQ,0BAClB,6BAAA,QAAyB,QAAQ,wBAA2C,GAEhF,uBAAA,QAAQ,YAAY,aACpB,uBAAA,SAAS,8BAAA,QAAc,KAAK,WAAW,GACvC,oBAAA,QAAY,QAAQ,qBACpB,kBAAA,UAAS,GACT,kBAAA,cACA,kBAAA,qBACA,kBAAA,gBACA,EAAE,SAAS,EAAE,cAAc,yBAAA,QAAS,EAAE,GACtC,kBAAA,mBACA,aAAA,aACA,kBAAA,WAAU,GACV,EACI,iBAAiB;CACb,eAAe;EACX,YAAY;EACZ,cAAc,EACV,KAAK,KACR;EACD,qBAAqB,CAAC,MAAM;CAC/B;CACD,SAAS,EACL,GAAG,QAAA,QAAQ,QACd;AACJ,EACoB,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as merge } from "./merge-
|
|
2
|
-
import { t as mergeAll } from "./mergeAllConfig-
|
|
3
|
-
import { a as postConfig, i as core_default, n as importRules_default, o as preConfig, r as cspell_default, t as stylistic_default } from "./stylistic-
|
|
1
|
+
import { t as merge } from "./merge-R5ZHqMsV.js";
|
|
2
|
+
import { t as mergeAll } from "./mergeAllConfig-B2rSXCdn.js";
|
|
3
|
+
import { a as postConfig, i as core_default, n as importRules_default, o as preConfig, r as cspell_default, t as stylistic_default } from "./stylistic-B6j4I_aN.js";
|
|
4
4
|
import { t as vueOptionsApi } from "./vue-options-api-Bnzaw9Tz.js";
|
|
5
5
|
import { n as vue2Options } from "./vue2-CVSRM5hR.js";
|
|
6
6
|
import globals from "globals";
|
|
@@ -22,4 +22,4 @@ var vue2_options_api_default = merge(mergeAll(pluginVue.configs["flat/vue2-recom
|
|
|
22
22
|
//#endregion
|
|
23
23
|
export { vue2_options_api_default as default };
|
|
24
24
|
|
|
25
|
-
//# sourceMappingURL=vue2-options-api-
|
|
25
|
+
//# sourceMappingURL=vue2-options-api-Dvem0WyV.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vue2-options-api-
|
|
1
|
+
{"version":3,"file":"vue2-options-api-Dvem0WyV.js","names":[],"sources":["../src/configs/vue2-options-api/index.ts"],"sourcesContent":["import type { Linter } from 'eslint';\nimport stylistic from '@stylistic/eslint-plugin';\nimport { configs as airbnbConfigs } from 'eslint-config-airbnb-extended';\nimport { importX } from 'eslint-plugin-import-x';\nimport jsdocPlugin from 'eslint-plugin-jsdoc';\nimport pluginVue from 'eslint-plugin-vue';\nimport eslintPluginVueScopedCSS from 'eslint-plugin-vue-scoped-css';\nimport globals from 'globals';\nimport { postConfig, preConfig } from '~/base';\nimport core from '~/rules/core';\nimport cspell from '~/rules/cspell';\nimport importRules from '~/rules/importRules';\nimport stylisticRules from '~/rules/stylistic';\nimport { vueOptionsApi } from '~/rules/vue-options-api';\nimport { vue2Options } from '~/rules/vue2';\nimport { merge } from '~/utils/merge';\nimport { mergeAll } from '~/utils/mergeAllConfig';\n\nexport default merge(\n mergeAll(\n pluginVue.configs['flat/vue2-recommended'],\n eslintPluginVueScopedCSS.configs['flat/vue2-recommended'] as Linter.Config[]\n ),\n importX.flatConfigs.recommended as Linter.Config,\n mergeAll(airbnbConfigs.base.recommended),\n jsdocPlugin.configs['flat/recommended'],\n preConfig(),\n core,\n importRules,\n cspell,\n { plugins: { '@stylistic': stylistic } } satisfies Linter.Config,\n stylisticRules,\n vue2Options,\n vueOptionsApi,\n postConfig(),\n {\n languageOptions: {\n parserOptions: {\n sourceType: 'module',\n ecmaFeatures: {\n jsx: true,\n },\n extraFileExtensions: ['.vue'],\n },\n globals: {\n ...globals.browser,\n },\n },\n } satisfies Linter.Config\n);\n"],"mappings":";;;;;;;;;;;;;AAkBA,IAAA,2BAAe,MACX,SACI,UAAU,QAAQ,0BAClB,yBAAyB,QAAQ,wBAA2C,GAEhF,QAAQ,YAAY,aACpB,SAAS,QAAc,KAAK,WAAW,GACvC,YAAY,QAAQ,qBACpB,UAAS,GACT,cACA,qBACA,gBACA,EAAE,SAAS,EAAE,cAAc,UAAS,EAAE,GACtC,mBACA,aACA,eACA,WAAU,GACV,EACI,iBAAiB;CACb,eAAe;EACX,YAAY;EACZ,cAAc,EACV,KAAK,KACR;EACD,qBAAqB,CAAC,MAAM;CAC/B;CACD,SAAS,EACL,GAAG,QAAQ,QACd;AACJ,EACoB,CAAA"}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
const
|
|
2
|
-
const require_merge = require("./merge-
|
|
3
|
-
const require_mergeAllConfig = require("./mergeAllConfig-
|
|
4
|
-
const require_stylistic = require("./stylistic-
|
|
1
|
+
const require_rolldown_runtime = require("./rolldown-runtime-VH7oDXx4.cjs");
|
|
2
|
+
const require_merge = require("./merge-DJQU2y2U.cjs");
|
|
3
|
+
const require_mergeAllConfig = require("./mergeAllConfig-DjMWjBNg.cjs");
|
|
4
|
+
const require_stylistic = require("./stylistic-Dio0AM2E.cjs");
|
|
5
5
|
const require_vue_options_api = require("./vue-options-api-9KoVvBkF.cjs");
|
|
6
6
|
const require_vue2 = require("./vue2-CwpD2fD-.cjs");
|
|
7
7
|
let globals = require("globals");
|
|
8
|
-
globals =
|
|
8
|
+
globals = require_rolldown_runtime.__toESM(globals, 1);
|
|
9
9
|
let _stylistic_eslint_plugin = require("@stylistic/eslint-plugin");
|
|
10
|
-
_stylistic_eslint_plugin =
|
|
10
|
+
_stylistic_eslint_plugin = require_rolldown_runtime.__toESM(_stylistic_eslint_plugin, 1);
|
|
11
11
|
let eslint_config_airbnb_extended = require("eslint-config-airbnb-extended");
|
|
12
12
|
let eslint_plugin_import_x = require("eslint-plugin-import-x");
|
|
13
13
|
let eslint_plugin_jsdoc = require("eslint-plugin-jsdoc");
|
|
14
|
-
eslint_plugin_jsdoc =
|
|
14
|
+
eslint_plugin_jsdoc = require_rolldown_runtime.__toESM(eslint_plugin_jsdoc, 1);
|
|
15
15
|
let eslint_plugin_vue = require("eslint-plugin-vue");
|
|
16
|
-
eslint_plugin_vue =
|
|
16
|
+
eslint_plugin_vue = require_rolldown_runtime.__toESM(eslint_plugin_vue, 1);
|
|
17
17
|
let eslint_plugin_vue_scoped_css = require("eslint-plugin-vue-scoped-css");
|
|
18
|
-
eslint_plugin_vue_scoped_css =
|
|
18
|
+
eslint_plugin_vue_scoped_css = require_rolldown_runtime.__toESM(eslint_plugin_vue_scoped_css, 1);
|
|
19
19
|
//#region src/configs/vue2-options-api/index.ts
|
|
20
20
|
var vue2_options_api_default = require_merge.merge(require_mergeAllConfig.mergeAll(eslint_plugin_vue.default.configs["flat/vue2-recommended"], eslint_plugin_vue_scoped_css.default.configs["flat/vue2-recommended"]), eslint_plugin_import_x.importX.flatConfigs.recommended, require_mergeAllConfig.mergeAll(eslint_config_airbnb_extended.configs.base.recommended), eslint_plugin_jsdoc.default.configs["flat/recommended"], require_stylistic.preConfig(), require_stylistic.core_default, require_stylistic.importRules_default, require_stylistic.cspell_default, { plugins: { "@stylistic": _stylistic_eslint_plugin.default } }, require_stylistic.stylistic_default, require_vue2.vue2Options, require_vue_options_api.vueOptionsApi, require_stylistic.postConfig(), { languageOptions: {
|
|
21
21
|
parserOptions: {
|
|
@@ -28,4 +28,4 @@ var vue2_options_api_default = require_merge.merge(require_mergeAllConfig.mergeA
|
|
|
28
28
|
//#endregion
|
|
29
29
|
exports.default = vue2_options_api_default;
|
|
30
30
|
|
|
31
|
-
//# sourceMappingURL=vue2-options-api-
|
|
31
|
+
//# sourceMappingURL=vue2-options-api-ma3J-bvM.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vue2-options-api-
|
|
1
|
+
{"version":3,"file":"vue2-options-api-ma3J-bvM.cjs","names":[],"sources":["../src/configs/vue2-options-api/index.ts"],"sourcesContent":["import type { Linter } from 'eslint';\nimport stylistic from '@stylistic/eslint-plugin';\nimport { configs as airbnbConfigs } from 'eslint-config-airbnb-extended';\nimport { importX } from 'eslint-plugin-import-x';\nimport jsdocPlugin from 'eslint-plugin-jsdoc';\nimport pluginVue from 'eslint-plugin-vue';\nimport eslintPluginVueScopedCSS from 'eslint-plugin-vue-scoped-css';\nimport globals from 'globals';\nimport { postConfig, preConfig } from '~/base';\nimport core from '~/rules/core';\nimport cspell from '~/rules/cspell';\nimport importRules from '~/rules/importRules';\nimport stylisticRules from '~/rules/stylistic';\nimport { vueOptionsApi } from '~/rules/vue-options-api';\nimport { vue2Options } from '~/rules/vue2';\nimport { merge } from '~/utils/merge';\nimport { mergeAll } from '~/utils/mergeAllConfig';\n\nexport default merge(\n mergeAll(\n pluginVue.configs['flat/vue2-recommended'],\n eslintPluginVueScopedCSS.configs['flat/vue2-recommended'] as Linter.Config[]\n ),\n importX.flatConfigs.recommended as Linter.Config,\n mergeAll(airbnbConfigs.base.recommended),\n jsdocPlugin.configs['flat/recommended'],\n preConfig(),\n core,\n importRules,\n cspell,\n { plugins: { '@stylistic': stylistic } } satisfies Linter.Config,\n stylisticRules,\n vue2Options,\n vueOptionsApi,\n postConfig(),\n {\n languageOptions: {\n parserOptions: {\n sourceType: 'module',\n ecmaFeatures: {\n jsx: true,\n },\n extraFileExtensions: ['.vue'],\n },\n globals: {\n ...globals.browser,\n },\n },\n } satisfies Linter.Config\n);\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAkBA,IAAA,2BAAe,cAAA,MACX,uBAAA,SACI,kBAAA,QAAU,QAAQ,0BAClB,6BAAA,QAAyB,QAAQ,wBAA2C,GAEhF,uBAAA,QAAQ,YAAY,aACpB,uBAAA,SAAS,8BAAA,QAAc,KAAK,WAAW,GACvC,oBAAA,QAAY,QAAQ,qBACpB,kBAAA,UAAS,GACT,kBAAA,cACA,kBAAA,qBACA,kBAAA,gBACA,EAAE,SAAS,EAAE,cAAc,yBAAA,QAAS,EAAE,GACtC,kBAAA,mBACA,aAAA,aACA,wBAAA,eACA,kBAAA,WAAU,GACV,EACI,iBAAiB;CACb,eAAe;EACX,YAAY;EACZ,cAAc,EACV,KAAK,KACR;EACD,qBAAqB,CAAC,MAAM;CAC/B;CACD,SAAS,EACL,GAAG,QAAA,QAAQ,QACd;AACJ,EACoB,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as merge } from "./merge-
|
|
2
|
-
import { t as mergeAll } from "./mergeAllConfig-
|
|
3
|
-
import { a as postConfig, i as core_default, n as importRules_default, o as preConfig, r as cspell_default, t as stylistic_default } from "./stylistic-
|
|
1
|
+
import { t as merge } from "./merge-R5ZHqMsV.js";
|
|
2
|
+
import { t as mergeAll } from "./mergeAllConfig-B2rSXCdn.js";
|
|
3
|
+
import { a as postConfig, i as core_default, n as importRules_default, o as preConfig, r as cspell_default, t as stylistic_default } from "./stylistic-B6j4I_aN.js";
|
|
4
4
|
import { n as typescript_default, t as removePluginsFromConfigs } from "./removePluginsFromConfigs-DzqX2Ju2.js";
|
|
5
5
|
import { t as vue2Composition } from "./vue2-CVSRM5hR.js";
|
|
6
6
|
import { t as vue2Typescript } from "./vue2-typescript-DWnsb3uv.js";
|
|
@@ -38,4 +38,4 @@ var vue2_typescript_default = mergeAll(ts.config(js.configs.recommended, importX
|
|
|
38
38
|
//#endregion
|
|
39
39
|
export { vue2_typescript_default as default };
|
|
40
40
|
|
|
41
|
-
//# sourceMappingURL=vue2-typescript-
|
|
41
|
+
//# sourceMappingURL=vue2-typescript-BbhsVbsV.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vue2-typescript-
|
|
1
|
+
{"version":3,"file":"vue2-typescript-BbhsVbsV.js","names":[],"sources":["../src/configs/vue2-typescript/index.ts"],"sourcesContent":["import type { Linter } from 'eslint';\nimport js from '@eslint/js';\nimport stylistic from '@stylistic/eslint-plugin';\nimport { configs as airbnbConfigs } from 'eslint-config-airbnb-extended';\nimport { importX } from 'eslint-plugin-import-x';\nimport jsdocPlugin from 'eslint-plugin-jsdoc';\nimport eslintPluginVue from 'eslint-plugin-vue';\nimport eslintPluginVueScopedCSS from 'eslint-plugin-vue-scoped-css';\nimport globals from 'globals';\nimport ts from 'typescript-eslint';\nimport { postConfig, preConfig } from '~/base';\nimport core from '~/rules/core';\nimport cspell from '~/rules/cspell';\nimport importRules from '~/rules/importRules';\nimport stylisticRules from '~/rules/stylistic';\nimport typescript from '~/rules/typescript';\nimport { vue2Composition } from '~/rules/vue2';\nimport { vue2Typescript } from '~/rules/vue2-typescript';\nimport { merge } from '~/utils/merge';\nimport { mergeAll } from '~/utils/mergeAllConfig';\nimport { removePluginsFromConfigs } from '~/utils/removePluginsFromConfigs';\n\nexport default mergeAll((\n // eslint-disable-next-line sonarjs/deprecation -- defineConfig from eslint/config has a ConfigWithExtends type incompatible with the vue/typescript-eslint plugin configs in this version\n ts.config(\n js.configs.recommended,\n importX.flatConfigs.recommended,\n ...airbnbConfigs.base.all,\n ...ts.configs.recommended,\n ...removePluginsFromConfigs(ts.configs.recommendedTypeChecked),\n ...eslintPluginVue.configs['flat/vue2-recommended'].map(config => {\n delete config.files;\n\n return config;\n }),\n ...eslintPluginVueScopedCSS.configs['flat/vue2-recommended'],\n jsdocPlugin.configs['flat/recommended-typescript-error'],\n merge<Linter.Config[]>(\n preConfig(),\n core,\n importRules,\n cspell,\n { plugins: { '@stylistic': stylistic } } satisfies Linter.Config,\n stylisticRules,\n vue2Composition,\n typescript,\n vue2Typescript,\n postConfig(),\n {\n languageOptions: {\n globals: {\n ...globals.browser,\n },\n parserOptions: {\n parser: ts.parser,\n sourceType: 'module',\n ecmaFeatures: {\n jsx: true,\n },\n extraFileExtensions: ['.vue'],\n },\n },\n settings: {\n jsdoc: {\n mode: 'typescript',\n tagNamePreference: {\n callback: 'watch',\n desc: 'use',\n },\n },\n },\n }\n )\n )\n) as Linter.Config[]);\n"],"mappings":";;;;;;;;;;;;;;;;AAsBA,IAAA,0BAAe,SAEX,GAAG,OACC,GAAG,QAAQ,aACX,QAAQ,YAAY,aACpB,GAAG,QAAc,KAAK,KACtB,GAAG,GAAG,QAAQ,aACd,GAAG,yBAAyB,GAAG,QAAQ,sBAAsB,GAC7D,GAAG,UAAgB,QAAQ,wBAAwB,CAAC,KAAI,WAAS;CAC7D,OAAO,OAAO;CAEd,OAAO;AACX,CAAC,GACD,GAAG,yBAAyB,QAAQ,0BACpC,YAAY,QAAQ,sCACpB,MACI,UAAS,GACT,cACA,qBACA,gBACA,EAAE,SAAS,EAAE,cAAc,UAAS,EAAE,GACtC,mBACA,iBACA,oBACA,gBACA,WAAU,GACV;CACI,iBAAiB;EACb,SAAS,EACL,GAAG,QAAQ,QACd;EACD,eAAe;GACX,QAAQ,GAAG;GACX,YAAY;GACZ,cAAc,EACV,KAAK,KACR;GACD,qBAAqB,CAAC,MAAM;EAC/B;CACJ;CACD,UAAU,EACN,OAAO;EACH,MAAM;EACN,mBAAmB;GACf,UAAU;GACV,MAAM;EACT;CACJ,EACJ;AACJ,CAAA,CACJ,CAEW"}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
const
|
|
2
|
-
const require_merge = require("./merge-
|
|
3
|
-
const require_mergeAllConfig = require("./mergeAllConfig-
|
|
4
|
-
const require_stylistic = require("./stylistic-
|
|
1
|
+
const require_rolldown_runtime = require("./rolldown-runtime-VH7oDXx4.cjs");
|
|
2
|
+
const require_merge = require("./merge-DJQU2y2U.cjs");
|
|
3
|
+
const require_mergeAllConfig = require("./mergeAllConfig-DjMWjBNg.cjs");
|
|
4
|
+
const require_stylistic = require("./stylistic-Dio0AM2E.cjs");
|
|
5
5
|
const require_removePluginsFromConfigs = require("./removePluginsFromConfigs-D0oSUj2C.cjs");
|
|
6
6
|
const require_vue2 = require("./vue2-CwpD2fD-.cjs");
|
|
7
7
|
const require_vue2_typescript = require("./vue2-typescript-Cr8IshuA.cjs");
|
|
8
8
|
let globals = require("globals");
|
|
9
|
-
globals =
|
|
9
|
+
globals = require_rolldown_runtime.__toESM(globals, 1);
|
|
10
10
|
let _stylistic_eslint_plugin = require("@stylistic/eslint-plugin");
|
|
11
|
-
_stylistic_eslint_plugin =
|
|
11
|
+
_stylistic_eslint_plugin = require_rolldown_runtime.__toESM(_stylistic_eslint_plugin, 1);
|
|
12
12
|
let eslint_config_airbnb_extended = require("eslint-config-airbnb-extended");
|
|
13
13
|
let eslint_plugin_import_x = require("eslint-plugin-import-x");
|
|
14
14
|
let eslint_plugin_jsdoc = require("eslint-plugin-jsdoc");
|
|
15
|
-
eslint_plugin_jsdoc =
|
|
15
|
+
eslint_plugin_jsdoc = require_rolldown_runtime.__toESM(eslint_plugin_jsdoc, 1);
|
|
16
16
|
let _eslint_js = require("@eslint/js");
|
|
17
|
-
_eslint_js =
|
|
17
|
+
_eslint_js = require_rolldown_runtime.__toESM(_eslint_js, 1);
|
|
18
18
|
let typescript_eslint = require("typescript-eslint");
|
|
19
|
-
typescript_eslint =
|
|
19
|
+
typescript_eslint = require_rolldown_runtime.__toESM(typescript_eslint, 1);
|
|
20
20
|
let eslint_plugin_vue = require("eslint-plugin-vue");
|
|
21
|
-
eslint_plugin_vue =
|
|
21
|
+
eslint_plugin_vue = require_rolldown_runtime.__toESM(eslint_plugin_vue, 1);
|
|
22
22
|
let eslint_plugin_vue_scoped_css = require("eslint-plugin-vue-scoped-css");
|
|
23
|
-
eslint_plugin_vue_scoped_css =
|
|
23
|
+
eslint_plugin_vue_scoped_css = require_rolldown_runtime.__toESM(eslint_plugin_vue_scoped_css, 1);
|
|
24
24
|
//#region src/configs/vue2-typescript/index.ts
|
|
25
25
|
var vue2_typescript_default = require_mergeAllConfig.mergeAll(typescript_eslint.default.config(_eslint_js.default.configs.recommended, eslint_plugin_import_x.importX.flatConfigs.recommended, ...eslint_config_airbnb_extended.configs.base.all, ...typescript_eslint.default.configs.recommended, ...require_removePluginsFromConfigs.removePluginsFromConfigs(typescript_eslint.default.configs.recommendedTypeChecked), ...eslint_plugin_vue.default.configs["flat/vue2-recommended"].map((config) => {
|
|
26
26
|
delete config.files;
|
|
@@ -46,4 +46,4 @@ var vue2_typescript_default = require_mergeAllConfig.mergeAll(typescript_eslint.
|
|
|
46
46
|
//#endregion
|
|
47
47
|
exports.default = vue2_typescript_default;
|
|
48
48
|
|
|
49
|
-
//# sourceMappingURL=vue2-typescript-
|
|
49
|
+
//# sourceMappingURL=vue2-typescript-CZSHzp7I.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vue2-typescript-
|
|
1
|
+
{"version":3,"file":"vue2-typescript-CZSHzp7I.cjs","names":[],"sources":["../src/configs/vue2-typescript/index.ts"],"sourcesContent":["import type { Linter } from 'eslint';\nimport js from '@eslint/js';\nimport stylistic from '@stylistic/eslint-plugin';\nimport { configs as airbnbConfigs } from 'eslint-config-airbnb-extended';\nimport { importX } from 'eslint-plugin-import-x';\nimport jsdocPlugin from 'eslint-plugin-jsdoc';\nimport eslintPluginVue from 'eslint-plugin-vue';\nimport eslintPluginVueScopedCSS from 'eslint-plugin-vue-scoped-css';\nimport globals from 'globals';\nimport ts from 'typescript-eslint';\nimport { postConfig, preConfig } from '~/base';\nimport core from '~/rules/core';\nimport cspell from '~/rules/cspell';\nimport importRules from '~/rules/importRules';\nimport stylisticRules from '~/rules/stylistic';\nimport typescript from '~/rules/typescript';\nimport { vue2Composition } from '~/rules/vue2';\nimport { vue2Typescript } from '~/rules/vue2-typescript';\nimport { merge } from '~/utils/merge';\nimport { mergeAll } from '~/utils/mergeAllConfig';\nimport { removePluginsFromConfigs } from '~/utils/removePluginsFromConfigs';\n\nexport default mergeAll((\n // eslint-disable-next-line sonarjs/deprecation -- defineConfig from eslint/config has a ConfigWithExtends type incompatible with the vue/typescript-eslint plugin configs in this version\n ts.config(\n js.configs.recommended,\n importX.flatConfigs.recommended,\n ...airbnbConfigs.base.all,\n ...ts.configs.recommended,\n ...removePluginsFromConfigs(ts.configs.recommendedTypeChecked),\n ...eslintPluginVue.configs['flat/vue2-recommended'].map(config => {\n delete config.files;\n\n return config;\n }),\n ...eslintPluginVueScopedCSS.configs['flat/vue2-recommended'],\n jsdocPlugin.configs['flat/recommended-typescript-error'],\n merge<Linter.Config[]>(\n preConfig(),\n core,\n importRules,\n cspell,\n { plugins: { '@stylistic': stylistic } } satisfies Linter.Config,\n stylisticRules,\n vue2Composition,\n typescript,\n vue2Typescript,\n postConfig(),\n {\n languageOptions: {\n globals: {\n ...globals.browser,\n },\n parserOptions: {\n parser: ts.parser,\n sourceType: 'module',\n ecmaFeatures: {\n jsx: true,\n },\n extraFileExtensions: ['.vue'],\n },\n },\n settings: {\n jsdoc: {\n mode: 'typescript',\n tagNamePreference: {\n callback: 'watch',\n desc: 'use',\n },\n },\n },\n }\n )\n )\n) as Linter.Config[]);\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAsBA,IAAA,0BAAe,uBAAA,SAEX,kBAAA,QAAG,OACC,WAAA,QAAG,QAAQ,aACX,uBAAA,QAAQ,YAAY,aACpB,GAAG,8BAAA,QAAc,KAAK,KACtB,GAAG,kBAAA,QAAG,QAAQ,aACd,GAAG,iCAAA,yBAAyB,kBAAA,QAAG,QAAQ,sBAAsB,GAC7D,GAAG,kBAAA,QAAgB,QAAQ,wBAAwB,CAAC,KAAI,WAAS;CAC7D,OAAO,OAAO;CAEd,OAAO;AACX,CAAC,GACD,GAAG,6BAAA,QAAyB,QAAQ,0BACpC,oBAAA,QAAY,QAAQ,sCACpB,cAAA,MACI,kBAAA,UAAS,GACT,kBAAA,cACA,kBAAA,qBACA,kBAAA,gBACA,EAAE,SAAS,EAAE,cAAc,yBAAA,QAAS,EAAE,GACtC,kBAAA,mBACA,aAAA,iBACA,iCAAA,oBACA,wBAAA,gBACA,kBAAA,WAAU,GACV;CACI,iBAAiB;EACb,SAAS,EACL,GAAG,QAAA,QAAQ,QACd;EACD,eAAe;GACX,QAAQ,kBAAA,QAAG;GACX,YAAY;GACZ,cAAc,EACV,KAAK,KACR;GACD,qBAAqB,CAAC,MAAM;EAC/B;CACJ;CACD,UAAU,EACN,OAAO;EACH,MAAM;EACN,mBAAmB;GACf,UAAU;GACV,MAAM;EACT;CACJ,EACJ;AACJ,CAAA,CACJ,CAEW"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vue2-typescript-Cr8IshuA.cjs","names":[],"sources":["../src/rules/vue2-typescript.ts"],"sourcesContent":["import type { Linter } from 'eslint';\n\nexport const vue2Typescript = {\n rules: {\n '@typescript-eslint/no-duplicate-type-constituents': 'off',\n '@typescript-eslint/no-unsafe-call': 'off',\n '@typescript-eslint/no-unsafe-argument': 'off',\n '@typescript-eslint/no-unsafe-return': 'off',\n '@typescript-eslint/no-unsafe-assignment': 'off',\n '@typescript-eslint/no-unsafe-member-access': 'off',\n },\n} as Linter.Config;\n"],"mappings":";AAEA,IAAa,iBAAiB,EAC1B,OAAO;CACH,qDAAqD;CACrD,qCAAqC;CACrC,yCAAyC;CACzC,uCAAuC;CACvC,2CAA2C;CAC3C,8CAA8C"}
|
|
1
|
+
{"version":3,"file":"vue2-typescript-Cr8IshuA.cjs","names":[],"sources":["../src/rules/vue2-typescript.ts"],"sourcesContent":["import type { Linter } from 'eslint';\n\nexport const vue2Typescript = {\n rules: {\n '@typescript-eslint/no-duplicate-type-constituents': 'off',\n '@typescript-eslint/no-unsafe-call': 'off',\n '@typescript-eslint/no-unsafe-argument': 'off',\n '@typescript-eslint/no-unsafe-return': 'off',\n '@typescript-eslint/no-unsafe-assignment': 'off',\n '@typescript-eslint/no-unsafe-member-access': 'off',\n },\n} as Linter.Config;\n"],"mappings":";AAEA,IAAa,iBAAiB,EAC1B,OAAO;CACH,qDAAqD;CACrD,qCAAqC;CACrC,yCAAyC;CACzC,uCAAuC;CACvC,2CAA2C;CAC3C,8CAA8C;AACjD,EACa"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vue2-typescript-DWnsb3uv.js","names":[],"sources":["../src/rules/vue2-typescript.ts"],"sourcesContent":["import type { Linter } from 'eslint';\n\nexport const vue2Typescript = {\n rules: {\n '@typescript-eslint/no-duplicate-type-constituents': 'off',\n '@typescript-eslint/no-unsafe-call': 'off',\n '@typescript-eslint/no-unsafe-argument': 'off',\n '@typescript-eslint/no-unsafe-return': 'off',\n '@typescript-eslint/no-unsafe-assignment': 'off',\n '@typescript-eslint/no-unsafe-member-access': 'off',\n },\n} as Linter.Config;\n"],"mappings":";AAEA,IAAa,iBAAiB,EAC1B,OAAO;CACH,qDAAqD;CACrD,qCAAqC;CACrC,yCAAyC;CACzC,uCAAuC;CACvC,2CAA2C;CAC3C,8CAA8C"}
|
|
1
|
+
{"version":3,"file":"vue2-typescript-DWnsb3uv.js","names":[],"sources":["../src/rules/vue2-typescript.ts"],"sourcesContent":["import type { Linter } from 'eslint';\n\nexport const vue2Typescript = {\n rules: {\n '@typescript-eslint/no-duplicate-type-constituents': 'off',\n '@typescript-eslint/no-unsafe-call': 'off',\n '@typescript-eslint/no-unsafe-argument': 'off',\n '@typescript-eslint/no-unsafe-return': 'off',\n '@typescript-eslint/no-unsafe-assignment': 'off',\n '@typescript-eslint/no-unsafe-member-access': 'off',\n },\n} as Linter.Config;\n"],"mappings":";AAEA,IAAa,iBAAiB,EAC1B,OAAO;CACH,qDAAqD;CACrD,qCAAqC;CACrC,yCAAyC;CACzC,uCAAuC;CACvC,2CAA2C;CAC3C,8CAA8C;AACjD,EACa"}
|
package/dist/{vue2-typescript-options-api-DsejF_KX.js → vue2-typescript-options-api-A5jU6hdD.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as merge } from "./merge-
|
|
2
|
-
import { t as mergeAll } from "./mergeAllConfig-
|
|
3
|
-
import { a as postConfig, i as core_default, n as importRules_default, o as preConfig, r as cspell_default, t as stylistic_default } from "./stylistic-
|
|
1
|
+
import { t as merge } from "./merge-R5ZHqMsV.js";
|
|
2
|
+
import { t as mergeAll } from "./mergeAllConfig-B2rSXCdn.js";
|
|
3
|
+
import { a as postConfig, i as core_default, n as importRules_default, o as preConfig, r as cspell_default, t as stylistic_default } from "./stylistic-B6j4I_aN.js";
|
|
4
4
|
import { n as typescript_default, t as removePluginsFromConfigs } from "./removePluginsFromConfigs-DzqX2Ju2.js";
|
|
5
5
|
import { t as vueOptionsApi } from "./vue-options-api-Bnzaw9Tz.js";
|
|
6
6
|
import { n as vue2Options } from "./vue2-CVSRM5hR.js";
|
|
@@ -39,4 +39,4 @@ var vue2_typescript_options_api_default = mergeAll(ts.config(js.configs.recommen
|
|
|
39
39
|
//#endregion
|
|
40
40
|
export { vue2_typescript_options_api_default as default };
|
|
41
41
|
|
|
42
|
-
//# sourceMappingURL=vue2-typescript-options-api-
|
|
42
|
+
//# sourceMappingURL=vue2-typescript-options-api-A5jU6hdD.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vue2-typescript-options-api-
|
|
1
|
+
{"version":3,"file":"vue2-typescript-options-api-A5jU6hdD.js","names":[],"sources":["../src/configs/vue2-typescript-options-api/index.ts"],"sourcesContent":["import type { Linter } from 'eslint';\nimport js from '@eslint/js';\nimport stylistic from '@stylistic/eslint-plugin';\nimport { configs as airbnbConfigs } from 'eslint-config-airbnb-extended';\nimport { importX } from 'eslint-plugin-import-x';\nimport jsdocPlugin from 'eslint-plugin-jsdoc';\nimport eslintPluginVue from 'eslint-plugin-vue';\nimport eslintPluginVueScopedCSS from 'eslint-plugin-vue-scoped-css';\nimport globals from 'globals';\nimport ts from 'typescript-eslint';\nimport { postConfig, preConfig } from '~/base';\nimport core from '~/rules/core';\nimport cspell from '~/rules/cspell';\nimport importRules from '~/rules/importRules';\nimport stylisticRules from '~/rules/stylistic';\nimport typescript from '~/rules/typescript';\nimport { vueOptionsApi } from '~/rules/vue-options-api';\nimport { vue2Options } from '~/rules/vue2';\nimport { vue2Typescript } from '~/rules/vue2-typescript';\nimport { merge } from '~/utils/merge';\nimport { mergeAll } from '~/utils/mergeAllConfig';\nimport { removePluginsFromConfigs } from '~/utils/removePluginsFromConfigs';\n\nexport default mergeAll((\n // eslint-disable-next-line sonarjs/deprecation -- defineConfig from eslint/config has a ConfigWithExtends type incompatible with the vue/typescript-eslint plugin configs in this version\n ts.config(\n js.configs.recommended,\n importX.flatConfigs.recommended,\n ...airbnbConfigs.base.all,\n ...ts.configs.recommended,\n ...removePluginsFromConfigs(ts.configs.recommendedTypeChecked),\n ...eslintPluginVue.configs['flat/vue2-recommended'].map(config => {\n delete config.files;\n\n return config;\n }),\n ...eslintPluginVueScopedCSS.configs['flat/vue2-recommended'],\n jsdocPlugin.configs['flat/recommended-typescript-error'],\n merge<Linter.Config[]>(\n preConfig(),\n core,\n importRules,\n cspell,\n { plugins: { '@stylistic': stylistic } } satisfies Linter.Config,\n stylisticRules,\n vue2Options,\n typescript,\n vue2Typescript,\n vueOptionsApi,\n postConfig(),\n {\n languageOptions: {\n globals: {\n ...globals.browser,\n },\n parserOptions: {\n parser: ts.parser,\n sourceType: 'module',\n ecmaFeatures: {\n jsx: true,\n },\n extraFileExtensions: ['.vue'],\n },\n },\n settings: {\n jsdoc: {\n mode: 'typescript',\n tagNamePreference: {\n callback: 'watch',\n desc: 'use',\n },\n },\n },\n }\n )\n )\n) as Linter.Config[]);\n"],"mappings":";;;;;;;;;;;;;;;;;AAuBA,IAAA,sCAAe,SAEX,GAAG,OACC,GAAG,QAAQ,aACX,QAAQ,YAAY,aACpB,GAAG,QAAc,KAAK,KACtB,GAAG,GAAG,QAAQ,aACd,GAAG,yBAAyB,GAAG,QAAQ,sBAAsB,GAC7D,GAAG,UAAgB,QAAQ,wBAAwB,CAAC,KAAI,WAAS;CAC7D,OAAO,OAAO;CAEd,OAAO;AACX,CAAC,GACD,GAAG,yBAAyB,QAAQ,0BACpC,YAAY,QAAQ,sCACpB,MACI,UAAS,GACT,cACA,qBACA,gBACA,EAAE,SAAS,EAAE,cAAc,UAAS,EAAE,GACtC,mBACA,aACA,oBACA,gBACA,eACA,WAAU,GACV;CACI,iBAAiB;EACb,SAAS,EACL,GAAG,QAAQ,QACd;EACD,eAAe;GACX,QAAQ,GAAG;GACX,YAAY;GACZ,cAAc,EACV,KAAK,KACR;GACD,qBAAqB,CAAC,MAAM;EAC/B;CACJ;CACD,UAAU,EACN,OAAO;EACH,MAAM;EACN,mBAAmB;GACf,UAAU;GACV,MAAM;EACT;CACJ,EACJ;AACJ,CAAA,CACJ,CAEW"}
|