forked from starman1121/AAVE_Protocol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
27 lines (27 loc) · 952 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
27
module.exports = {
extends: [
'next/core-web-vitals',
'prettier',
'plugin:import/recommended',
'plugin:import/typescript',
'plugin:@typescript-eslint/recommended',
],
plugins: ['prettier', 'import', /* 'simple-import-sort', */ '@typescript-eslint'],
rules: {
'@typescript-eslint/no-empty-interface': 'off',
'@typescript-eslint/no-explicit-any': 'error',
'prettier/prettier': 'warn',
'react-hooks/rules-of-hooks': 'error',
'react-hooks/exhaustive-deps': 'warn',
// 'simple-import-sort/imports': 'error',
// 'simple-import-sort/exports': 'warn',
'import/first': 'error',
'import/newline-after-import': 'error',
'import/no-duplicates': 'error',
'import/no-named-as-default': 'error',
'import/no-unresolved': 'warn',
// disabled as with the static export Image does not make to much sense
'@next/next/no-img-element': 'off',
'react/self-closing-comp': 'warn',
},
};