Lint/format cleanup: void-expression and empty-function fixes, optional-chain narrowing, ignore share/ in eslint+prettier
This commit is contained in:
parent
3cd9a2377a
commit
99419880a7
11 changed files with 208 additions and 75 deletions
|
|
@ -6,7 +6,14 @@ import globals from "globals";
|
|||
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
||||
export default tseslint.config(
|
||||
{
|
||||
ignores: ["dist/**", "node_modules/**", "coverage/**", "experiments/**", "public/sw.js"],
|
||||
ignores: [
|
||||
"dist/**",
|
||||
"node_modules/**",
|
||||
"coverage/**",
|
||||
"experiments/**",
|
||||
"public/sw.js",
|
||||
"share/**",
|
||||
],
|
||||
},
|
||||
js.configs.recommended,
|
||||
...tseslint.configs.strictTypeChecked,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue