-
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy patheslint.config.mjs
More file actions
31 lines (30 loc) · 779 Bytes
/
eslint.config.mjs
File metadata and controls
31 lines (30 loc) · 779 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
import common from 'eslint-config-mahir/common';
import module from 'eslint-config-mahir/module';
import node from 'eslint-config-mahir/node';
import tsdoc from 'eslint-config-mahir/tsdoc';
import typescript from 'eslint-config-mahir/typescript';
/**
* @type {import('@typescript-eslint/utils').TSESLint.FlatConfig.ConfigArray}
*/
export default [
...common,
...node,
...module,
...typescript,
...tsdoc,
{
settings: {
next: {
rootDir: ['apps/*/']
}
},
ignores: ['node_modules/', '**/dist/', '**/docs/', '**/build/', '**/*.d.ts'],
languageOptions: {
parserOptions: {
projectService: false,
tsconfigRootDir: import.meta.dirname,
project: ['./tsconfig.json', './apps/*/tsconfig.json', './packages/*/tsconfig.typecheck.json']
}
}
}
];