chore: init
This commit is contained in:
commit
acb41dd4bf
18 changed files with 3056 additions and 0 deletions
17
eslint.config.js
Normal file
17
eslint.config.js
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
import js from "@eslint/js";
|
||||
import globals from "globals";
|
||||
import tseslint from "typescript-eslint";
|
||||
import { defineConfig } from "eslint/config";
|
||||
import eslintConfigPrettier from "eslint-config-prettier/flat";
|
||||
|
||||
export default defineConfig([
|
||||
{
|
||||
files: ["**/*.{js,mjs,cjs,ts,mts,cts}"],
|
||||
plugins: { js },
|
||||
extends: ["js/recommended"],
|
||||
languageOptions: { globals: globals.node },
|
||||
},
|
||||
tseslint.configs.recommended,
|
||||
eslintConfigPrettier,
|
||||
{ ignores: ["dist", "node_modules"] },
|
||||
]);
|
||||
Loading…
Add table
Add a link
Reference in a new issue