Skip to content
This repository has been archived by the owner on Nov 23, 2022. It is now read-only.

Commit

Permalink
feat(core): add export sort
Browse files Browse the repository at this point in the history
BREAKING CHANGE: all exports now must be sorted
  • Loading branch information
vuki656 committed Oct 7, 2022
1 parent e67ea70 commit 915f71f
Show file tree
Hide file tree
Showing 3 changed files with 427 additions and 413 deletions.
2 changes: 2 additions & 0 deletions core.js
Expand Up @@ -21,6 +21,7 @@ module.exports = {
'typescript-sort-keys',
'unicorn',
'workspaces',
'simple-import-sort',
'more',
'sonarjs',
'etc',
Expand Down Expand Up @@ -376,6 +377,7 @@ module.exports = {
'error',
],
'semi': 'off',
'simple-import-sort/exports': 'error',
'sonarjs/cognitive-complexity': ['warn', 15],
'sonarjs/no-all-duplicated-branches': 'error',
'sonarjs/no-collection-size-mischeck': 'error',
Expand Down
11 changes: 6 additions & 5 deletions package.json
Expand Up @@ -36,7 +36,7 @@
"eslint": "^8"
},
"dependencies": {
"@rimac-technology/eslint-plugin": "^1.2.0",
"@rimac-technology/eslint-plugin": "^1.2.1",
"@typescript-eslint/eslint-plugin": "^5.36.2",
"@typescript-eslint/parser": "^5.36.2",
"eslint-plugin-eslint-comments": "^3.2.0",
Expand All @@ -49,6 +49,7 @@
"eslint-plugin-promise": "^6.0.1",
"eslint-plugin-react": "^7.31.7",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^8.0.0",
"eslint-plugin-sonarjs": "^0.15.0",
"eslint-plugin-sort-destructure-keys": "^1.4.0",
"eslint-plugin-sort-keys-fix": "^1.1.2",
Expand All @@ -62,7 +63,7 @@
"devDependencies": {
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"@rimac-technology/eslint-config": "^26.0.0",
"@rimac-technology/eslint-config": "^26.0.1",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/commit-analyzer": "^9.0.2",
"@semantic-release/git": "^10.0.1",
Expand All @@ -71,13 +72,13 @@
"@semantic-release/release-notes-generator": "^10.0.3",
"commitizen": "^4.2.5",
"conventional-changelog-conventionalcommits": "^5.0.0",
"eslint": "^8.23.0",
"eslint": "^8.24.0",
"husky": "^8.0.1",
"jest": "^29.0.2",
"jest": "^29.1.2",
"pinst": "^3.0.0",
"prettier": "^2.7.1",
"semantic-release": "^19.0.5",
"typescript": "^4.8.2"
"typescript": "^4.8.4"
},
"packageManager": "yarn@3.2.3",
"config": {
Expand Down

0 comments on commit 915f71f

Please sign in to comment.