Skip to content

Commit c5de0db

Browse files
lukasviceCopilot
andauthored
eslint 9 (#15)
* update to eslint 9 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * update package-lock.json * improve tsconfig * remove custom eslint rules * make eslint automatic fixes Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent adaa52b commit c5de0db

11 files changed

Lines changed: 19104 additions & 7903 deletions

.eslintrc.json

Lines changed: 0 additions & 48 deletions
This file was deleted.

eslint.config.mjs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import jest from '@aboutbits/eslint-config/configs/jest'
2+
import ts from '@aboutbits/eslint-config/configs/ts'
3+
import { defineConfig } from 'eslint/config'
4+
5+
export default defineConfig([
6+
ts,
7+
jest,
8+
{
9+
ignores: ['node_modules', 'dist'],
10+
},
11+
])

jestconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@
55
},
66
"testRegex": "(/__tests?__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
77
"moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json", "node"]
8-
}
8+
}

0 commit comments

Comments
 (0)