💂♂️ fixed lint and prittier
This commit is contained in:
33
eslint.config.mjs
Normal file
33
eslint.config.mjs
Normal file
@@ -0,0 +1,33 @@
|
||||
import js from '@eslint/js'
|
||||
import tseslint from 'typescript-eslint'
|
||||
import prettier from 'eslint-config-prettier'
|
||||
|
||||
export default [
|
||||
js.configs.recommended,
|
||||
...tseslint.configs.recommended,
|
||||
prettier,
|
||||
{
|
||||
rules: {
|
||||
'@typescript-eslint/no-explicit-any': 'off',
|
||||
'@typescript-eslint/explicit-module-boundary-types': 'off',
|
||||
'@typescript-eslint/no-unused-vars': [
|
||||
'warn',
|
||||
{ argsIgnorePattern: '^_', varsIgnorePattern: '^_' },
|
||||
],
|
||||
'no-console': ['warn', { allow: ['warn', 'error'] }],
|
||||
},
|
||||
},
|
||||
{
|
||||
ignores: [
|
||||
'node_modules/',
|
||||
'.next/',
|
||||
'out/',
|
||||
'build/',
|
||||
'dist/',
|
||||
'.cache/',
|
||||
'*.config.js',
|
||||
'public/',
|
||||
'coverage/',
|
||||
],
|
||||
},
|
||||
]
|
||||
Reference in New Issue
Block a user