Skip to content

Commit

Permalink
Use eslint to fix code after generation.
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianStehle committed Aug 26, 2024
1 parent f2e935e commit 9cad77f
Show file tree
Hide file tree
Showing 240 changed files with 8,196 additions and 1,507 deletions.
24 changes: 24 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// @ts-check

import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';
import unusedImports from "eslint-plugin-unused-imports";

export default tseslint.config(
eslint.configs.recommended,
...tseslint.configs.recommended,
{
plugins: {
"unused-imports": unusedImports,
},
rules: {
"no-unused-vars": "off",
"unused-imports/no-unused-imports": "error",
"unused-imports/no-unused-vars": "off",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-empty-object-type": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": "off",
}
}
);
Loading

0 comments on commit 9cad77f

Please sign in to comment.