linter-bundle 2.16.0 → 2.17.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/CHANGELOG.md +15 -1
- package/eslint/overrides-react.js +1 -1
- package/package.json +6 -6
- package/stylelint/index.js +2 -0
package/CHANGELOG.md
CHANGED
|
@@ -6,7 +6,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
6
6
|
|
|
7
7
|
## [Unreleased]
|
|
8
8
|
|
|
9
|
-
[Show all code changes](https://github.com/jens-duttke/linter-bundle/compare/v2.
|
|
9
|
+
[Show all code changes](https://github.com/jens-duttke/linter-bundle/compare/v2.17.0...HEAD)
|
|
10
|
+
|
|
11
|
+
## [2.17.0] - 2022.08.10
|
|
12
|
+
|
|
13
|
+
- [eslint] Updated `@typescript-eslint/eslint-plugin` from `5.32.0` to `5.33.0`
|
|
14
|
+
- [eslint] Updated `eslint-plugin-jest` from `26.7.0` to `26.8.2`
|
|
15
|
+
- [eslint] Updated `eslint-plugin-jsdoc` from `39.3.4` to `39.3.6`
|
|
16
|
+
- [eslint/overrides-react] Disable [`react/jsx-no-leaked-render`](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/docs/rules/jsx-no-leaked-render.md) rule, as this should be covered by types in TypeScript to prevent unnecessary type castings from boolean to boolean
|
|
17
|
+
- [stylelint] Add `except` for `"margin"` and `"padding"` in `stylelint-use-logical-spec` rule, to prevent [unnecessary warnings](https://github.com/Jordan-Hall/stylelint-use-logical-spec/issues/33) for usages like `margin: 10px 20px;`
|
|
18
|
+
|
|
19
|
+
[Show all code changes](https://github.com/jens-duttke/linter-bundle/compare/v2.16.0...v2.17.0)
|
|
10
20
|
|
|
11
21
|
## [2.16.0] - 2022.08.05
|
|
12
22
|
|
|
@@ -38,6 +48,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
38
48
|
- [stylelint] Updated `stylelint-use-logical-spec` from `3.2.2` to `4.1.0`
|
|
39
49
|
- [stylelint] Added but disable [`import-notation`](https://github.com/stylelint/stylelint/tree/main/lib/rules/import-notation) rule
|
|
40
50
|
|
|
51
|
+
[Show all code changes](https://github.com/jens-duttke/linter-bundle/compare/v2.15.0...v2.16.0)
|
|
52
|
+
|
|
53
|
+
[Show all code changes](https://github.com/jens-duttke/linter-bundle/compare/v2.15.0...v2.16.0)
|
|
54
|
+
|
|
41
55
|
## [2.15.0] - 2022.05.05
|
|
42
56
|
|
|
43
57
|
### Changed
|
|
@@ -150,7 +150,7 @@ module.exports = {
|
|
|
150
150
|
'react/jsx-no-comment-textnodes': 'error',
|
|
151
151
|
'react/jsx-no-constructed-context-values': 'error',
|
|
152
152
|
'react/jsx-no-duplicate-props': 'error',
|
|
153
|
-
'react/jsx-no-leaked-render': '
|
|
153
|
+
'react/jsx-no-leaked-render': 'off', // Should be covered by boolean-types in TypeScript, otherwise unnecessary type-castings from boolean to boolean would be required
|
|
154
154
|
'react/jsx-no-literals': 'off',
|
|
155
155
|
'react/jsx-no-script-url': 'error',
|
|
156
156
|
'react/jsx-no-target-blank': ['error', { allowReferrer: true, forms: true }],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "linter-bundle",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.17.0",
|
|
4
4
|
"description": "Ready-to use bundle of linting tools, containing configurations for ESLint, stylelint and markdownlint.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -40,16 +40,16 @@
|
|
|
40
40
|
"check-outdated": "npx --yes -- check-outdated --ignore-pre-releases"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@typescript-eslint/eslint-plugin": "5.
|
|
44
|
-
"@typescript-eslint/parser": "5.
|
|
43
|
+
"@typescript-eslint/eslint-plugin": "5.33.0",
|
|
44
|
+
"@typescript-eslint/parser": "5.33.0",
|
|
45
45
|
"eslint": "8.21.0",
|
|
46
46
|
"eslint-import-resolver-typescript": "3.4.0",
|
|
47
47
|
"eslint-import-resolver-webpack": "0.13.2",
|
|
48
48
|
"eslint-plugin-eslint-comments": "3.2.0",
|
|
49
49
|
"eslint-plugin-functional": "4.2.2",
|
|
50
50
|
"eslint-plugin-import": "2.26.0",
|
|
51
|
-
"eslint-plugin-jest": "26.
|
|
52
|
-
"eslint-plugin-jsdoc": "39.3.
|
|
51
|
+
"eslint-plugin-jest": "26.8.2",
|
|
52
|
+
"eslint-plugin-jsdoc": "39.3.6",
|
|
53
53
|
"eslint-plugin-jsx-a11y": "6.6.1",
|
|
54
54
|
"eslint-plugin-node": "11.1.0",
|
|
55
55
|
"eslint-plugin-promise": "6.0.0",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
"devDependencies": {
|
|
74
74
|
"@types/eslint": "8.4.5",
|
|
75
75
|
"@types/micromatch": "4.0.2",
|
|
76
|
-
"@types/node": "18.6.
|
|
76
|
+
"@types/node": "18.6.5",
|
|
77
77
|
"stylelint-find-new-rules": "4.0.0",
|
|
78
78
|
"typescript": "4.7.4"
|
|
79
79
|
}
|
package/stylelint/index.js
CHANGED
|
@@ -952,9 +952,11 @@ module.exports = {
|
|
|
952
952
|
'border-right', // "border-inline-end" is new and should not be used before 2022. @see https://caniuse.com/mdn-css_properties_border-inline-end
|
|
953
953
|
'border-right-color', // "border-inline-end-color" is new and should not be used before 2022. @see https://caniuse.com/mdn-css_properties_border-inline-end-color
|
|
954
954
|
|
|
955
|
+
'margin',
|
|
955
956
|
'margin-top',
|
|
956
957
|
'margin-bottom',
|
|
957
958
|
|
|
959
|
+
'padding',
|
|
958
960
|
'padding-top',
|
|
959
961
|
'padding-bottom',
|
|
960
962
|
|