linter-bundle 2.7.0 → 2.8.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 CHANGED
@@ -6,13 +6,22 @@ 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.7.0...HEAD)
9
+ [Show all code changes](https://github.com/jens-duttke/linter-bundle/compare/v2.8.0...HEAD)
10
+
11
+ ## [2.8.0] - 2022.02.18
12
+
13
+ - [eslint] Update `eslint-plugin-jsdoc` from v37.9.1 to v37.9.4
14
+ - [eslint] Update `eslint-plugin-unicorn` from v40.1.0 to v41.0.0
15
+ - [eslint] Make use of [`unicorn/text-encoding-identifier-case`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/text-encoding-identifier-case.md) rule
16
+ - [stylelint] Fixed disabling of [`function-no-unknown`](https://github.com/stylelint/stylelint/blob/main/lib/rules/function-no-unknown/README.md) rule, because of false positives
17
+
18
+ [Show all code changes](https://github.com/jens-duttke/linter-bundle/compare/v2.7.0...v2.8.0)
10
19
 
11
20
  ## [2.7.0] - 2022.02.16
12
21
 
13
22
  - [eslint] Update `eslint-plugin-jest` from v26.1.0 to v26.1.1
14
23
  - [stylelint] Update `stylelint` from v14.5.0 to v14.5.1
15
- - [eslint] Activate `ignoreUsedVariables` option of [unicorn/prefer-export-from](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-export-from.md) rule
24
+ - [eslint] Activate `ignoreUsedVariables` option of [`unicorn/prefer-export-from`](https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-export-from.md) rule
16
25
 
17
26
  [Show all code changes](https://github.com/jens-duttke/linter-bundle/compare/v2.6.0...v2.7.0)
18
27
 
@@ -22,7 +31,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
22
31
  - [eslint] Updated `@typescript-eslint/parser` from v5.11.0 to v5.12.0
23
32
  - [eslint] Updated `eslint` from v8.8.0 to v8.9.0
24
33
  - [eslint] Updated `eslint-plugin-jsdoc` from v37.8.2 to v37.9.1
25
- - [eslint] Ignore `generics` in [@typescript-eslint/comma-dangle](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/comma-dangle.md) to allow [generic component definitions for function components](https://wanago.io/2020/03/09/functional-react-components-with-generic-props-in-typescript/#crayon-620a96e97d44a141656396)
34
+ - [eslint] Ignore `generics` in [`@typescript-eslint/comma-dangle`](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/docs/rules/comma-dangle.md) to allow [generic component definitions for function components](https://wanago.io/2020/03/09/functional-react-components-with-generic-props-in-typescript/#crayon-620a96e97d44a141656396)
26
35
 
27
36
  [Show all code changes](https://github.com/jens-duttke/linter-bundle/compare/v2.5.0...v2.6.0)
28
37
 
package/eslint/index.js CHANGED
@@ -1005,6 +1005,7 @@ module.exports = {
1005
1005
  }
1006
1006
  }],
1007
1007
  'unicorn/template-indent': 'error',
1008
+ 'unicorn/text-encoding-identifier-case': 'error',
1008
1009
  'unicorn/throw-new-error': 'error'
1009
1010
  }
1010
1011
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "linter-bundle",
3
- "version": "2.7.0",
3
+ "version": "2.8.0",
4
4
  "description": "Ready-to use bundle of linting tools, containing configurations for ESLint, stylelint and markdownlint.",
5
5
  "keywords": [
6
6
  "eslint",
@@ -48,13 +48,13 @@
48
48
  "eslint-plugin-functional": "4.2.0",
49
49
  "eslint-plugin-import": "2.25.4",
50
50
  "eslint-plugin-jest": "26.1.1",
51
- "eslint-plugin-jsdoc": "37.9.1",
51
+ "eslint-plugin-jsdoc": "37.9.4",
52
52
  "eslint-plugin-jsx-a11y": "6.5.1",
53
53
  "eslint-plugin-node": "11.1.0",
54
54
  "eslint-plugin-promise": "6.0.0",
55
55
  "eslint-plugin-react": "7.28.0",
56
56
  "eslint-plugin-react-hooks": "4.3.0",
57
- "eslint-plugin-unicorn": "40.1.0",
57
+ "eslint-plugin-unicorn": "41.0.0",
58
58
  "markdownlint-cli": "0.31.1",
59
59
  "postcss-scss": "4.0.3",
60
60
  "stylelint": "14.5.1",
@@ -183,7 +183,7 @@ module.exports = {
183
183
  'function-linear-gradient-no-nonstandard-direction': true,
184
184
  'function-max-empty-lines': 0,
185
185
  'function-name-case': 'lower',
186
- 'function-no-unknown': false, // @todo Create issue for false positives for "color.scale". Need this be covered by the `ignoreFunctions` option?
186
+ 'function-no-unknown': null, // @todo Create issue for false positives for "color.scale". Need this be covered by the `ignoreFunctions` option?
187
187
  'function-parentheses-newline-inside': 'always-multi-line',
188
188
  'function-parentheses-space-inside': 'never-single-line',
189
189
  'function-url-no-scheme-relative': true,