mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
build: refactor linting
This commit is contained in:
@@ -6,8 +6,8 @@
|
||||
"scripts": {
|
||||
"test": "vitest run --config ../../vitest.config.ts",
|
||||
"build": "vite build",
|
||||
"lint": "prettier --check . && cross-env TIMING=1 eslint src --ext .mjs,.js,.ts,.tsx --format=pretty",
|
||||
"format": "prettier --write . && cross-env TIMING=1 eslint src --ext .mjs,.js,.ts,.tsx --fix --format=pretty",
|
||||
"lint": "prettier --check . && cross-env TIMING=1 eslint --format=pretty src",
|
||||
"format": "prettier --write . && cross-env TIMING=1 eslint --fix --format=pretty src",
|
||||
"prepack": "yarn build && yarn lint",
|
||||
"changelog": "git cliff --prepend ./CHANGELOG.md -u -c ./cliff.toml -r ../../ --include-path 'packages/ui/*'",
|
||||
"release": "cliff-jumper",
|
||||
@@ -70,16 +70,15 @@
|
||||
"@types/node": "16.18.41",
|
||||
"@types/react": "^18.2.20",
|
||||
"@types/react-dom": "^18.2.7",
|
||||
"@unocss/eslint-config": "^0.55.2",
|
||||
"@unocss/eslint-plugin": "^0.55.2",
|
||||
"@unocss/reset": "^0.55.2",
|
||||
"@vitejs/plugin-react": "^4.0.4",
|
||||
"@vitest/coverage-c8": "^0.33.0",
|
||||
"chromatic": "^6.22.0",
|
||||
"chromatic": "^6.23.0",
|
||||
"cross-env": "^7.0.3",
|
||||
"eslint": "^8.47.0",
|
||||
"eslint-config-neon": "^0.1.47",
|
||||
"eslint-config-neon": "^0.1.54",
|
||||
"eslint-formatter-pretty": "^5.0.0",
|
||||
"eslint-plugin-storybook": "^0.6.13",
|
||||
"prettier": "^3.0.2",
|
||||
"prop-types": "^15.8.1",
|
||||
"storybook": "^7.3.2",
|
||||
|
||||
Reference in New Issue
Block a user