feat: add eslint-plugin-depend to frontend

This commit is contained in:
kolaente
2026-02-17 11:32:24 +01:00
parent c3b760ec04
commit 2fe66c8944
3 changed files with 26 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
import pluginVue from 'eslint-plugin-vue'
import js from '@eslint/js'
import vueTsEslintConfig from '@vue/eslint-config-typescript'
import pluginDepend from 'eslint-plugin-depend'
import { fileURLToPath } from 'node:url'
import { dirname } from 'node:path'
@@ -10,6 +11,7 @@ export default [
js.configs.recommended,
...pluginVue.configs['flat/recommended'],
...vueTsEslintConfig(),
pluginDepend.configs['flat/recommended'],
{
ignores: [
'**/*.test.ts',

View File

@@ -129,6 +129,7 @@
"csstype": "3.2.3",
"esbuild": "0.27.3",
"eslint": "9.39.2",
"eslint-plugin-depend": "^1.4.0",
"eslint-plugin-vue": "10.8.0",
"happy-dom": "20.6.1",
"histoire": "1.0.0-beta.1",

View File

@@ -245,6 +245,9 @@ importers:
eslint:
specifier: 9.39.2
version: 9.39.2(jiti@2.4.2)
eslint-plugin-depend:
specifier: ^1.4.0
version: 1.4.0
eslint-plugin-vue:
specifier: 10.8.0
version: 10.8.0(@typescript-eslint/parser@8.56.0(eslint@9.39.2(jiti@2.4.2))(typescript@5.9.3))(eslint@9.39.2(jiti@2.4.2))(vue-eslint-parser@10.2.0(eslint@9.39.2(jiti@2.4.2)))
@@ -3623,6 +3626,10 @@ packages:
emoji-regex@9.2.2:
resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==}
empathic@2.0.0:
resolution: {integrity: sha512-i6UzDscO/XfAcNYD75CfICkmfLedpyPDdozrLMmQc5ORaQcdMoc21OnlEylMIqI7U8eniKrPMxxtj8k0vhmJhA==}
engines: {node: '>=14'}
encodeurl@1.0.2:
resolution: {integrity: sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==}
engines: {node: '>= 0.8'}
@@ -3713,6 +3720,9 @@ packages:
engines: {node: '>=6.0'}
hasBin: true
eslint-plugin-depend@1.4.0:
resolution: {integrity: sha512-MQs+m4nHSfgAO9bJDsBzqw0ofK/AOA0vfeY/6ahofqcUMLeM6/D1sTYs21fOhc17kNU/gn58YCtj20XaAssh2A==}
eslint-plugin-vue@10.8.0:
resolution: {integrity: sha512-f1J/tcbnrpgC8suPN5AtdJ5MQjuXbSU9pGRSSYAuF3SHoiYCOdEX6O22pLaRyLHXvDcOe+O5ENgc1owQ587agA==}
engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0}
@@ -4742,6 +4752,9 @@ packages:
mitt@3.0.1:
resolution: {integrity: sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw==}
module-replacements@2.11.0:
resolution: {integrity: sha512-j5sNQm3VCpQQ7nTqGeOZtoJtV3uKERgCBm9QRhmGRiXiqkf7iRFOkfxdJRZWLkqYY8PNf4cDQF/WfXUYLENrRA==}
mri@1.2.0:
resolution: {integrity: sha512-tzzskb3bG8LvYGFF/mDTpq3jpI6Q9wc3LEmBaghu+DdCssd1FakN7Bc0hVNmEyGq1bq3RgfkCb3cmQLpNPOroA==}
engines: {node: '>=4'}
@@ -10259,6 +10272,8 @@ snapshots:
emoji-regex@9.2.2: {}
empathic@2.0.0: {}
encodeurl@1.0.2: {}
end-of-stream@1.4.4:
@@ -10427,6 +10442,12 @@ snapshots:
optionalDependencies:
source-map: 0.6.1
eslint-plugin-depend@1.4.0:
dependencies:
empathic: 2.0.0
module-replacements: 2.11.0
semver: 7.7.3
eslint-plugin-vue@10.8.0(@typescript-eslint/parser@8.56.0(eslint@9.39.2(jiti@2.4.2))(typescript@5.9.3))(eslint@9.39.2(jiti@2.4.2))(vue-eslint-parser@10.2.0(eslint@9.39.2(jiti@2.4.2))):
dependencies:
'@eslint-community/eslint-utils': 4.9.1(eslint@9.39.2(jiti@2.4.2))
@@ -11522,6 +11543,8 @@ snapshots:
mitt@3.0.1: {}
module-replacements@2.11.0: {}
mri@1.2.0: {}
mrmime@2.0.0: {}