@useinsider/eslint-config 1.9.2 → 1.10.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/README.md +5 -4
  2. package/dist/base.d.ts +2 -2
  3. package/dist/configs/config/index.d.ts +1 -1
  4. package/dist/configs/javascript/index.d.ts +2 -1
  5. package/dist/configs/javascript-dom/index.d.ts +1 -1
  6. package/dist/configs/javascript-node/index.d.ts +1 -1
  7. package/dist/configs/jest/index.d.ts +1 -1
  8. package/dist/configs/jsdoc-based-ts/index.d.ts +1 -1
  9. package/dist/configs/typescript/index.d.ts +1 -1
  10. package/dist/configs/typescript-dom/index.d.ts +1 -1
  11. package/dist/configs/typescript-node/index.d.ts +2 -2
  12. package/dist/configs/vue2/index.d.ts +1 -1
  13. package/dist/configs/vue2-typescript/index.d.ts +3 -0
  14. package/dist/configs/vue3/index.d.ts +1 -1
  15. package/dist/configs/vue3-typescript/index.d.ts +1 -1
  16. package/dist/index-5XpuN8zJ.js +36 -0
  17. package/dist/index-AoIfKLih.cjs +1 -0
  18. package/dist/index-BbY-DzQZ.js +23 -0
  19. package/dist/index-BcXPdx1B.cjs +1 -0
  20. package/dist/index-BfVokhiU.js +50 -0
  21. package/dist/index-BmBugWe4.cjs +1 -0
  22. package/dist/{index-UyB1dQmr.cjs → index-BmEpUwjI.cjs} +1 -1
  23. package/dist/index-C2ejyG13.js +43 -0
  24. package/dist/index-C2p6z9H4.js +9 -0
  25. package/dist/{index-CCc7nS-L.cjs → index-C8Fyv8dX.cjs} +1 -1
  26. package/dist/{index-Dz51pbFA.js → index-C9C56Sak.js} +1 -1
  27. package/dist/{index-BsEDEtyS.js → index-C__itRdP.js} +1 -1
  28. package/dist/{index-Cjyj5Al1.cjs → index-Ce8VTxdD.cjs} +1 -1
  29. package/dist/index-Chj1r0fO.cjs +1 -0
  30. package/dist/index-CluTLBWw.cjs +1 -0
  31. package/dist/{index-DWdvFLYP.js → index-Cy4JQvOe.js} +3 -3
  32. package/dist/index-D33jOlli.cjs +1 -0
  33. package/dist/index-DEn6q6Nn.cjs +1 -0
  34. package/dist/index-DhhGuad5.cjs +1 -0
  35. package/dist/index-PPmRJNMx.js +50 -0
  36. package/dist/{index-E3Dvq2rq.js → index-kDh8-AEb.js} +1 -1
  37. package/dist/index-uJNHwtXG.js +43 -0
  38. package/dist/main.cjs +2 -2
  39. package/dist/main.d.ts +3 -2
  40. package/dist/main.js +57 -55
  41. package/dist/rules/core.d.ts +1 -1
  42. package/dist/rules/cspell.d.ts +1 -1
  43. package/dist/rules/importRules.d.ts +1 -1
  44. package/dist/rules/jsdoc.d.ts +1 -1
  45. package/dist/rules/stylistic.d.ts +1 -1
  46. package/dist/rules/typescript.d.ts +1 -1
  47. package/dist/rules/vue.d.ts +1 -1
  48. package/dist/rules/vue2.d.ts +2 -2
  49. package/dist/stylistic-D3KEBmIv.cjs +1 -0
  50. package/dist/stylistic-DSE4g5OV.js +419 -0
  51. package/dist/{rules/typescript.cjs → typescript-BvnP4VCM.cjs} +1 -1
  52. package/dist/{rules/typescript.js → typescript-Dg4zKuYI.js} +1 -1
  53. package/dist/utils/compat.d.ts +4 -4
  54. package/dist/utils/mergeAllConfig.d.ts +1 -1
  55. package/dist/{rules/vue.js → vue-5XWMLJUh.js} +3 -3
  56. package/dist/vue-D2lo_IGG.cjs +1 -0
  57. package/dist/{rules/vue2.js → vue2-7aDd9M-9.js} +8 -3
  58. package/dist/vue2-CpDCkxcX.cjs +1 -0
  59. package/package.json +32 -39
  60. package/dist/base-C2fq_o3u.cjs +0 -1
  61. package/dist/base-DhxoXy40.js +0 -29
  62. package/dist/compat-DfBTP0AK.js +0 -15
  63. package/dist/compat-S2mgbwTA.cjs +0 -1
  64. package/dist/index-BSFKHRiy.js +0 -33
  65. package/dist/index-BUOro8yS.js +0 -54
  66. package/dist/index-BX0PuY7X.cjs +0 -1
  67. package/dist/index-BYXlsowx.cjs +0 -1
  68. package/dist/index-BcjSGMc4.cjs +0 -1
  69. package/dist/index-C743UfJX.cjs +0 -1
  70. package/dist/index-CAuGyIr4.cjs +0 -1
  71. package/dist/index-CcvN-eiV.cjs +0 -1
  72. package/dist/index-CixUmpPQ.js +0 -9
  73. package/dist/index-CydLRA6p.js +0 -34
  74. package/dist/index-DIhDmtxO.js +0 -17
  75. package/dist/index-D_iZLt4b.js +0 -34
  76. package/dist/index-Dgx6nuN5.cjs +0 -1
  77. package/dist/rules/core.cjs +0 -1
  78. package/dist/rules/core.js +0 -101
  79. package/dist/rules/cspell.cjs +0 -1
  80. package/dist/rules/cspell.js +0 -10
  81. package/dist/rules/importRules.cjs +0 -1
  82. package/dist/rules/importRules.js +0 -33
  83. package/dist/rules/jsdoc.cjs +0 -1
  84. package/dist/rules/jsdoc.js +0 -74
  85. package/dist/rules/stylistic.cjs +0 -1
  86. package/dist/rules/stylistic.js +0 -182
  87. package/dist/rules/vue.cjs +0 -1
  88. package/dist/rules/vue2.cjs +0 -1
@@ -1,182 +0,0 @@
1
- const e = {
2
- rules: {
3
- "@stylistic/array-bracket-newline": ["error", "consistent"],
4
- "@stylistic/array-bracket-spacing": ["error", "never"],
5
- "@stylistic/array-element-newline": ["error", "consistent"],
6
- "@stylistic/arrow-parens": ["error", "as-needed"],
7
- "@stylistic/arrow-spacing": ["error"],
8
- "@stylistic/brace-style": ["error", "1tbs"],
9
- "@stylistic/comma-dangle": ["error", {
10
- arrays: "always-multiline",
11
- exports: "always-multiline",
12
- functions: "never",
13
- imports: "always-multiline",
14
- objects: "always-multiline",
15
- enums: "always-multiline",
16
- generics: "always-multiline",
17
- tuples: "always-multiline"
18
- }],
19
- "@stylistic/comma-spacing": ["error"],
20
- "@stylistic/computed-property-spacing": ["error"],
21
- "@stylistic/dot-location": ["error", "property"],
22
- "@stylistic/eol-last": ["error", "always"],
23
- "@stylistic/function-call-argument-newline": ["error", "consistent"],
24
- "@stylistic/function-call-spacing": ["error", "never"],
25
- "@stylistic/function-paren-newline": ["error", "consistent"],
26
- "@stylistic/implicit-arrow-linebreak": ["error", "beside"],
27
- "@stylistic/indent": ["error", 4, {
28
- SwitchCase: 1,
29
- ignoredNodes: [
30
- "PropertyDefinition[decorators]",
31
- "TSUnionType"
32
- ]
33
- }],
34
- "@stylistic/key-spacing": ["error"],
35
- "@stylistic/keyword-spacing": ["error"],
36
- "@stylistic/linebreak-style": ["error", "unix"],
37
- "@stylistic/lines-between-class-members": ["error", "always", {
38
- exceptAfterSingleLine: !0
39
- }],
40
- "@stylistic/max-len": ["error", 120, {
41
- ignoreComments: !0,
42
- ignoreRegExpLiterals: !0,
43
- ignoreTrailingComments: !0,
44
- ignoreUrls: !0
45
- }],
46
- "@stylistic/max-statements-per-line": ["error", {
47
- max: 2
48
- }],
49
- "@stylistic/member-delimiter-style": ["error", {
50
- multiline: {
51
- requireLast: !0
52
- },
53
- singleline: {
54
- requireLast: !1
55
- }
56
- }],
57
- "@stylistic/multiline-ternary": ["error", "always-multiline"],
58
- "@stylistic/new-parens": ["error", "always"],
59
- "@stylistic/no-extra-parens": ["error", "all", {
60
- allowParensAfterCommentPattern: "@type|@satisfies",
61
- enforceForArrowConditionals: !1,
62
- nestedBinaryExpressions: !1,
63
- returnAssign: !1
64
- }],
65
- "@stylistic/no-extra-semi": ["error"],
66
- "@stylistic/no-floating-decimal": "error",
67
- "@stylistic/no-mixed-operators": ["error", {
68
- allowSamePrecedence: !0,
69
- groups: [
70
- ["&", "|", "^", "~", "<<", ">>", ">>>"],
71
- ["==", "!=", "===", "!==", ">", ">=", "<", "<="],
72
- ["&&", "||"],
73
- ["in", "instanceof"]
74
- ]
75
- }],
76
- "@stylistic/no-mixed-spaces-and-tabs": ["error"],
77
- "@stylistic/no-multi-spaces": ["error"],
78
- "@stylistic/no-multiple-empty-lines": ["error", {
79
- max: 1,
80
- maxEOF: 0,
81
- maxBOF: 0
82
- }],
83
- "@stylistic/no-trailing-spaces": ["error"],
84
- "@stylistic/no-whitespace-before-property": ["error"],
85
- "@stylistic/object-curly-newline": ["error", {
86
- consistent: !0
87
- }],
88
- "@stylistic/object-curly-spacing": ["error", "always"],
89
- "@stylistic/padded-blocks": ["error", "never"],
90
- "@stylistic/quote-props": ["error", "as-needed"],
91
- "@stylistic/quotes": ["error", "single", {
92
- avoidEscape: !0
93
- }],
94
- "@stylistic/rest-spread-spacing": ["error", "never"],
95
- "@stylistic/semi": ["error"],
96
- "@stylistic/semi-spacing": ["error", {
97
- after: !0,
98
- before: !1
99
- }],
100
- "@stylistic/semi-style": ["error", "last"],
101
- "@stylistic/space-before-blocks": ["error"],
102
- "@stylistic/space-before-function-paren": ["error", {
103
- anonymous: "always",
104
- named: "always"
105
- }],
106
- "@stylistic/space-in-parens": ["error", "never"],
107
- "@stylistic/space-infix-ops": ["error"],
108
- "@stylistic/spaced-comment": ["error", "always", {
109
- markers: ["/"]
110
- }],
111
- "@stylistic/template-curly-spacing": ["error", "never"],
112
- "@stylistic/template-tag-spacing": ["error", "never"],
113
- "@stylistic/type-annotation-spacing": ["error"],
114
- "@stylistic/type-generic-spacing": ["error"],
115
- "@stylistic/padding-line-between-statements": [
116
- "error",
117
- {
118
- blankLine: "always",
119
- next: "*",
120
- prev: ["const", "let", "var", "if", "block-like", "directive"]
121
- },
122
- {
123
- blankLine: "always",
124
- next: [
125
- "const",
126
- "let",
127
- "var",
128
- "if",
129
- "while",
130
- "directive",
131
- "throw",
132
- "return",
133
- "break",
134
- "default",
135
- "cjs-export",
136
- "export",
137
- "continue",
138
- "iife"
139
- ],
140
- prev: "*"
141
- },
142
- {
143
- blankLine: "always",
144
- prev: ["*"],
145
- next: ["cjs-export", "export"]
146
- },
147
- {
148
- blankLine: "any",
149
- next: ["const", "let", "var", "directive"],
150
- prev: ["const", "let", "var", "directive"]
151
- },
152
- {
153
- blankLine: "never",
154
- next: ["singleline-const", "singleline-let", "singleline-var"],
155
- prev: ["singleline-const", "singleline-let", "singleline-var"]
156
- },
157
- {
158
- blankLine: "always",
159
- next: ["multiline-block-like"],
160
- prev: ["*"]
161
- },
162
- {
163
- blankLine: "always",
164
- next: ["*"],
165
- prev: ["multiline-block-like"]
166
- },
167
- {
168
- blankLine: "any",
169
- next: ["case"],
170
- prev: ["case"]
171
- },
172
- {
173
- blankLine: "any",
174
- next: ["singleline-const", "singleline-let", "singleline-var"],
175
- prev: ["cjs-import"]
176
- }
177
- ]
178
- }
179
- };
180
- export {
181
- e as default
182
- };
@@ -1 +0,0 @@
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/component-tags-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-destructure":["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;
@@ -1 +0,0 @@
1
- "use strict";const e=require("./vue.cjs"),r={rules:{...e.rules,"vue/require-explicit-emits":"off","vue/no-unused-refs":"off","vue/prefer-true-attribute-shorthand":["error","never"]}};module.exports=r;