@nfq/eslint-config 2.1.4 → 2.1.5

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
@@ -2,6 +2,13 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [2.1.5](https://github.com/nfqde/eslint-config-nfq/compare/v2.1.4...v2.1.5) (2022-06-08)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * **jsdoc:** fixe some rules ([#17](https://github.com/nfqde/eslint-config-nfq/issues/17)) ([e642d0d](https://github.com/nfqde/eslint-config-nfq/commit/e642d0dece2cfb69c07b80323d4885c8cff1ebfc))
11
+
5
12
  ### [2.1.4](https://github.com/nfqde/eslint-config-nfq/compare/v2.1.3...v2.1.4) (2022-05-30)
6
13
 
7
14
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nfq/eslint-config",
3
- "version": "2.1.4",
3
+ "version": "2.1.5",
4
4
  "engines": {
5
5
  "node": ">= 12.0.0"
6
6
  },
package/rules/jsdoc.js CHANGED
@@ -47,10 +47,7 @@ module.exports = {
47
47
  'jsdoc/no-multi-asterisks': 'error', // Prevents use of multiple asterisks at the beginning of lines. https://github.com/gajus/eslint-plugin-jsdoc#no-multi-asterisks
48
48
  'jsdoc/no-restricted-syntax': 'off', // Reports invalid JSDoc syntax. https://github.com/gajus/eslint-plugin-jsdoc#no-restricted-syntax
49
49
  'jsdoc/no-types': 'off', // Reports redundant types in JSDoc comments. https://github.com/gajus/eslint-plugin-jsdoc#no-types
50
- 'jsdoc/no-undefined-types': [
51
- 'error',
52
- {definedTypes: ['JSX']}
53
- ], // Reports undefined types in JSDoc comments. https://github.com/gajus/eslint-plugin-jsdoc#no-undefined-types
50
+ 'jsdoc/no-undefined-types': 'off', // Reports undefined types in JSDoc comments. https://github.com/gajus/eslint-plugin-jsdoc#no-undefined-types
54
51
  'jsdoc/require-asterisk-prefix': ['error', 'always'], // Requires that each JSDoc line starts with an *. https://github.com/gajus/eslint-plugin-jsdoc#require-asterisk-prefix
55
52
  'jsdoc/require-description': ['error', {exemptedBy: ['type', 'inheritdoc']}], // Reports missing description in JSDoc comments. https://github.com/gajus/eslint-plugin-jsdoc#require-description
56
53
  'jsdoc/require-description-complete-sentence': 'error', // Reports missing complete sentence in JSDoc description. https://github.com/gajus/eslint-plugin-jsdoc#require-description-complete-sentence
package/rules/style.js CHANGED
@@ -217,7 +217,10 @@ module.exports = {
217
217
  'no-array-constructor': 'error', // disallow use of the Array constructor https://eslint.org/docs/rules/no-array-constructor
218
218
  'no-bitwise': 'error', // disallow use of bitwise operators https://eslint.org/docs/rules/no-bitwise
219
219
  'no-continue': 'error', // disallow use of the continue statement https://eslint.org/docs/rules/no-continue
220
- 'no-inline-comments': 'error', // disallow comments inline after code https://eslint.org/docs/rules/no-inline-comments
220
+ 'no-inline-comments': [
221
+ 'error',
222
+ {ignorePattern: '(@type|css) .+'}
223
+ ], // disallow comments inline after code https://eslint.org/docs/rules/no-inline-comments
221
224
  'no-lonely-if': 'error', // disallow if as the only statement in an else block https://eslint.org/docs/rules/no-lonely-if
222
225
  'no-mixed-operators': [
223
226
  'error',