-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheslint.config.js
More file actions
32 lines (31 loc) · 805 Bytes
/
eslint.config.js
File metadata and controls
32 lines (31 loc) · 805 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import {configs} from '@silver886/eslint-config';
import {defineConfig, globalIgnores} from 'eslint/config';
import prettierConfig from 'eslint-config-prettier/flat';
import prettierPlugin from 'eslint-plugin-prettier';
import globals from 'globals';
export default defineConfig({
extends: [
configs.typescript,
prettierConfig,
globalIgnores([
'**/node_modules',
'/.pnpm-store',
'/lib',
'/dist',
'/jest-reports',
// Ignore tsoa
'/src/openapi',
'/src/routes',
]),
],
languageOptions: {
globals: globals.node,
},
plugins: {
prettierPlugin,
},
rules: {
// eslint-disable-next-line @typescript-eslint/naming-convention
'prettierPlugin/prettier': ['error'],
},
});