Skip to content

Commit 9cd106b

Browse files
committed
feat: fix eslint rules, add requires deps for LSP
1 parent e85b394 commit 9cd106b

File tree

6 files changed

+844
-5
lines changed

6 files changed

+844
-5
lines changed

eslint.config.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,14 @@ import pluginVue from 'eslint-plugin-vue'
44
import { defineConfig } from 'eslint/config'
55

66
export default defineConfig([
7+
pluginVue.configs['flat/essential'],
78
{
89
files: ['**/*.{js,mjs,cjs,vue}'],
910
plugins: { js },
1011
extends: ['js/recommended'],
11-
languageOptions: { globals: globals.browser }
12-
},
13-
pluginVue.configs['flat/essential']
12+
languageOptions: { globals: globals.browser },
13+
rules: {
14+
'vue/multi-word-component-names': 'off'
15+
}
16+
}
1417
])

flake.nix

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020

2121
src = ./.;
2222

23-
npmDepsHash = "sha256-WRbvyRV/GFj1IrWY+zFcnzgm4KdKxTC/pXwR3D1D/2A=";
23+
npmDepsHash = "sha256-AcHPhtmb89lBUQEDHgcJ33xK7VqBiQEOLcVXI5zhU0E=";
24+
forceGitDeps = true;
25+
makeCacheWritable = true;
2426

2527
installPhase = ''
2628
mkdir -p $out/share/when

0 commit comments

Comments
 (0)