forked from kerwanp/notion-render
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
26 lines (26 loc) · 831 Bytes
/
.eslintrc.js
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
/* eslint-env node */
module.exports = {
plugins: ['@typescript-eslint', 'simple-import-sort'],
parser: '@typescript-eslint/parser',
ignorePatterns: ['**/dist/*'],
extends: [
'turbo',
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:@typescript-eslint/recommended-requiring-type-checking',
'prettier',
],
rules: {
'simple-import-sort/imports': 'error',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/restrict-template-expressions': 'off',
'@typescript-eslint/require-await': 'off',
'@typescript-eslint/no-unsafe-member-access': 'off',
},
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./packages/**/tsconfig.json', '/apps/*/tsconfig.json'],
},
root: true,
};