1
0
mirror of https://github.com/NickKaramoff/shareon synced 2025-03-08 23:48:10 +01:00

Remove ESLint

This commit is contained in:
Nikita Karamov 2025-01-28 08:27:02 +01:00
parent a1f8420bf9
commit bf15bf2ad8
4 changed files with 1 additions and 1080 deletions

View File

@ -1 +0,0 @@
./.gitignore

View File

@ -31,16 +31,6 @@ repos:
exclude_types:
- markdown
exclude: ^pnpm-lock\.yaml$
- repo: https://github.com/pre-commit/mirrors-eslint
rev: "v9.14.0"
hooks:
- id: eslint
files: \.([jt]s|astro)$ # *.js, *.ts and *.astro
types: [file]
additional_dependencies:
# TODO: update ESLint to v9
- eslint@8
- eslint-plugin-unicorn@49
- repo: https://github.com/kytta/mirrors-svgo
rev: v4.0.0-rc.1
hooks:

View File

@ -44,9 +44,8 @@
"scripts": {
"build": "vite build",
"dev": "vite",
"lint": "eslint .",
"size": "size-limit",
"test": "pnpm run lint && pnpm run build && pnpm run size",
"test": "pnpm run build && pnpm run size",
"postversion": "pnpm run build",
"prepublishOnly": "rm -rf ./package && clean-publish",
"postpublish": "rm -rf ./package",
@ -56,8 +55,6 @@
"@size-limit/preset-small-lib": "^11.1.4",
"autoprefixer": "^10.4.19",
"clean-publish": "^5.0.0",
"eslint": "^8.57.0",
"eslint-plugin-unicorn": "^49.0.0",
"postcss": "^8.4.39",
"postcss-calc": "^10.0.0",
"postcss-css-variables": "^0.19.0",
@ -66,30 +63,6 @@
"size-limit": "^11.1.4",
"vite": "^5.3.4"
},
"eslintConfig": {
"env": {
"browser": true
},
"extends": [
"eslint:recommended",
"plugin:unicorn/recommended"
],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"overrides": [
{
"files": [
"vite.config.js"
],
"env": {
"node": true,
"browser": false
}
}
]
},
"postcss": {
"plugins": {
"postcss-url": {

1041
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff