Skip to content

Commit

Permalink
Updating packages, vite, and lint config (#54)
Browse files Browse the repository at this point in the history
* 3.1.0

* Updates packages, vite.config and eslint
  • Loading branch information
gustavoguichard authored Aug 2, 2024
1 parent 7af935b commit f7b4aff
Show file tree
Hide file tree
Showing 7 changed files with 4,795 additions and 3,136 deletions.
23 changes: 0 additions & 23 deletions .eslintrc.json

This file was deleted.

33 changes: 33 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import typescriptEslintPlugin from '@typescript-eslint/eslint-plugin'
import typescriptEslintParser from '@typescript-eslint/parser'

export default [
{
files: ['**/*.ts', '**/*.tsx'],
ignores: ['vitest.config.ts', 'vite.config.ts'],
languageOptions: {
parser: typescriptEslintParser,
parserOptions: {
project: './tsconfig.json',
},
},
plugins: {
'@typescript-eslint': typescriptEslintPlugin,
},
rules: {
'@typescript-eslint/ban-types': 'off',
'@typescript-eslint/no-namespace': 'off',
'@typescript-eslint/no-unused-vars': 'off',
'@typescript-eslint/consistent-type-imports': [
'warn',
{
prefer: 'type-imports',
disallowTypeAnnotations: true,
},
],
},
},
{
ignores: ['node_modules/**', 'dist/**'],
},
]
Loading

0 comments on commit f7b4aff

Please sign in to comment.