-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
25 lines (25 loc) · 959 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
module.exports = {
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 2021,
requireConfigFile: false,
sourceType: 'module'
},
plugins: ['@typescript-eslint', 'unused-imports', 'simple-import-sort', 'tailwindcss'],
extends: ['next', 'next/core-web-vitals', 'plugin:tailwindcss/recommended'],
rules: {
'react/prop-types': 'off',
'react/no-unescaped-entities': 'off',
'no-unused-vars': 'off',
'unused-imports/no-unused-imports': 'error',
'@next/next/no-html-link-for-pages': ['off', '/api/'],
'@typescript-eslint/ban-ts-comment': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'@next/next/no-img-element': 'off',
'simple-import-sort/imports': 'error',
'simple-import-sort/exports': 'error',
'jsx-a11y/role-supports-aria-props': 'off',
'tailwindcss/no-custom-classname': 'off'
},
ignorePatterns: ['/src/generated/types.d.ts', 'functions/lib/**/*']
};