Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
Updated Eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
james-pre committed Oct 3, 2024
1 parent 5767f16 commit 0f985cb
Show file tree
Hide file tree
Showing 5 changed files with 434 additions and 450 deletions.
33 changes: 0 additions & 33 deletions .eslintrc.json

This file was deleted.

13 changes: 13 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import tseslint from 'typescript-eslint';
import shared from '@zenfs/core/eslint';

export default tseslint.config(...shared, {
files: ['src/**/*.ts', 'tests/**/*.ts'],
name: 'Enable typed checking',
languageOptions: {
parserOptions: {
projectService: true,
tsconfigRootDir: import.meta.dirname,
},
},
});
Loading

0 comments on commit 0f985cb

Please sign in to comment.