mirror of
https://github.com/TriliumNext/Trilium.git
synced 2025-12-10 03:53:37 -06:00
chore(eslint): basic config
This commit is contained in:
parent
e87a368e87
commit
dfb9ce990d
15
eslint.config.mjs
Normal file
15
eslint.config.mjs
Normal file
@ -0,0 +1,15 @@
|
||||
// @ts-check
|
||||
|
||||
import eslint from '@eslint/js';
|
||||
import { defineConfig, globalIgnores } from 'eslint/config';
|
||||
import tseslint from 'typescript-eslint';
|
||||
|
||||
export default defineConfig(
|
||||
globalIgnores([
|
||||
".cache",
|
||||
"tmp",
|
||||
"**/dist"
|
||||
]),
|
||||
eslint.configs.recommended,
|
||||
tseslint.configs.recommended,
|
||||
);
|
||||
Loading…
x
Reference in New Issue
Block a user