Skip to content

Commit c9e8e16

Browse files
authored
refactor: fix eslint errors (#372)
* refactor: fix eslint errors * fix: format * chore: lint fix
1 parent 304266f commit c9e8e16

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/rules/key-format-style.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Also, the following localization key definitions are reported as errors, because
5050
"camelCase" | "kebab-case" | "snake_case",
5151
{
5252
"allowArray": false,
53-
"splitByDots": false,
53+
"splitByDots": false
5454
}
5555
]
5656
}

lib/utils/ignored-paths.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ export class IgnoredPaths {
178178
statSync(options.ignorePath)
179179
ignorePath = options.ignorePath
180180
} catch (
181-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
181+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, prettier/prettier
182182
e: any
183183
) {
184184
e.message = `Cannot read ignore file: ${options.ignorePath}\nError: ${e.message}`
@@ -213,7 +213,7 @@ export class IgnoredPaths {
213213
readFileSync(packageJSONPath, 'utf8')
214214
)
215215
} catch (
216-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
216+
// eslint-disable-next-line @typescript-eslint/no-explicit-any, prettier/prettier
217217
e: any
218218
) {
219219
debug(

0 commit comments

Comments
 (0)