Skip to content

Commit

Permalink
build: bump deps and revert some style changes
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorlxy committed Aug 18, 2024
1 parent 1c27627 commit 502f951
Show file tree
Hide file tree
Showing 3 changed files with 146 additions and 146 deletions.
6 changes: 3 additions & 3 deletions commitlint.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ import * as fs from 'node:fs'
import * as path from 'node:path'
import type { UserConfig } from '@commitlint/types'

const PACKAGES = fs.readdirSync(path.resolve(__dirname, 'packages'))
const SCOPES = PACKAGES.map((name) => name.replace(/-vuepress$/, ''))
const packages = fs.readdirSync(path.resolve(__dirname, 'packages'))
const scopes = packages.map((name) => name.replace(/-vuepress$/, ''))

export default {
extends: ['@commitlint/config-conventional'],
rules: {
'scope-enum': [2, 'always', SCOPES],
'scope-enum': [2, 'always', scopes],
'footer-max-line-length': [0],
},
} satisfies UserConfig
2 changes: 1 addition & 1 deletion packages/eslint-config-vuepress/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"clean": "rimraf ./dist"
},
"dependencies": {
"@meteorlxy/eslint-config": "^4.2.2",
"@meteorlxy/eslint-config": "^4.2.3",
"@typescript-eslint/utils": "^8.1.0",
"eslint-plugin-vue": "^9.27.0"
}
Expand Down
Loading

0 comments on commit 502f951

Please sign in to comment.