Skip to content

Commit

Permalink
fix: add eslint configuration file
Browse files Browse the repository at this point in the history
  • Loading branch information
seansica committed Oct 16, 2024
1 parent b34915c commit 3f9f4cf
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import globals from "globals";
import pluginJs from "@eslint/js";
import tseslint from "typescript-eslint";
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended';


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

0 comments on commit 3f9f4cf

Please sign in to comment.