mirror of
https://github.com/NickKaramoff/shareon
synced 2025-02-08 07:38:52 +01:00
Remove Prettier
This commit is contained in:
parent
e58a068f07
commit
722411b7ec
@ -11,12 +11,6 @@ repos:
|
||||
- id: check-json
|
||||
- id: check-toml
|
||||
- id: check-yaml
|
||||
- repo: https://github.com/pre-commit/mirrors-prettier
|
||||
rev: "v4.0.0-alpha.8"
|
||||
hooks:
|
||||
- id: prettier
|
||||
additional_dependencies:
|
||||
- prettier@3
|
||||
- repo: https://github.com/pre-commit/mirrors-eslint
|
||||
rev: "v9.14.0"
|
||||
hooks:
|
||||
@ -26,9 +20,7 @@ repos:
|
||||
additional_dependencies:
|
||||
# TODO: update ESLint to v9
|
||||
- eslint@8
|
||||
- eslint-config-prettier@9
|
||||
- eslint-plugin-unicorn@49
|
||||
- prettier@3
|
||||
- repo: https://github.com/kytta/mirrors-svgo
|
||||
rev: v4.0.0-rc.1
|
||||
hooks:
|
||||
|
@ -1,2 +0,0 @@
|
||||
dist/
|
||||
pnpm-lock.yaml
|
10
package.json
10
package.json
@ -44,7 +44,7 @@
|
||||
"scripts": {
|
||||
"build": "vite build",
|
||||
"dev": "vite",
|
||||
"lint": "prettier --check . && eslint .",
|
||||
"lint": "eslint .",
|
||||
"size": "size-limit",
|
||||
"test": "pnpm run lint && pnpm run build && pnpm run size",
|
||||
"postversion": "pnpm run build",
|
||||
@ -57,28 +57,22 @@
|
||||
"autoprefixer": "^10.4.19",
|
||||
"clean-publish": "^5.0.0",
|
||||
"eslint": "^8.57.0",
|
||||
"eslint-config-prettier": "^9.1.0",
|
||||
"eslint-plugin-unicorn": "^49.0.0",
|
||||
"postcss": "^8.4.39",
|
||||
"postcss-calc": "^10.0.0",
|
||||
"postcss-css-variables": "^0.19.0",
|
||||
"postcss-csso": "^6.0.1",
|
||||
"postcss-url": "^10.1.3",
|
||||
"prettier": "^3.3.3",
|
||||
"size-limit": "^11.1.4",
|
||||
"vite": "^5.3.4"
|
||||
},
|
||||
"prettier": {
|
||||
"embeddedLanguageFormatting": "off"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"env": {
|
||||
"browser": true
|
||||
},
|
||||
"extends": [
|
||||
"eslint:recommended",
|
||||
"plugin:unicorn/recommended",
|
||||
"prettier"
|
||||
"plugin:unicorn/recommended"
|
||||
],
|
||||
"parserOptions": {
|
||||
"ecmaVersion": "latest",
|
||||
|
23
pnpm-lock.yaml
generated
23
pnpm-lock.yaml
generated
@ -20,9 +20,6 @@ importers:
|
||||
eslint:
|
||||
specifier: ^8.57.0
|
||||
version: 8.57.0
|
||||
eslint-config-prettier:
|
||||
specifier: ^9.1.0
|
||||
version: 9.1.0(eslint@8.57.0)
|
||||
eslint-plugin-unicorn:
|
||||
specifier: ^49.0.0
|
||||
version: 49.0.0(eslint@8.57.0)
|
||||
@ -41,9 +38,6 @@ importers:
|
||||
postcss-url:
|
||||
specifier: ^10.1.3
|
||||
version: 10.1.3(postcss@8.4.39)
|
||||
prettier:
|
||||
specifier: ^3.3.3
|
||||
version: 3.3.3
|
||||
size-limit:
|
||||
specifier: ^11.1.4
|
||||
version: 11.1.4
|
||||
@ -544,12 +538,6 @@ packages:
|
||||
resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==}
|
||||
engines: {node: '>=10'}
|
||||
|
||||
eslint-config-prettier@9.1.0:
|
||||
resolution: {integrity: sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw==}
|
||||
hasBin: true
|
||||
peerDependencies:
|
||||
eslint: '>=7.0.0'
|
||||
|
||||
eslint-plugin-unicorn@49.0.0:
|
||||
resolution: {integrity: sha512-0fHEa/8Pih5cmzFW5L7xMEfUTvI9WKeQtjmKpTUmY+BiFCDxkxrTdnURJOHKykhtwIeyYsxnecbGvDCml++z4Q==}
|
||||
engines: {node: '>=16'}
|
||||
@ -974,11 +962,6 @@ packages:
|
||||
resolution: {integrity: sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==}
|
||||
engines: {node: '>= 0.8.0'}
|
||||
|
||||
prettier@3.3.3:
|
||||
resolution: {integrity: sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==}
|
||||
engines: {node: '>=14'}
|
||||
hasBin: true
|
||||
|
||||
punycode@2.3.1:
|
||||
resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==}
|
||||
engines: {node: '>=6'}
|
||||
@ -1591,10 +1574,6 @@ snapshots:
|
||||
|
||||
escape-string-regexp@4.0.0: {}
|
||||
|
||||
eslint-config-prettier@9.1.0(eslint@8.57.0):
|
||||
dependencies:
|
||||
eslint: 8.57.0
|
||||
|
||||
eslint-plugin-unicorn@49.0.0(eslint@8.57.0):
|
||||
dependencies:
|
||||
'@babel/helper-validator-identifier': 7.22.20
|
||||
@ -2022,8 +2001,6 @@ snapshots:
|
||||
|
||||
prelude-ls@1.2.1: {}
|
||||
|
||||
prettier@3.3.3: {}
|
||||
|
||||
punycode@2.3.1: {}
|
||||
|
||||
queue-microtask@1.2.3: {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user