1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
import { defineConfig, globalIgnores } from "eslint/config";
import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';
export default defineConfig([
eslint.configs.recommended,
tseslint.configs.recommended,
{
rules: {
"indent": ["warn", 2, {
"SwitchCase": 1,
}],
"no-plusplus": ["error", {
"allowForLoopAfterthoughts": true,
}],
},
}, globalIgnores(["**/node_modules", "webAO/lib/", "webAO/golden/", "dist/"])
]);
|