-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating packages, vite, and lint config (#54)
* 3.1.0 * Updates packages, vite.config and eslint
- Loading branch information
1 parent
7af935b
commit f7b4aff
Showing
7 changed files
with
4,795 additions
and
3,136 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/**'], | ||
}, | ||
] |
Oops, something went wrong.