Skip to content

Commit ba357f6

Browse files
chore(deps): update eslint (major) (#607)
* chore(deps): update eslint * chore: fix lint errors --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Shinigami92 <[email protected]>
1 parent a4a09f6 commit ba357f6

File tree

5 files changed

+72
-54
lines changed

5 files changed

+72
-54
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,10 @@
7676
"eslint-config-prettier": "10.1.8",
7777
"eslint-gitignore": "0.1.0",
7878
"eslint-plugin-inclusive-language": "2.2.1",
79-
"eslint-plugin-jsdoc": "52.0.4",
79+
"eslint-plugin-jsdoc": "61.1.11",
8080
"eslint-plugin-prettier": "5.5.4",
8181
"eslint-plugin-spellcheck": "0.0.20",
82-
"eslint-plugin-unicorn": "60.0.0",
82+
"eslint-plugin-unicorn": "62.0.0",
8383
"jiti": "2.6.1",
8484
"npm-run-all2": "8.0.4",
8585
"prettier": "3.6.2",

pnpm-lock.yaml

Lines changed: 67 additions & 50 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/logger.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export function createLogger(logger: ILogger = console): Logger {
139139
}
140140

141141
/**
142-
* Logger for @prettier/plugin-pug.
142+
* Logger for \@prettier/plugin-pug.
143143
*/
144144
export const logger: Logger = createLogger(console);
145145

src/options/pug-attribute-separator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export type PugAttributeSeparator = 'always' | 'as-needed' | 'none';
3636
*
3737
* @param pugAttributeSeparator The pugAttributeSeparator.
3838
* @returns The given `pugAttributeSeparator`.
39-
* @throws Error if the pugAttributeSeparator was not valid.
39+
* @throws {Error} Error if the pugAttributeSeparator was not valid.
4040
*/
4141
export function resolvePugAttributeSeparatorOption(
4242
pugAttributeSeparator: PugAttributeSeparator,

src/printer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2053,6 +2053,7 @@ export class PugPrinter {
20532053
];
20542054

20552055
// TODO: If other token types occur use `if (usedInterpolatedCode)`
2056+
// eslint-disable-next-line unicorn/no-immediate-mutation
20562057
warningContext.push(
20572058
`\ncode: \`${rawText.trim()}\``,
20582059
'\nYou used interpolated code in your pipeless script tag, so you may ignore this warning.',

0 commit comments

Comments
 (0)