Skip to content

Commit

Permalink
Create .eslintrc.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick2bad4u committed Oct 30, 2024
1 parent 7d6d3b9 commit 8983c0d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import globals from "globals";
import pluginJs from "@eslint/js";
import tseslint from "typescript-eslint";


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

0 comments on commit 8983c0d

Please sign in to comment.