Skip to content

Commit

Permalink
eslint.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
dennykorsukewitz committed Dec 12, 2024
1 parent a905cae commit 1583f8c
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

25 changes: 25 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// eslint.config.js
import { ESLint } from "eslint";

export default new ESLint({
baseConfig: {
env: {
browser: true,
es2021: true,
node: true,
},
extends: [
"eslint:recommended",
"plugin:prettier/recommended",
"xo",
],
parserOptions: {
ecmaVersion: "latest",
sourceType: "module",
},
rules: {
// Add your custom rules here
},
},
ignores: ["node_modules/**", "coverage", "**/templates"],
});

0 comments on commit 1583f8c

Please sign in to comment.