remove eslint, regenerate yarn lock file

This commit is contained in:
Henry Jameson 2026-09-04 01:04:51 +03:00
commit 4dbe95cdc9
7 changed files with 1086 additions and 1841 deletions

View file

@ -13,12 +13,6 @@ steps:
commands:
- yarn --frozen-lockfile
eslint:
image: *node-image
depends_on: install-depends
commands:
- yarn ci-eslint
biome:
image: *node-image
depends_on: install-depends

View file

@ -1,18 +0,0 @@
import { defineConfig, globalIgnores } from 'eslint/config'
import vue from 'eslint-plugin-vue'
import vueParser from 'vue-eslint-parser'
export default defineConfig([
...vue.configs['flat/recommended'],
globalIgnores(['**/*.js', 'build/', 'dist/', 'config/']),
{
files: ['src/**/*.vue'],
languageOptions: {
parser: vueParser,
},
rules: {
'vue/require-prop-types': 0,
'vue/multi-word-component-names': 0,
},
},
])

View file

@ -15,10 +15,9 @@
"e2e": "sh ./tools/e2e/run.sh",
"test": "yarn run unit && yarn run e2e",
"ci-biome": "yarn exec biome check",
"ci-eslint": "yarn exec eslint",
"ci-stylelint": "yarn exec stylelint '**/*.scss' '**/*.vue'",
"lint": "yarn ci-biome; yarn ci-eslint; yarn ci-stylelint",
"lint-fix": "yarn exec eslint -- --fix; yarn exec stylelint '**/*.scss' '**/*.vue' --fix; biome check --write"
"lint": "yarn ci-biome; yarn ci-stylelint",
"lint-fix": "yarn exec stylelint '**/*.scss' '**/*.vue' --fix; biome check --write"
},
"dependencies": {
"@chenfengyuan/vue-qrcode": "2.0.0",
@ -71,8 +70,6 @@
"autoprefixer": "10.4.21",
"chalk": "5.6.2",
"cross-spawn": "7.0.6",
"eslint": "^10.9.1",
"eslint-plugin-vue": "^10.10.0",
"iso-639-1": "3.1.5",
"msw": "2.14.6",
"nightwatch": "3.12.2",
@ -91,11 +88,9 @@
"stylelint-config-standard": "38.0.0",
"vite": "^8.0.0",
"vite-plugin-biome": "^1.2.0",
"vite-plugin-eslint2": "^5.3.0",
"vite-plugin-stylelint": "^6.1.0",
"vite-plugin-vue-devtools": "^8.2.1",
"vitest": "^4.1.11",
"vue-eslint-parser": "^10.4.1"
"vitest": "^4.1.11"
},
"type": "module",
"engines": {

View file

@ -1,9 +1,6 @@
import EventTargetPolyfill from '@ungap/event-target'
try {
// for some reason eslint both likes and dislikes
// no-new here so we just call something useless
// so it stops reporting this file
const et = new EventTarget()
et.dispatchEvent()
} catch {

View file

@ -1,5 +1,3 @@
/* eslint-env serviceworker */
// biome-ignore: side effect import of assets list
import 'virtual:pleroma-fe/service_worker_env'

View file

@ -5,7 +5,6 @@ import vueJsx from '@vitejs/plugin-vue-jsx'
import { playwright } from '@vitest/browser-playwright'
import { defineConfig } from 'vite'
import biomePlugin from 'vite-plugin-biome'
import eslint from 'vite-plugin-eslint2'
import stylelint from 'vite-plugin-stylelint'
import vueDevTools from 'vite-plugin-vue-devtools'
import { configDefaults } from 'vitest/config'
@ -156,12 +155,6 @@ export default defineConfig(async ({ mode, command }) => {
biomePlugin({
mode: 'check',
}),
eslint({
lintInWorker: true,
lintOnStart: true,
customOverlay: true,
cacheLocation: resolve(projectRoot, 'node_modules/.cache/eslintcache'),
}),
stylelint({
lintInWorker: true,
lintOnStart: true,

2880
yarn.lock

File diff suppressed because it is too large Load diff