File tree 1 file changed +5
-2
lines changed
1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 1
1
const path = require ( 'path' ) ;
2
2
3
3
module . exports = {
4
- extends : [ 'expo' , 'plugin:tailwindcss/recommended' , 'prettier' ] ,
4
+ extends : [ 'expo' , 'plugin:tailwindcss/recommended' , 'prettier' ] ,
5
5
plugins : [
6
6
'unicorn' ,
7
7
'@typescript-eslint' ,
@@ -27,13 +27,16 @@ module.exports = {
27
27
'react/destructuring-assignment' : 'off' , // Vscode doesn't support automatically destructuring, it's a pain to add a new variable
28
28
'react/require-default-props' : 'off' , // Allow non-defined react props as undefined
29
29
'@typescript-eslint/comma-dangle' : 'off' , // Avoid conflict rule between Eslint and Prettier
30
- '@typescript-eslint/consistent-type-imports' : [ 'warn' , {
30
+ '@typescript-eslint/consistent-type-imports' : [
31
+ 'warn' ,
32
+ {
31
33
prefer : 'type-imports' ,
32
34
fixStyle : 'inline-type-imports' ,
33
35
disallowTypeAnnotations : true ,
34
36
} ,
35
37
] , // Ensure `import type` is used when it's necessary
36
38
'import/prefer-default-export' : 'off' , // Named export is easier to refactor automatically
39
+ 'import/no-cycle' : [ 'error' , { maxDepth : '∞' } ] ,
37
40
'tailwindcss/classnames-order' : [
38
41
'warn' ,
39
42
{
You can’t perform that action at this time.
0 commit comments