Skip to content

Commit

Permalink
Updated eslint
Browse files Browse the repository at this point in the history
Removed old Jest config
  • Loading branch information
james-pre committed Oct 8, 2024
1 parent 113c9b6 commit 063a04e
Show file tree
Hide file tree
Showing 7 changed files with 442 additions and 478 deletions.
34 changes: 0 additions & 34 deletions .eslintrc.json

This file was deleted.

20 changes: 20 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
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,
},
},
/**
* Temporary
* @todo remove once core ^1.0.4 is published
*/
rules: {
'@typescript-eslint/restrict-plus-operands': 'off',
},
});
18 changes: 0 additions & 18 deletions jest.config.json

This file was deleted.

Loading

0 comments on commit 063a04e

Please sign in to comment.