diff --git a/package.json b/package.json index 518b117..f3c9770 100644 --- a/package.json +++ b/package.json @@ -56,8 +56,8 @@ }, "dependencies": { "@trivago/prettier-plugin-sort-imports": "^4.3.0", - "@typescript-eslint/eslint-plugin": "7.14.1", - "@typescript-eslint/parser": "7.14.1", + "@typescript-eslint/eslint-plugin": "7.5.0", + "@typescript-eslint/parser": "7.5.0", "@umijs/babel-preset-umi": "^4.3.0", "@umijs/lint": "^4.3.0", "commitlint-config-gitmoji": "^2.3.1", @@ -120,24 +120,23 @@ "unist-util-visit": "^5.0.0" }, "devDependencies": { + "@commitlint/cli": "^19.3.0", "@types/node": "^20.14.9", "antd-style": "^3.6.2", "clean-pkg-json": "^1.2.0", + "commitlint": "^19.3.0", + "eslint": "^8.57.0", "father": "^4.4.4", "husky": "^9.0.11", "lint-staged": "^15.2.7", + "prettier": "^3.3.2", + "react": "^18.3.1", + "remark": "^14.0.3", + "remark-cli": "^11.0.0", + "semantic-release": "^21.1.2", + "stylelint": "^16.6.1", "typescript": "^5.5.2" }, - "peerDependencies": { - "@commitlint/cli": ">=19", - "commitlint": ">=19", - "eslint": ">=8.42", - "prettier": ">=3", - "remark": ">=14", - "remark-cli": ">=11", - "semantic-release": ">=21", - "stylelint": ">=16" - }, "publishConfig": { "access": "public", "registry": "https://registry.npmjs.org" diff --git a/src/remarklint/index.ts b/src/remarklint/index.ts index 997cbbb..5db2d4a 100644 --- a/src/remarklint/index.ts +++ b/src/remarklint/index.ts @@ -42,7 +42,7 @@ export default { ['remark-lint-list-item-indent', 'space'], ['remark-lint-list-item-spacing', { checkBlanks: true }], ['remark-lint-no-duplicate-headings', false], - ['remark-lint-no-file-name-irregular-characters', '\\.a-zA-Z0-9-_'], + ['remark-lint-no-file-name-irregular-characters', String.raw`\.a-zA-Z0-9-_`], ['remark-lint-no-file-name-mixed-case', false], ['remark-lint-no-literal-urls', false], ['remark-lint-no-shell-dollars', false],