-
Notifications
You must be signed in to change notification settings - Fork 0
/
.old-eslintrc.js
38 lines (36 loc) · 1 KB
/
.old-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
27
28
29
30
31
32
33
34
35
36
37
38
module.exports = {
root: true,
reportUnusedDisableDirectives: true,
env: {
es6: true,
},
parserOptions: {
ecmaVersion: 8,
},
extends: ['next/core-web-vitals', 'turbo', 'prettier', 'plugin:tailwindcss/recommended'],
settings: {
tailwindcss: {
callees: ['cn', 'cva'],
config: 'tailwind.config.cjs',
},
next: {
rootDir: ['apps/*/'],
},
},
overrides: [
{
files: ['*.ts', '*.tsx'], // Your TypeScript files extension
// As mentioned in the comments, you should extend TypeScript plugins here,
// instead of extending them outside the `overrides`.
// If you don't want to extend any rules, you don't need an `extends` attribute.
extends: ['@stacks/eslint-config'],
rules: {
'@typescript-eslint/explicit-module-boundary-types': [0],
'@typescript-eslint/no-unsafe-assignment': [0],
},
parserOptions: {
project: ['./tsconfig.json'], // Specify it only for TypeScript files
},
},
],
};