Add eslint and fix bullet lists
This commit is contained in:
22
eslint.config.ts
Normal file
22
eslint.config.ts
Normal file
@@ -0,0 +1,22 @@
|
||||
import js from "@eslint/js";
|
||||
import globals from "globals";
|
||||
import tseslint from "typescript-eslint";
|
||||
import { defineConfig } from "eslint/config";
|
||||
|
||||
export default defineConfig([
|
||||
{
|
||||
files:
|
||||
["**/*.{js,mjs,cjs,ts,mts,cts}"],
|
||||
plugins: {
|
||||
js
|
||||
},
|
||||
extends: ["js/recommended"],
|
||||
languageOptions: {
|
||||
globals: globals.browser
|
||||
},
|
||||
rules: {
|
||||
"indent": ["error", "tab"]
|
||||
}
|
||||
},
|
||||
tseslint.configs.recommended,
|
||||
]);
|
||||
Reference in New Issue
Block a user