Skip to content

Commit

Permalink
Update eslint.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
elPandaFriki authored Oct 17, 2024
1 parent 13a66df commit 1dc73b2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,18 @@ import reactRefresh from 'react-refresh'
import eslint from '@eslint/js';
import tseslint from 'typescript-eslint'
import globals from 'globals'
import typescriptParser from '@typescript-eslint/parser'

export default [
...tseslint.config(
eslint.configs.recommended,
...tseslint.configs.recommended,
);
{
languageOptions: {
parserOptions: {
tsconfigRootDir: "./",
}
},
rules: {
"typescript-eslint/consistent-type-imports": [
2,
Expand Down Expand Up @@ -62,10 +66,8 @@ export default [
"scripts"
],
languageOptions: {
parser: typescriptParser,
parserOptions: {
project: true,
tsconfigRootDir: "./",
ecmaVersion: "latest",
sourceType: "module",
ecmaFeatures: {
Expand Down

0 comments on commit 1dc73b2

Please sign in to comment.