fix eslint #4

Merged
BenjaminPalko merged 1 commit from fix-lint into master 2024-12-05 13:50:56 -05:00
3 changed files with 13 additions and 13 deletions

BIN
bun.lockb

Binary file not shown.

View file

@ -1,13 +1,14 @@
import pluginJs from '@eslint/js';
import eslintConfigPrettier from 'eslint-config-prettier';
import globals from 'globals';
import tseslint from 'typescript-eslint';
// @ts-check
/** @type {import('eslint').Linter.Config[]} */
export default [
{ files: ['**/*.{js,mjs,cjs,ts}'] },
{ languageOptions: { globals: globals.browser } },
pluginJs.configs.recommended,
...tseslint.configs.recommended,
eslintConfigPrettier,
];
import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';
// @ts-expect-error No type-def
import eslintConfigPrettier from 'eslint-config-prettier';
export default tseslint.config(
{ files: ['{app,src}/**/*.{js,mjs,ts}'] },
{ ignores: ['build/*'] },
eslint.configs.recommended,
tseslint.configs.recommended,
eslintConfigPrettier
);

View file

@ -15,7 +15,6 @@
"@types/bun": "latest",
"eslint": "^9.16.0",
"eslint-config-prettier": "^9.1.0",
"globals": "^15.13.0",
"prettier": "3.4.1",
"prisma": "^6.0.1",
"typescript-eslint": "^8.17.0"