Skip to content

Commit

Permalink
feat: simplify eslint setup
Browse files Browse the repository at this point in the history
  • Loading branch information
mesqueeb committed May 24, 2024
1 parent 243d20b commit bb6c47e
Show file tree
Hide file tree
Showing 4 changed files with 741 additions and 327 deletions.
3 changes: 3 additions & 0 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import prettier from "@cycraft/eslint/prettier"

export default prettier
16 changes: 2 additions & 14 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
import eslint from '@eslint/js'
import eslintConfigPrettier from 'eslint-config-prettier'
import tseslint from 'typescript-eslint'
import config from '@cycraft/eslint/config'

export default tseslint.config(
eslint.configs.recommended,
...tseslint.configs.strict,
...tseslint.configs.stylistic,
eslintConfigPrettier,
{
rules: {
'@typescript-eslint/no-explicit-any': 'off',
},
}
)
export default config
Loading

0 comments on commit bb6c47e

Please sign in to comment.