Skip to content

Commit

Permalink
优化文档
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshuai2144 committed Feb 2, 2023
1 parent ad6db86 commit 85bd605
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"fast-glob": "^3.2.4",
"os-locale": "^5.0.0",
"prettier": "^2.3.2",
"prettier-plugin-packagejson": "^2.2.18",
"prettier-plugin-packagejson": "2.3.0",
"prettier-plugin-two-style-order": "^1.0.0",
"stylelint": "^13.0.0",
"stylelint-config-css-modules": "^2.2.0",
Expand Down
7 changes: 2 additions & 5 deletions src/tsEslintConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ export default {
'@typescript-eslint/no-unsafe-return': 0,
'no-unused-expressions': 'off',
'@typescript-eslint/no-unused-expressions': 'error',
'no-unused-vars': 'off',
'no-use-before-define': 'off',
'no-useless-constructor': 'off',
'@typescript-eslint/no-useless-constructor': 'error',
Expand Down Expand Up @@ -155,8 +154,6 @@ export default {
'@typescript-eslint/ban-types': 1,
'@typescript-eslint/explicit-module-boundary-types': 0,
'@typescript-eslint/naming-convention': 0,
'@typescript-eslint/no-unused-vars': [
'error',
{ vars: 'all', args: 'after-used', ignoreRestSiblings: true },
],
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': 'warn',
};

0 comments on commit 85bd605

Please sign in to comment.