@darksheep/eslint 6.5.2 → 6.5.3
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
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [6.5.3](https://github.com/DarkSheepSoftware/eslint/compare/v6.5.2...v6.5.3) (2024-10-12)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### 🩹 Fixes
|
|
7
|
+
|
|
8
|
+
* Also require a hyphen before `[@property](https://github.com/property)` ([#674](https://github.com/DarkSheepSoftware/eslint/issues/674)) ([99391ef](https://github.com/DarkSheepSoftware/eslint/commit/99391efa86494e7f503a38f17d6f0567bcbf3ccc))
|
|
9
|
+
|
|
3
10
|
## [6.5.2](https://github.com/DarkSheepSoftware/eslint/compare/v6.5.1...v6.5.2) (2024-10-11)
|
|
4
11
|
|
|
5
12
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@darksheep/eslint",
|
|
3
|
-
"version": "6.5.
|
|
3
|
+
"version": "6.5.3",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/DarkSheepSoftware/eslint"
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@typescript-eslint/eslint-plugin": "8.8.1",
|
|
30
30
|
"@typescript-eslint/parser": "8.8.1",
|
|
31
31
|
"editorconfig": "2.0.0",
|
|
32
|
-
"eslint-plugin-jsdoc": "50.3.
|
|
32
|
+
"eslint-plugin-jsdoc": "50.3.2",
|
|
33
33
|
"eslint-plugin-jsonc": "2.16.0",
|
|
34
34
|
"eslint-plugin-n": "17.11.1",
|
|
35
35
|
"eslint-plugin-package-json": "0.15.3",
|
package/src/plugins/jsdoc.js
CHANGED
|
@@ -57,7 +57,7 @@ export async function createEslintJSDocConfig(root) {
|
|
|
57
57
|
'jsdoc/require-description': 'off',
|
|
58
58
|
'jsdoc/require-example': 'off',
|
|
59
59
|
'jsdoc/require-file-overview': 'off', // Could automatically add a licence?
|
|
60
|
-
'jsdoc/require-hyphen-before-param-description': [ 'error', 'always' ],
|
|
60
|
+
'jsdoc/require-hyphen-before-param-description': [ 'error', 'always', { tags: { property: 'always' } } ],
|
|
61
61
|
'jsdoc/require-jsdoc': [ 'warn', { publicOnly: true } ],
|
|
62
62
|
'jsdoc/require-param-description': 'warn',
|
|
63
63
|
'jsdoc/require-param-name': 'warn',
|
|
@@ -9,12 +9,12 @@ import { findUp } from './filesystem.js';
|
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* @typedef {Object} RuleSet
|
|
12
|
-
* @property {string} EOL End of line.
|
|
13
|
-
* @property {string} LF Line feed.
|
|
14
|
-
* @property {string} TRAIL Trailing spaces.
|
|
15
|
-
* @property {string} INDENT Indent size.
|
|
16
|
-
* @property {string} [INDENT_BINARY] Indent binary ops size.
|
|
17
|
-
* @property {unknown} [INDENT_OPTIONS] Options to pass to the indent rule.
|
|
12
|
+
* @property {string} EOL - End of line.
|
|
13
|
+
* @property {string} LF - Line feed.
|
|
14
|
+
* @property {string} TRAIL - Trailing spaces.
|
|
15
|
+
* @property {string} INDENT - Indent size.
|
|
16
|
+
* @property {string} [INDENT_BINARY] - Indent binary ops size.
|
|
17
|
+
* @property {unknown} [INDENT_OPTIONS] - Options to pass to the indent rule.
|
|
18
18
|
*/
|
|
19
19
|
|
|
20
20
|
/**
|
|
@@ -5,27 +5,27 @@
|
|
|
5
5
|
export function createEditorOverrides(root: import("node:url").URL): Promise<import("eslint").Linter.Config[]>;
|
|
6
6
|
export type RuleSet = {
|
|
7
7
|
/**
|
|
8
|
-
* End of line.
|
|
8
|
+
* - End of line.
|
|
9
9
|
*/
|
|
10
10
|
EOL: string;
|
|
11
11
|
/**
|
|
12
|
-
* Line feed.
|
|
12
|
+
* - Line feed.
|
|
13
13
|
*/
|
|
14
14
|
LF: string;
|
|
15
15
|
/**
|
|
16
|
-
* Trailing spaces.
|
|
16
|
+
* - Trailing spaces.
|
|
17
17
|
*/
|
|
18
18
|
TRAIL: string;
|
|
19
19
|
/**
|
|
20
|
-
* Indent size.
|
|
20
|
+
* - Indent size.
|
|
21
21
|
*/
|
|
22
22
|
INDENT: string;
|
|
23
23
|
/**
|
|
24
|
-
* Indent binary ops size.
|
|
24
|
+
* - Indent binary ops size.
|
|
25
25
|
*/
|
|
26
26
|
INDENT_BINARY?: string;
|
|
27
27
|
/**
|
|
28
|
-
* Options to pass to the indent rule.
|
|
28
|
+
* - Options to pass to the indent rule.
|
|
29
29
|
*/
|
|
30
30
|
INDENT_OPTIONS?: unknown;
|
|
31
31
|
};
|