Skip to content

Commit 83200d4

Browse files
committed
move to eslint
1 parent cf7ee15 commit 83200d4

File tree

8 files changed

+1540
-616
lines changed

8 files changed

+1540
-616
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ functions/config/*
99
*.log
1010
functions/config/config.json
1111
/**/.runtimeconfig.json
12+
.DS_Store

functions/eslint.config.mjs

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
// @ts-check
2+
3+
import eslint from '@eslint/js';
4+
import tseslint from 'typescript-eslint';
5+
import { globalIgnores } from "eslint/config";
6+
7+
export default tseslint.config(
8+
eslint.configs.recommended,
9+
tseslint.configs.recommended,
10+
{
11+
"rules": {
12+
"@typescript-eslint/no-explicit-any": "off",
13+
"@typescript-eslint/no-namespace": "off",
14+
"@typescript-eslint/no-require-imports": "off",
15+
"@typescript-eslint/no-unused-vars": "off",
16+
"@typescript-eslint/prefer-as-const": "off",
17+
"no-prototype-builtins": "off",
18+
"no-case-declarations": "off",
19+
"no-undef": "off"
20+
}
21+
},
22+
globalIgnores(["dist/"])
23+
);

0 commit comments

Comments
 (0)