Skip to content

Commit

Permalink
Fixed eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyaoleshko committed Nov 18, 2024
1 parent 1c36d3e commit fbb3fdc
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
import eslint from "@eslint/js";
import pluginJs from "@eslint/js";
import tseslint from "typescript-eslint";

export default tseslint.config(
eslint.configs.recommended,
...tseslint.configs.recommended
);
export default [
{files: ["**/*.{js,mjs,cjs,ts}"]},
pluginJs.configs.recommended,
...tseslint.configs.recommended,
{
rules: {
"@typescript-eslint/no-unused-expressions": "off"
}
}
];

0 comments on commit fbb3fdc

Please sign in to comment.