@labeg/code-style 4.0.12 → 4.2.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/.eslintrc.js +1 -0
- package/package.json +16 -10
package/.eslintrc.js
CHANGED
|
@@ -132,6 +132,7 @@ module.exports = {
|
|
|
132
132
|
"react/jsx-max-depth": ["error", {max: 10}], // To small by default
|
|
133
133
|
"react/function-component-definition": ["error", {namedComponents: "arrow-function"}], // Same as eslint func-styles
|
|
134
134
|
"react/forbid-component-props": "off", // Conflict with styled-components
|
|
135
|
+
"react/require-default-props": "off", // Don't used in modern react
|
|
135
136
|
"react/jsx-uses-react": "off", // https://ru.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
|
|
136
137
|
"react/react-in-jsx-scope": "off", // https://ru.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html
|
|
137
138
|
}
|
package/package.json
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@labeg/code-style",
|
|
3
|
-
"version": "4.0
|
|
3
|
+
"version": "4.2.0",
|
|
4
4
|
"author": "Eugene Labutin",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/LabEG/code-style#readme",
|
|
7
|
+
"description": "Code styles rules for difference linters, for create best code quality",
|
|
7
8
|
"repository": {
|
|
8
9
|
"type": "git",
|
|
9
10
|
"url": "git+https://github.com/LabEG/code-style.git"
|
|
@@ -12,20 +13,20 @@
|
|
|
12
13
|
"url": "https://github.com/LabEG/code-style/issues"
|
|
13
14
|
},
|
|
14
15
|
"lint-staged": {
|
|
15
|
-
"
|
|
16
|
+
"./tests/**/*.(ts|tsx|js|jsx)": [
|
|
16
17
|
"eslint --fix -c .eslintrc.js --ext .tsx,.ts,.jsx,.js"
|
|
17
18
|
]
|
|
18
19
|
},
|
|
19
20
|
"scripts": {
|
|
20
|
-
"release": "
|
|
21
|
+
"release": "cliff-jumper --name '@labeg/code-style' --package-path '.' --no-skip-changelog --no-skip-tag",
|
|
21
22
|
"prepare": "husky install"
|
|
22
23
|
},
|
|
23
24
|
"dependencies": {
|
|
24
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
25
|
-
"@typescript-eslint/parser": "^7.
|
|
26
|
-
"eslint": "^9.
|
|
25
|
+
"@typescript-eslint/eslint-plugin": "^7.11.0",
|
|
26
|
+
"@typescript-eslint/parser": "^7.11.0",
|
|
27
|
+
"eslint": "^9.4.0",
|
|
27
28
|
"eslint-plugin-jsx-a11y": "^6.8.0",
|
|
28
|
-
"eslint-plugin-react": "^7.34.
|
|
29
|
+
"eslint-plugin-react": "^7.34.2",
|
|
29
30
|
"eslint-plugin-react-hooks": "^4.6.2",
|
|
30
31
|
"@stylistic/eslint-plugin": "^2.1.0",
|
|
31
32
|
"@stylistic/eslint-plugin-migrate": "^2.1.0"
|
|
@@ -34,7 +35,12 @@
|
|
|
34
35
|
"@commitlint/cli": "^19.3.0",
|
|
35
36
|
"@commitlint/config-conventional": "^19.2.2",
|
|
36
37
|
"husky": "^9.0.11",
|
|
37
|
-
"lint-staged": "^15.2.
|
|
38
|
-
"
|
|
39
|
-
}
|
|
38
|
+
"lint-staged": "^15.2.5",
|
|
39
|
+
"@favware/cliff-jumper": "^3.0.3"
|
|
40
|
+
},
|
|
41
|
+
"keywords": [
|
|
42
|
+
"code style",
|
|
43
|
+
"linters",
|
|
44
|
+
"eslint"
|
|
45
|
+
]
|
|
40
46
|
}
|