mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-21 21:50:49 +02:00
chore(eslint): add 'import' plugin to eslint configuration
chore(prettier): add 'prettier-plugin-tailwindcss' plugin to prettier configuration chore(package.json): update eslint-plugin-import to version 2.27.5
This commit is contained in:
parent
4dc86c4c18
commit
c9c77d6fdf
4 changed files with 8 additions and 16 deletions
|
@ -29,7 +29,7 @@ module.exports = {
|
|||
jsx: true,
|
||||
},
|
||||
},
|
||||
plugins: ['react', 'react-hooks', '@typescript-eslint'],
|
||||
plugins: ['react', 'react-hooks', '@typescript-eslint', 'import'],
|
||||
rules: {
|
||||
'react/react-in-jsx-scope': 'off',
|
||||
'@typescript-eslint/ban-ts-comment': ['error', { 'ts-ignore': 'allow' }],
|
||||
|
@ -43,9 +43,10 @@ module.exports = {
|
|||
ignoreComments: true,
|
||||
},
|
||||
],
|
||||
'import/no-cycle': 'error',
|
||||
'linebreak-style': 0,
|
||||
'curly': ['error', 'all'],
|
||||
'semi': ['error', 'always'],
|
||||
curly: ['error', 'all'],
|
||||
semi: ['error', 'always'],
|
||||
'no-trailing-spaces': 'error',
|
||||
'object-curly-spacing': ['error', 'always'],
|
||||
'no-multiple-empty-lines': ['error', { max: 1 }],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue