Skip to content

Commit

Permalink
chore: lint with eslint (#7)
Browse files Browse the repository at this point in the history
Also removes formatting checks that run during lint.
  • Loading branch information
gmaclennan authored Sep 4, 2024
1 parent e1e20df commit a83b113
Show file tree
Hide file tree
Showing 4 changed files with 1,786 additions and 23 deletions.
13 changes: 13 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import globals from 'globals'
import pluginJs from '@eslint/js'
import tseslint from 'typescript-eslint'

export default [
{ files: ['**/*.{js,mjs,cjs,ts}'] },
{ languageOptions: { globals: globals.node } },
pluginJs.configs.recommended,
...tseslint.configs.recommended,
{
ignores: ['dist/', 'generated/', 'intermediate/'],
},
]
Loading

0 comments on commit a83b113

Please sign in to comment.