mirror of
https://github.com/zadam/trilium.git
synced 2025-12-16 13:19:54 +01:00
chore(eslint): basic config
This commit is contained in:
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,
|
||||||
|
);
|
||||||
Reference in New Issue
Block a user