Skip to content

Commit

Permalink
chore: remove unused eslintrc config, add recommended config to curre…
Browse files Browse the repository at this point in the history
…nt eslint config
  • Loading branch information
viliusddd committed Jul 31, 2024
1 parent e1691fc commit ea4fb3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 33 deletions.
33 changes: 0 additions & 33 deletions .eslintrc.cjs

This file was deleted.

3 changes: 3 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ import globals from 'globals'
import pluginJs from '@eslint/js'
import tseslint from 'typescript-eslint'
import prettier from 'eslint-config-prettier'
import js from '@eslint/js'

export default [
js.configs.recommended,
{
files: ['**/*.{js,mjs,cjs,ts}'],
rules: {
Expand Down Expand Up @@ -33,6 +35,7 @@ export default [
// It's important to use Kysely<any> and not Kysely<YourDatabase>.
// Migrations should never depend on the current code of your app
// because they need to work even when the app changes.
name: 'kysely_any_db',
files: ['**/database/migrat*/*.ts'],
rules: {
'@typescript-eslint/no-explicit-any': 'off'
Expand Down

0 comments on commit ea4fb3d

Please sign in to comment.