Skip to content

Commit 161e01f

Browse files
committed
chore: update linter
1 parent e6055e6 commit 161e01f

5 files changed

+481
-191
lines changed

.eslintrc.json

-7
This file was deleted.

.prettier.config.js

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
export default {
2+
semi: false,
3+
singleQuote: true,
4+
trailingComma: 'all',
5+
}

eslint.config.js

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import globals from "globals";
2+
import pluginJs from "@eslint/js";
3+
import tseslint from "typescript-eslint";
4+
5+
6+
export default [
7+
{files: ["**/*.{js,mjs,cjs,ts}"]},
8+
{languageOptions: { globals: globals.node }},
9+
pluginJs.configs.recommended,
10+
...tseslint.configs.recommended,
11+
];

0 commit comments

Comments
 (0)