@useinsider/eslint-config 1.3.0-beta.12 → 1.3.0-beta.14
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/README.md +1 -1
- package/dist/rules/jsdoc.cjs +1 -1
- package/dist/rules/jsdoc.js +3 -1
- package/dist/rules/stylistic.cjs +1 -1
- package/dist/rules/stylistic.js +2 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@ frameworks. Here's a list of available presets:
|
|
|
24
24
|
|
|
25
25
|
| Environment | Browser (DOM) | Node |
|
|
26
26
|
| :---------------- | :-------------------------------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------------------ |
|
|
27
|
-
| **EcmaScript/JS** | [`@useinsider/eslint-config/dom`](./src/configs/
|
|
27
|
+
| **EcmaScript/JS** | [`@useinsider/eslint-config/dom`](./src/configs/config#readme) | [`@useinsider/eslint-config`](./src/configs/node#readme)<br>[`@useinsider/eslint-config/node`](./src/configs/node#readme) |
|
|
28
28
|
| **TypeScript** | [`@useinsider/eslint-config/typescript-dom`](./src/configs/typescript-dom#readme) | [`@useinsider/eslint-config/typescript`](./src/configs/typescript#readme) |
|
|
29
29
|
| **Config files** | | [`@useinsider/eslint-config/config`](./src/configs/config#readme) |
|
|
30
30
|
|
package/dist/rules/jsdoc.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e={rules:{"jsdoc/check-param-names":["error"],"jsdoc/check-tag-names":["error"],"jsdoc/no-undefined-types":"off","jsdoc/require-param":["error",{enableRestElementFixer:!1,enableRootFixer:!1}],"jsdoc/require-jsdoc":["off"],"jsdoc/require-param-description":"off","jsdoc/require-param-type":["error"],"jsdoc/require-property-description":"off","jsdoc/require-returns":["error",{contexts:["TSInterfaceDeclaration","TSMethodSignature"],forceRequireReturn:!0,exemptedBy:["inheritdoc","watch"]}],"jsdoc/require-returns-check":["error"],"jsdoc/require-returns-description":"off","jsdoc/tag-lines":["error"],"jsdoc/valid-types":"off","jsdoc/check-types":["error"]}};module.exports=e;
|
|
1
|
+
"use strict";const e={rules:{"jsdoc/check-param-names":["error"],"jsdoc/check-tag-names":["error"],"jsdoc/no-undefined-types":"off","jsdoc/require-param":["error",{enableRestElementFixer:!1,enableRootFixer:!1}],"jsdoc/require-jsdoc":["off"],"jsdoc/require-param-description":"off","jsdoc/require-param-type":["error"],"jsdoc/require-property-description":"off","jsdoc/require-returns":["error",{contexts:["TSInterfaceDeclaration","TSMethodSignature"],forceRequireReturn:!0,exemptedBy:["inheritdoc","watch"]}],"jsdoc/require-returns-check":["error"],"jsdoc/require-returns-description":"off","jsdoc/tag-lines":["error"],"jsdoc/valid-types":"off","jsdoc/check-types":["error"],"jsdoc/no-multi-asterisks":["error"],"jsdoc/check-alignment":["error"]}};module.exports=e;
|
package/dist/rules/jsdoc.js
CHANGED
|
@@ -20,7 +20,9 @@ const e = {
|
|
|
20
20
|
"jsdoc/require-returns-description": "off",
|
|
21
21
|
"jsdoc/tag-lines": ["error"],
|
|
22
22
|
"jsdoc/valid-types": "off",
|
|
23
|
-
"jsdoc/check-types": ["error"]
|
|
23
|
+
"jsdoc/check-types": ["error"],
|
|
24
|
+
"jsdoc/no-multi-asterisks": ["error"],
|
|
25
|
+
"jsdoc/check-alignment": ["error"]
|
|
24
26
|
}
|
|
25
27
|
};
|
|
26
28
|
export {
|
package/dist/rules/stylistic.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const e={rules:{"@stylistic/array-bracket-newline":["error","consistent"],"@stylistic/array-bracket-spacing":["error","never"],"@stylistic/array-element-newline":["error","consistent"],"@stylistic/arrow-parens":["error","as-needed"],"@stylistic/arrow-spacing":["error"],"@stylistic/brace-style":["error","1tbs"],"@stylistic/comma-dangle":["error",{arrays:"always-multiline",exports:"always-multiline",functions:"never",imports:"always-multiline",objects:"always-multiline",enums:"always-multiline",generics:"always-multiline",tuples:"always-multiline"}],"@stylistic/comma-spacing":["error"],"@stylistic/computed-property-spacing":["error"],"@stylistic/dot-location":["error","property"],"@stylistic/eol-last":["error","always"],"@stylistic/function-call-argument-newline":["error","consistent"],"@stylistic/function-call-spacing":["error","never"],"@stylistic/function-paren-newline":["error","consistent"],"@stylistic/implicit-arrow-linebreak":["error","beside"],"@stylistic/indent":["error",4,{SwitchCase:1,ignoredNodes:["PropertyDefinition[decorators]","TSUnionType"]}],"@stylistic/key-spacing":["error"],"@stylistic/keyword-spacing":["error"],"@stylistic/linebreak-style":["error","unix"],"@stylistic/lines-between-class-members":["error","always",{exceptAfterSingleLine:!0}],"@stylistic/max-len":["error",120,{ignoreComments:!0,ignoreRegExpLiterals:!0,ignoreStrings:!0,ignoreTemplateLiterals:!0,ignoreTrailingComments:!0,ignoreUrls:!0}],"@stylistic/max-statements-per-line":["error",{max:2}],"@stylistic/member-delimiter-style":["error",{multiline:{requireLast:!0},singleline:{requireLast:!1}}],"@stylistic/multiline-ternary":["error","always-multiline"],"@stylistic/new-parens":["error","always"],"@stylistic/no-extra-parens":["error","all",{allowParensAfterCommentPattern:"@type",enforceForArrowConditionals:!1,nestedBinaryExpressions:!1,returnAssign:!1}],"@stylistic/no-extra-semi":["error"],"@stylistic/no-floating-decimal":"error","@stylistic/no-mixed-operators":["error",{allowSamePrecedence:!0,groups:[["&","|","^","~","<<",">>",">>>"],["==","!=","===","!==",">",">=","<","<="],["&&","||"],["in","instanceof"]]}],"@stylistic/no-mixed-spaces-and-tabs":["error"],"@stylistic/no-multi-spaces":["error"],"@stylistic/no-multiple-empty-lines":["error",{max:1,maxEOF:0}],"@stylistic/no-trailing-spaces":["error"],"@stylistic/no-whitespace-before-property":["error"],"@stylistic/object-curly-newline":["error",{consistent:!0}],"@stylistic/object-curly-spacing":["error","always"],"@stylistic/padded-blocks":["error","never"],"@stylistic/quote-props":["error","as-needed"],"@stylistic/quotes":["error","single",{avoidEscape:!0}],"@stylistic/rest-spread-spacing":["error","never"],"@stylistic/semi":["error"],"@stylistic/semi-spacing":["error",{after:!0,before:!1}],"@stylistic/semi-style":["error","last"],"@stylistic/space-before-blocks":["error"],"@stylistic/space-before-function-paren":["error",{anonymous:"always",named:"always"}],"@stylistic/space-in-parens":["error","never"],"@stylistic/space-infix-ops":["error"],"@stylistic/spaced-comment":["error","always",{markers:["/"]}],"@stylistic/template-curly-spacing":["error","never"],"@stylistic/template-tag-spacing":["error","never"],"@stylistic/type-annotation-spacing":["error"],"@stylistic/type-generic-spacing":["error"]}};module.exports=e;
|
|
1
|
+
"use strict";const e={rules:{"@stylistic/array-bracket-newline":["error","consistent"],"@stylistic/array-bracket-spacing":["error","never"],"@stylistic/array-element-newline":["error","consistent"],"@stylistic/arrow-parens":["error","as-needed"],"@stylistic/arrow-spacing":["error"],"@stylistic/brace-style":["error","1tbs"],"@stylistic/comma-dangle":["error",{arrays:"always-multiline",exports:"always-multiline",functions:"never",imports:"always-multiline",objects:"always-multiline",enums:"always-multiline",generics:"always-multiline",tuples:"always-multiline"}],"@stylistic/comma-spacing":["error"],"@stylistic/computed-property-spacing":["error"],"@stylistic/dot-location":["error","property"],"@stylistic/eol-last":["error","always"],"@stylistic/function-call-argument-newline":["error","consistent"],"@stylistic/function-call-spacing":["error","never"],"@stylistic/function-paren-newline":["error","consistent"],"@stylistic/implicit-arrow-linebreak":["error","beside"],"@stylistic/indent":["error",4,{SwitchCase:1,ignoredNodes:["PropertyDefinition[decorators]","TSUnionType"]}],"@stylistic/key-spacing":["error"],"@stylistic/keyword-spacing":["error"],"@stylistic/linebreak-style":["error","unix"],"@stylistic/lines-between-class-members":["error","always",{exceptAfterSingleLine:!0}],"@stylistic/max-len":["error",120,{ignoreComments:!0,ignoreRegExpLiterals:!0,ignoreStrings:!0,ignoreTemplateLiterals:!0,ignoreTrailingComments:!0,ignoreUrls:!0}],"@stylistic/max-statements-per-line":["error",{max:2}],"@stylistic/member-delimiter-style":["error",{multiline:{requireLast:!0},singleline:{requireLast:!1}}],"@stylistic/multiline-ternary":["error","always-multiline"],"@stylistic/new-parens":["error","always"],"@stylistic/no-extra-parens":["error","all",{allowParensAfterCommentPattern:"@type",enforceForArrowConditionals:!1,nestedBinaryExpressions:!1,returnAssign:!1}],"@stylistic/no-extra-semi":["error"],"@stylistic/no-floating-decimal":"error","@stylistic/no-mixed-operators":["error",{allowSamePrecedence:!0,groups:[["&","|","^","~","<<",">>",">>>"],["==","!=","===","!==",">",">=","<","<="],["&&","||"],["in","instanceof"]]}],"@stylistic/no-mixed-spaces-and-tabs":["error"],"@stylistic/no-multi-spaces":["error"],"@stylistic/no-multiple-empty-lines":["error",{max:1,maxEOF:0,maxBOF:0}],"@stylistic/no-trailing-spaces":["error"],"@stylistic/no-whitespace-before-property":["error"],"@stylistic/object-curly-newline":["error",{consistent:!0}],"@stylistic/object-curly-spacing":["error","always"],"@stylistic/padded-blocks":["error","never"],"@stylistic/quote-props":["error","as-needed"],"@stylistic/quotes":["error","single",{avoidEscape:!0}],"@stylistic/rest-spread-spacing":["error","never"],"@stylistic/semi":["error"],"@stylistic/semi-spacing":["error",{after:!0,before:!1}],"@stylistic/semi-style":["error","last"],"@stylistic/space-before-blocks":["error"],"@stylistic/space-before-function-paren":["error",{anonymous:"always",named:"always"}],"@stylistic/space-in-parens":["error","never"],"@stylistic/space-infix-ops":["error"],"@stylistic/spaced-comment":["error","always",{markers:["/"]}],"@stylistic/template-curly-spacing":["error","never"],"@stylistic/template-tag-spacing":["error","never"],"@stylistic/type-annotation-spacing":["error"],"@stylistic/type-generic-spacing":["error"]}};module.exports=e;
|
package/dist/rules/stylistic.js
CHANGED
|
@@ -79,7 +79,8 @@ const e = {
|
|
|
79
79
|
"@stylistic/no-multi-spaces": ["error"],
|
|
80
80
|
"@stylistic/no-multiple-empty-lines": ["error", {
|
|
81
81
|
max: 1,
|
|
82
|
-
maxEOF: 0
|
|
82
|
+
maxEOF: 0,
|
|
83
|
+
maxBOF: 0
|
|
83
84
|
}],
|
|
84
85
|
"@stylistic/no-trailing-spaces": ["error"],
|
|
85
86
|
"@stylistic/no-whitespace-before-property": ["error"],
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@useinsider/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.3.0-beta.
|
|
4
|
+
"version": "1.3.0-beta.14",
|
|
5
5
|
"description": "A collection of ESLint configurations provided by @useinsider, offering support for various environments including Vanilla JS, TypeScript, and framework-specific setups such as Vue 3.",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"useinsider",
|
|
@@ -65,8 +65,8 @@
|
|
|
65
65
|
"dependencies": {
|
|
66
66
|
"@cspell/eslint-plugin": "6.19.2",
|
|
67
67
|
"@eslint/eslintrc": "3.1.0",
|
|
68
|
-
"@stylistic/eslint-plugin": "2.
|
|
69
|
-
"@stylistic/eslint-plugin-migrate": "2.
|
|
68
|
+
"@stylistic/eslint-plugin": "2.6.3",
|
|
69
|
+
"@stylistic/eslint-plugin-migrate": "2.6.3",
|
|
70
70
|
"eslint": "8.57.0",
|
|
71
71
|
"eslint-config-airbnb-base": "15.0.0",
|
|
72
72
|
"eslint-plugin-import": "2.29.1",
|