mirror of
https://github.com/zen-browser/docs.git
synced 2025-07-07 17:05:34 +02:00
Bump dependencies, migrate to ESLint 9, fix typos (#179)
* Update bun.lock * Bump eslint * Bye ESLint 9 * Update gitignore * Fix typos
This commit is contained in:
parent
a442e68e0a
commit
5d0b6b95a6
10 changed files with 373 additions and 237 deletions
17
eslint.config.mjs
Normal file
17
eslint.config.mjs
Normal file
|
@ -0,0 +1,17 @@
|
|||
import { defineConfig } from "eslint/config";
|
||||
import path from "node:path";
|
||||
import { fileURLToPath } from "node:url";
|
||||
import js from "@eslint/js";
|
||||
import { FlatCompat } from "@eslint/eslintrc";
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = path.dirname(__filename);
|
||||
const compat = new FlatCompat({
|
||||
baseDirectory: __dirname,
|
||||
recommendedConfig: js.configs.recommended,
|
||||
allConfig: js.configs.all
|
||||
});
|
||||
|
||||
export default defineConfig([{
|
||||
extends: compat.extends("next/core-web-vitals", "next/typescript"),
|
||||
}]);
|
Loading…
Add table
Add a link
Reference in a new issue