π The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.
Vue dockergolangkanbanknowledge-baseknowledge-managementmarkdownnote-takingnotesnotes-appnotionnuxtnuxtjsoffline-firstoidcpwaselfhostedssovuevuejswiki
chore: simplify eslint config to keep code clean
Smaug6739cc6510ecdb35
diff --git a/frontend/eslint.config.mjs b/frontend/eslint.config.mjsindex c9057733..a7d5e930 100644--- a/frontend/eslint.config.mjs+++ b/frontend/eslint.config.mjs@@ -1,69 +1,31 @@import prettier from 'eslint-config-prettier';-import perfectionist from 'eslint-plugin-perfectionist';// @ts-checkimport withNuxt from './.nuxt/eslint.config.mjs';export default withNuxt(- prettier,- {- ignores: ['app/styles/vendors/katex/**'],- },-- {- plugins: {- perfectionist,- },-- rules: {- 'no-console': ['warn', { allow: ['warn', 'error'] }],- 'no-duplicate-imports': 'error',- 'no-var': 'error',- 'perfectionist/sort-imports': [- 'error',- {- newlinesBetween: 1,- order: 'asc',- type: 'alphabetical',- },- ],-- 'perfectionist/sort-interfaces': [- 'error',- {- order: 'asc',- type: 'alphabetical',- },- ],-- /*'perfectionist/sort-objects': [- 'error',- {- ignoreCase: false,- order: 'asc',- type: 'alphabetical',- },- ],*/-- 'perfectionist/sort-union-types': [- 'error',- {- order: 'asc',- type: 'alphabetical',- },- ],-- 'prefer-const': 'error',-- 'vue/block-lang': [- 'error',- {- script: { lang: 'ts' },- },- ],- 'vue/component-name-in-template-casing': ['error', 'PascalCase'],- 'vue/multi-word-component-names': 'off',- 'vue/no-unused-properties': 'error',- },+ prettier,+ {+ ignores: ['app/styles/vendors/katex/**'],+ },++ {+ plugins: {},++ rules: {+ // 'no-console': ['warn', { allow: ['warn', 'error'] }],+ 'no-duplicate-imports': 'error',+ 'no-var': 'error',+ 'prefer-const': 'error',+ 'vue/block-lang': [+ 'error',+ {+ script: { lang: 'ts' },+ },+ ],+ 'vue/component-name-in-template-casing': ['error', 'PascalCase'],+ 'vue/multi-word-component-names': 'off',+ 'vue/no-unused-properties': 'error',},+ },);