@flarian/frontend-preset 1.3.4 → 1.4.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.
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Linter } from 'eslint';
|
|
2
2
|
|
|
3
3
|
declare const all: {
|
|
4
|
-
withNode:
|
|
5
|
-
withApp:
|
|
6
|
-
withReact:
|
|
7
|
-
withVue:
|
|
4
|
+
withNode: Linter.Config[];
|
|
5
|
+
withApp: Linter.Config[];
|
|
6
|
+
withReact: Linter.Config[];
|
|
7
|
+
withVue: Linter.Config[];
|
|
8
8
|
};
|
|
9
9
|
|
|
10
10
|
export { all };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Linter } from 'eslint';
|
|
2
2
|
|
|
3
3
|
declare const all: {
|
|
4
|
-
withNode:
|
|
5
|
-
withApp:
|
|
6
|
-
withReact:
|
|
7
|
-
withVue:
|
|
4
|
+
withNode: Linter.Config[];
|
|
5
|
+
withApp: Linter.Config[];
|
|
6
|
+
withReact: Linter.Config[];
|
|
7
|
+
withVue: Linter.Config[];
|
|
8
8
|
};
|
|
9
9
|
|
|
10
10
|
export { all };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Linter } from 'eslint';
|
|
2
2
|
|
|
3
3
|
declare const all: {
|
|
4
|
-
withNode:
|
|
5
|
-
withApp:
|
|
6
|
-
withReact:
|
|
7
|
-
withVue:
|
|
4
|
+
withNode: Linter.Config[];
|
|
5
|
+
withApp: Linter.Config[];
|
|
6
|
+
withReact: Linter.Config[];
|
|
7
|
+
withVue: Linter.Config[];
|
|
8
8
|
};
|
|
9
9
|
|
|
10
10
|
export { all };
|
|
@@ -62,11 +62,6 @@ const esLintStylisticJsxRules = {
|
|
|
62
62
|
* https://eslint.style/rules/default/jsx-function-call-newline
|
|
63
63
|
*/
|
|
64
64
|
"@stylistic/jsx-function-call-newline": ["warn", "multiline"],
|
|
65
|
-
/**
|
|
66
|
-
* Принудительно применять отступ JSX. Устарело, вместо этого используйте правило `indent`.
|
|
67
|
-
* https://eslint.style/rules/default/jsx-indent
|
|
68
|
-
*/
|
|
69
|
-
"@stylistic/jsx-indent": ["warn", "tab", { checkAttributes: true, indentLogicalExpressions: true }],
|
|
70
65
|
/**
|
|
71
66
|
* Обеспечить отступы свойств в JSX
|
|
72
67
|
* https://eslint.style/rules/default/jsx-indent-props
|
|
@@ -100,11 +95,6 @@ const esLintStylisticJsxRules = {
|
|
|
100
95
|
ignore: []
|
|
101
96
|
}
|
|
102
97
|
],
|
|
103
|
-
/**
|
|
104
|
-
* Запретить множественные пробелы между встроенными свойствами JSX
|
|
105
|
-
* https://eslint.style/rules/default/jsx-props-no-multi-spaces
|
|
106
|
-
*/
|
|
107
|
-
"@stylistic/jsx-props-no-multi-spaces": ["warn"],
|
|
108
98
|
/**
|
|
109
99
|
* Обеспечить последовательное использование двойных или одинарных кавычек в атрибутах JSX
|
|
110
100
|
* https://eslint.style/rules/default/jsx-quotes
|
|
@@ -56,11 +56,6 @@ const esLintStylisticJsxRules = {
|
|
|
56
56
|
* https://eslint.style/rules/default/jsx-function-call-newline
|
|
57
57
|
*/
|
|
58
58
|
"@stylistic/jsx-function-call-newline": ["warn", "multiline"],
|
|
59
|
-
/**
|
|
60
|
-
* Принудительно применять отступ JSX. Устарело, вместо этого используйте правило `indent`.
|
|
61
|
-
* https://eslint.style/rules/default/jsx-indent
|
|
62
|
-
*/
|
|
63
|
-
"@stylistic/jsx-indent": ["warn", "tab", { checkAttributes: true, indentLogicalExpressions: true }],
|
|
64
59
|
/**
|
|
65
60
|
* Обеспечить отступы свойств в JSX
|
|
66
61
|
* https://eslint.style/rules/default/jsx-indent-props
|
|
@@ -94,11 +89,6 @@ const esLintStylisticJsxRules = {
|
|
|
94
89
|
ignore: []
|
|
95
90
|
}
|
|
96
91
|
],
|
|
97
|
-
/**
|
|
98
|
-
* Запретить множественные пробелы между встроенными свойствами JSX
|
|
99
|
-
* https://eslint.style/rules/default/jsx-props-no-multi-spaces
|
|
100
|
-
*/
|
|
101
|
-
"@stylistic/jsx-props-no-multi-spaces": ["warn"],
|
|
102
92
|
/**
|
|
103
93
|
* Обеспечить последовательное использование двойных или одинарных кавычек в атрибутах JSX
|
|
104
94
|
* https://eslint.style/rules/default/jsx-quotes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flarian/frontend-preset",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Frontend preset with ESLint 9 flat config and Stylelint",
|
|
6
6
|
"author": "FlarianWeb",
|
|
@@ -62,6 +62,7 @@
|
|
|
62
62
|
],
|
|
63
63
|
"scripts": {
|
|
64
64
|
"build": "NODE_OPTIONS=\"--max-old-space-size=4096\" unbuild",
|
|
65
|
+
"inspect": "eslint --inspect-config",
|
|
65
66
|
"lint": "eslint",
|
|
66
67
|
"typecheck": "tsc --noEmit",
|
|
67
68
|
"pack:local": "pnpm build && pnpm pack"
|
|
@@ -69,39 +70,39 @@
|
|
|
69
70
|
"engines": {
|
|
70
71
|
"node": ">=22.5.0"
|
|
71
72
|
},
|
|
72
|
-
"packageManager": "pnpm@10.
|
|
73
|
+
"packageManager": "pnpm@10.26.2",
|
|
73
74
|
"devDependencies": {
|
|
74
|
-
"@eslint/js": "9.
|
|
75
|
+
"@eslint/js": "9.39.2",
|
|
75
76
|
"@prettier/plugin-pug": "3.4.2",
|
|
76
77
|
"@semantic-release/changelog": "6.0.3",
|
|
77
78
|
"@semantic-release/git": "10.0.1",
|
|
78
|
-
"@semantic-release/github": "
|
|
79
|
-
"@semantic-release/npm": "
|
|
80
|
-
"@stylistic/eslint-plugin": "5.
|
|
79
|
+
"@semantic-release/github": "12.0.2",
|
|
80
|
+
"@semantic-release/npm": "13.1.3",
|
|
81
|
+
"@stylistic/eslint-plugin": "5.6.1",
|
|
81
82
|
"@types/eslint": "9.6.1",
|
|
82
|
-
"@types/node": "
|
|
83
|
+
"@types/node": "25.0.3",
|
|
83
84
|
"conventional-changelog-conventionalcommits": "9.1.0",
|
|
84
|
-
"eslint": "9.
|
|
85
|
+
"eslint": "9.39.2",
|
|
85
86
|
"eslint-config-prettier": "10.1.8",
|
|
86
|
-
"eslint-plugin-jsonc": "2.
|
|
87
|
+
"eslint-plugin-jsonc": "2.21.0",
|
|
87
88
|
"eslint-plugin-prettier": "5.5.4",
|
|
88
89
|
"eslint-plugin-react": "7.37.5",
|
|
89
|
-
"eslint-plugin-react-hooks": "
|
|
90
|
+
"eslint-plugin-react-hooks": "7.0.1",
|
|
90
91
|
"eslint-plugin-simple-import-sort": "12.1.1",
|
|
91
|
-
"eslint-plugin-vue": "10.
|
|
92
|
-
"globals": "16.
|
|
93
|
-
"prettier": "3.
|
|
94
|
-
"semantic-release": "
|
|
95
|
-
"stylelint": "16.
|
|
92
|
+
"eslint-plugin-vue": "10.6.2",
|
|
93
|
+
"globals": "16.5.0",
|
|
94
|
+
"prettier": "3.7.4",
|
|
95
|
+
"semantic-release": "25.0.2",
|
|
96
|
+
"stylelint": "16.26.1",
|
|
96
97
|
"stylelint-config-recommended-vue": "1.6.1",
|
|
97
|
-
"stylelint-config-standard": "39.0.
|
|
98
|
+
"stylelint-config-standard": "39.0.1",
|
|
98
99
|
"stylelint-config-standard-less": "3.0.1",
|
|
99
100
|
"stylelint-config-standard-scss": "16.0.0",
|
|
100
101
|
"stylelint-less": "3.0.1",
|
|
101
102
|
"stylelint-order": "7.0.0",
|
|
102
|
-
"stylelint-scss": "6.
|
|
103
|
-
"typescript": "5.9.
|
|
104
|
-
"typescript-eslint": "8.
|
|
103
|
+
"stylelint-scss": "6.13.0",
|
|
104
|
+
"typescript": "5.9.3",
|
|
105
|
+
"typescript-eslint": "8.50.1",
|
|
105
106
|
"unbuild": "3.6.1",
|
|
106
107
|
"vue-eslint-parser": "10.2.0"
|
|
107
108
|
},
|
|
@@ -134,6 +135,12 @@
|
|
|
134
135
|
"eslint": {
|
|
135
136
|
"optional": true
|
|
136
137
|
},
|
|
138
|
+
"typescript-eslint": {
|
|
139
|
+
"optional": true
|
|
140
|
+
},
|
|
141
|
+
"@eslint/js": {
|
|
142
|
+
"optional": true
|
|
143
|
+
},
|
|
137
144
|
"prettier": {
|
|
138
145
|
"optional": true
|
|
139
146
|
},
|