mirror of
https://github.com/TriliumNext/Trilium.git
synced 2025-12-10 03:53:37 -06:00
27 lines
699 B
JavaScript
27 lines
699 B
JavaScript
import tseslint from "typescript-eslint";
|
|
import simpleImportSort from "eslint-plugin-simple-import-sort";
|
|
|
|
export default tseslint.config(
|
|
{
|
|
plugins: {
|
|
"simple-import-sort": simpleImportSort
|
|
}
|
|
},
|
|
{
|
|
rules: {
|
|
// add rule overrides here
|
|
"no-undef": "off",
|
|
"no-unused-vars": "off",
|
|
"@typescript-eslint/no-unused-vars": [
|
|
"error",
|
|
{
|
|
argsIgnorePattern: "^_",
|
|
varsIgnorePattern: "^_"
|
|
}
|
|
],
|
|
"simple-import-sort/imports": "error",
|
|
"simple-import-sort/exports": "error"
|
|
}
|
|
}
|
|
);
|