chore(deps-dev): update eslint, prettier & antfu/eslint-config

This commit is contained in:
Braks
2022-05-11 22:10:40 +02:00
parent be2a37246a
commit 447d24c5a8
3 changed files with 436 additions and 362 deletions
+1
View File
@@ -3,6 +3,7 @@ const baseRules = {
'no-console': 0, 'no-console': 0,
'chai-friendly/no-unused-expressions': ['error', { allowShortCircuit: true, allowTernary: true }], 'chai-friendly/no-unused-expressions': ['error', { allowShortCircuit: true, allowTernary: true }],
'prettier/prettier': ['error', {}, { usePrettierrc: true }], 'prettier/prettier': ['error', {}, { usePrettierrc: true }],
'antfu/if-newline': 0,
} }
module.exports = { module.exports = {
+9 -9
View File
@@ -11,20 +11,20 @@
"scripts": { "scripts": {
"dev": "yarn --cwd examples dev", "dev": "yarn --cwd examples dev",
"docs": "yarn --cwd docs dev", "docs": "yarn --cwd docs dev",
"build": "yarn turbo run build",
"postrelease": "git-cliff --output CHANGELOG.md && git add CHANGELOG.md && git commit -m \"chore: Update CHANGELOG.md\"", "postrelease": "git-cliff --output CHANGELOG.md && git add CHANGELOG.md && git commit -m \"chore: Update CHANGELOG.md\"",
"release": "yarn --cwd package release", "release": "yarn --cwd package release",
"test": "yarn turbo run test", "build": "turbo run build",
"lint": "yarn turbo run lint", "test": "turbo run test",
"typedocs": "yarn turbo run typedoc" "lint": "turbo run lint",
"typedocs": "turbo run typedoc"
}, },
"devDependencies": { "devDependencies": {
"@antfu/eslint-config": "^0.9.0", "@antfu/eslint-config": "^0.23.0",
"eslint": "^7.32.0", "eslint": "^8.15.0",
"eslint-config-prettier": "^8.3.0", "eslint-config-prettier": "^8.5.0",
"eslint-plugin-chai-friendly": "^0.7.2", "eslint-plugin-chai-friendly": "^0.7.2",
"eslint-plugin-prettier": "^3.4.1", "eslint-plugin-prettier": "^4.0.0",
"prettier": "^2.4.1", "prettier": "^2.6.2",
"shx": "^0.3.4", "shx": "^0.3.4",
"turbo": "^1.2.1", "turbo": "^1.2.1",
"typescript": "^4.5.5" "typescript": "^4.5.5"
+426 -353
View File
File diff suppressed because it is too large Load Diff