Skip to content

Commit

Permalink
chore: update linter
Browse files Browse the repository at this point in the history
  • Loading branch information
typicode committed Aug 19, 2024
1 parent e6055e6 commit 161e01f
Show file tree
Hide file tree
Showing 5 changed files with 481 additions and 191 deletions.
7 changes: 0 additions & 7 deletions .eslintrc.json

This file was deleted.

5 changes: 5 additions & 0 deletions .prettier.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export default {
semi: false,
singleQuote: true,
trailingComma: 'all',
}
11 changes: 11 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import globals from "globals";
import pluginJs from "@eslint/js";
import tseslint from "typescript-eslint";


export default [
{files: ["**/*.{js,mjs,cjs,ts}"]},
{languageOptions: { globals: globals.node }},
pluginJs.configs.recommended,
...tseslint.configs.recommended,
];
Loading

0 comments on commit 161e01f

Please sign in to comment.