Skip to content

Commit

Permalink
🐛 fix: Lock @typescript-eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
canisminor1990 committed Apr 30, 2024
1 parent e9e55f8 commit 00c796f
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 76 deletions.
148 changes: 74 additions & 74 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,85 +55,85 @@
]
},
"dependencies": {
"@trivago/prettier-plugin-sort-imports": "^4",
"@typescript-eslint/eslint-plugin": "^7",
"@typescript-eslint/parser": "^7",
"@umijs/babel-preset-umi": "^4",
"@umijs/lint": "^4",
"commitlint-config-gitmoji": "^2",
"eslint-config-prettier": "^9",
"eslint-import-resolver-alias": "^1",
"eslint-import-resolver-typescript": "^3",
"eslint-plugin-import": "^2",
"eslint-plugin-jest": "^28.0.0",
"eslint-plugin-react": "^7",
"eslint-plugin-react-hooks": "^4",
"eslint-plugin-simple-import-sort": "^12",
"eslint-plugin-sort-keys-fix": "^1",
"eslint-plugin-typescript-sort-keys": "^3",
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
"@typescript-eslint/eslint-plugin": "7.5.0",
"@typescript-eslint/parser": "7.5.0",
"@umijs/babel-preset-umi": "^4.1.10",
"@umijs/lint": "^4.1.10",
"commitlint-config-gitmoji": "^2.3.1",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-alias": "^1.1.2",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jest": "^28.3.0",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-simple-import-sort": "^12.1.0",
"eslint-plugin-sort-keys-fix": "^1.1.2",
"eslint-plugin-typescript-sort-keys": "^3.2.0",
"eslint-plugin-unicorn": "^52.0.0",
"eslint-plugin-unused-imports": "^3",
"eslint-plugin-unused-imports": "^3.1.0",
"gatsby-remark-find-replace": "^0.3.0",
"postcss-less": "^6",
"postcss-styled-syntax": "^0.6",
"prettier-plugin-organize-imports": "^3",
"prettier-plugin-packagejson": "^2",
"prettier-plugin-sh": "^0.14",
"prettier-plugin-sort-json": "^4",
"remark-frontmatter": "^5",
"remark-gfm": "^3",
"remark-lint": "^9",
"remark-lint-checkbox-content-indent": "^4",
"remark-lint-frontmatter-schema": "^3",
"remark-lint-heading-whitespace": "^1",
"remark-lint-linebreak-style": "^3",
"remark-lint-list-item-indent": "^3",
"remark-lint-list-item-spacing": "^4",
"remark-lint-no-duplicate-headings-in-section": "^3",
"remark-lint-no-empty-sections": "^4",
"remark-lint-no-empty-url": "^3",
"remark-lint-no-file-name-irregular-characters": "^2",
"remark-lint-no-heading-indent": "^4",
"remark-lint-no-heading-like-paragraph": "^3",
"remark-lint-no-paragraph-content-indent": "^4",
"remark-lint-no-reference-like-url": "^3",
"remark-lint-no-shell-dollars": "^3",
"remark-lint-no-tabs": "^3",
"remark-lint-no-unneeded-full-reference-image": "^3",
"remark-lint-no-unneeded-full-reference-link": "^3",
"remark-lint-ordered-list-marker-value": "^3",
"remark-lint-write-good": "^1",
"remark-pangu": "^2",
"remark-preset-lint-consistent": "^5",
"remark-preset-lint-markdown-style-guide": "^5",
"remark-preset-lint-recommended": "^6",
"remark-remove-unused-definitions": "^1",
"remark-sort-definitions": "^1",
"remark-textr": "^5",
"remark-toc": "^9",
"semantic-release-config-gitmoji": "^1",
"stylelint-config-clean-order": "^5",
"stylelint-config-recommended": "^14",
"stylelint-less": "^3",
"stylelint-order": "^6",
"postcss-less": "^6.0.0",
"postcss-styled-syntax": "^0.6.4",
"prettier-plugin-organize-imports": "^3.2.4",
"prettier-plugin-packagejson": "^2.5.0",
"prettier-plugin-sh": "^0.14.0",
"prettier-plugin-sort-json": "^4.0.0",
"remark-frontmatter": "^5.0.0",
"remark-gfm": "^3.0.1",
"remark-lint": "^9.1.2",
"remark-lint-checkbox-content-indent": "^4.1.2",
"remark-lint-frontmatter-schema": "^3.15.4",
"remark-lint-heading-whitespace": "^1.0.0",
"remark-lint-linebreak-style": "^3.1.2",
"remark-lint-list-item-indent": "^3.1.2",
"remark-lint-list-item-spacing": "^4.1.2",
"remark-lint-no-duplicate-headings-in-section": "^3.1.2",
"remark-lint-no-empty-sections": "^4.0.0",
"remark-lint-no-empty-url": "^3.1.2",
"remark-lint-no-file-name-irregular-characters": "^2.1.2",
"remark-lint-no-heading-indent": "^4.1.2",
"remark-lint-no-heading-like-paragraph": "^3.1.2",
"remark-lint-no-paragraph-content-indent": "^4.1.2",
"remark-lint-no-reference-like-url": "^3.1.2",
"remark-lint-no-shell-dollars": "^3.1.2",
"remark-lint-no-tabs": "^3.1.2",
"remark-lint-no-unneeded-full-reference-image": "^3.1.2",
"remark-lint-no-unneeded-full-reference-link": "^3.1.2",
"remark-lint-ordered-list-marker-value": "^3.1.2",
"remark-lint-write-good": "^1.2.0",
"remark-pangu": "^2.2.0",
"remark-preset-lint-consistent": "^5.1.2",
"remark-preset-lint-markdown-style-guide": "^5.1.3",
"remark-preset-lint-recommended": "^6.1.3",
"remark-remove-unused-definitions": "^1.0.4",
"remark-sort-definitions": "^1.0.5",
"remark-textr": "^5.0.1",
"remark-toc": "^9.0.0",
"semantic-release-config-gitmoji": "^1.5.3",
"stylelint-config-clean-order": "^5.4.2",
"stylelint-config-recommended": "^14.0.0",
"stylelint-less": "^3.0.1",
"stylelint-order": "^6.0.4",
"unist-util-visit": "^5.0.0"
},
"devDependencies": {
"@commitlint/cli": "^19",
"@types/node": "^20",
"antd-style": "^3",
"clean-pkg-json": "^1",
"commitlint": "^19",
"eslint": "^9.0.0",
"father": "^4",
"husky": "^9",
"lint-staged": "^15",
"prettier": "^3",
"remark": "^14",
"remark-cli": "^11",
"semantic-release": "^21",
"stylelint": "^16",
"typescript": "^5"
"@commitlint/cli": "^19.3.0",
"@types/node": "^20.12.7",
"antd-style": "^3.6.2",
"clean-pkg-json": "^1.2.0",
"commitlint": "^19.3.0",
"eslint": "^8.57.0",
"father": "^4.4.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"remark": "^14.0.3",
"remark-cli": "^11.0.0",
"semantic-release": "^21.1.2",
"stylelint": "^16.4.0",
"typescript": "^5.4.5"
},
"peerDependencies": {
"eslint": ">=8.42",
Expand Down
4 changes: 2 additions & 2 deletions src/eslint/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export default {
'typescript-sort-keys/string-enum': 'error',
'unicorn/explicit-length-check': 'warn',
'unicorn/filename-case': 0,
'unicorn/import-style': 0,
'unicorn/no-anonymous-default-export': 0,
'unicorn/no-array-for-each': 'warn',
'unicorn/no-array-reduce': 0,
Expand All @@ -50,11 +51,10 @@ export default {
'unicorn/prefer-type-error': 'warn',
'unicorn/prevent-abbreviations': 0,
'unicorn/switch-case-braces': 'warn',
'unicorn/import-style': 0,
'unused-imports/no-unused-imports': 'error',
'unused-imports/no-unused-vars': [
'warn',
{ args: 'after-used', argsIgnorePattern: '^_', vars: 'all', varsIgnorePattern: '^_' },
],
}
},
};

0 comments on commit 00c796f

Please sign in to comment.