Skip to content

Commit

Permalink
refactor: small changes (#475)
Browse files Browse the repository at this point in the history
Co-authored-by: nikkeyl <131481562+nikkeyl@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and nikkeyl authored Dec 1, 2024
1 parent 8204c93 commit fc5dcac
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 33 deletions.
7 changes: 3 additions & 4 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ export default defineFlatConfig([
unicorn: unicornPlugin,
},
rules: {
'simple-import-sort/imports': 'error',
'simple-import-sort/exports': 'error',
'import/exports-last': 'error',
'import/extensions': ['error', { ts: 'always' }],
'import/group-exports': 'error',
Expand All @@ -44,8 +42,9 @@ export default defineFlatConfig([
'import/no-namespace': 'error',
'import/no-unassigned-import': 'error',
'import/prefer-default-export': 'off',
'unicorn/no-unused-properties': 'error',
'unicorn/string-content': 'error',
'simple-import-sort/exports': 'warn',
'simple-import-sort/imports': 'warn',
'unicorn/no-unused-properties': 'warn',
},
},
prettierConfig,
Expand Down
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,16 @@
"@archoleat/eslint-flat-compatibility": "^1.2.1",
"@archoleat/prettier-define-config": "^1.1.0",
"@archoleat/semantic-release-define-config": "^1.2.0",
"@commitlint/cli": "^19.5.0",
"@commitlint/config-conventional": "^19.5.0",
"@commitlint/cli": "^19.6.0",
"@commitlint/config-conventional": "^19.6.0",
"@commitlint/types": "^19.5.0",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/bun": "^1.1.12",
"@types/bun": "^1.1.14",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"conventional-changelog-conventionalcommits": "^8.0.0",
"editorconfig-checker": "^5.1.6",
"editorconfig-checker": "^5.1.9",
"eslint": "^8.57.1",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-typescript": "^18.0.0",
Expand All @@ -60,12 +60,12 @@
"eslint-import-resolver-typescript": "^3.6.3",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-unicorn": "^56.0.0",
"eslint-plugin-unicorn": "^56.0.1",
"git-pull-run": "^1.4.0",
"globals": "^15.11.0",
"husky": "^9.1.6",
"globals": "^15.13.0",
"husky": "^9.1.7",
"lint-staged": "^15.2.10",
"prettier": "^3.3.3",
"prettier": "^3.4.1",
"remark": "15.0.1",
"remark-cli": "^12.0.1",
"remark-preset-lint-consistent": "^6.0.0",
Expand Down
20 changes: 20 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
{
"compilerOptions": {
// Completeness
"skipLibCheck": true,
// Emit
"declaration": true,
"emitDeclarationOnly": true,
"outDir": "",
// Language and Environment
"lib": ["ESNext"],
"target": "ESNext",
// Modules
"allowImportingTsExtensions": true,
"module": "NodeNext",
"moduleResolution": "NodeNext",
"paths": {
"#types": ["./src/types/index.ts"]
},
"rootDir": "src",
"types": ["vitest"],
// Projects
"disableReferencedProjectLoad": true,
// Type Checking
"allowUnreachableCode": false,
"allowUnusedLabels": false,
Expand Down
21 changes: 0 additions & 21 deletions tsconfig.node.json

This file was deleted.

0 comments on commit fc5dcac

Please sign in to comment.