-
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: improve toolings for better DX (#126)
* refactor: improve toolings * chore: update GH templates * build: update README, fix missing path in exports map Signed-off-by: Rong Sen Ng (motss) <[email protected]>
- Loading branch information
Showing
36 changed files
with
4,866 additions
and
1,606 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,16 @@ | ||
# EditorConfig helps developers define and maintain consistent | ||
# coding styles between different editors and IDEs | ||
# http://editorconfig.org | ||
# https://editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
# Change these settings to your own preference | ||
indent_style = space | ||
indent_size = 2 | ||
indent_style = space | ||
|
||
# We recommend you to keep these unchanged | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
end_of_line = lf | ||
insert_final_newline = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
trim_trailing_whitespace = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,5 @@ | ||
{ | ||
"env": { | ||
"browser": true | ||
}, | ||
"extends": [ | ||
"eslint:recommended", | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:promise/recommended", | ||
"plugin:regexp/recommended" | ||
], | ||
"ignorePatterns": [ | ||
"**/*.mjs", | ||
"vite.config.ts" | ||
], | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"project": "./tsconfig.json" | ||
}, | ||
"plugins": [ | ||
"@typescript-eslint", | ||
"simple-import-sort" | ||
], | ||
"rules": { | ||
"no-async-promise-executor": "off", | ||
"no-debugger": "off", | ||
"no-unused-vars": "off", | ||
"@typescript-eslint/no-unused-vars": [ | ||
"error", { | ||
"argsIgnorePattern": "^_", | ||
"varsIgnorePattern": "^_" | ||
} | ||
], | ||
"comma-dangle": "off", | ||
"@typescript-eslint/comma-dangle": [ | ||
"error", { | ||
"arrays": "always-multiline", | ||
"objects": "always-multiline", | ||
"imports": "always-multiline", | ||
"exports": "always-multiline", | ||
"functions": "never" | ||
} | ||
], | ||
"comma-spacing": "off", | ||
"@typescript-eslint/comma-spacing": [ | ||
"error", { | ||
"before": false, | ||
"after": true | ||
} | ||
], | ||
"@typescript-eslint/consistent-type-imports": [ | ||
"error", { | ||
"prefer": "type-imports", | ||
"disallowTypeAnnotations": false | ||
} | ||
], | ||
"simple-import-sort/imports": "error", | ||
"simple-import-sort/exports": "error" | ||
} | ||
"./node_modules/@reallyland/tools/.eslintrc.json" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* @motss |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# My Github Sponsors profile is live at 2022-04-03 14:33 SGT! 🚀 🎉 | ||
github: [motss] | ||
|
||
# Buy me a matcha to support my passion! | ||
custom: ['https://www.buymeacoffee.com/RLmMhgXFb'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,30 @@ | ||
### 💥 Breaking change | ||
### Description | ||
|
||
<!-- 1. Complete rewrite from ground up. --> | ||
<!-- Tag the link to the issue ticket and write a summary of the problem and your solution(s), e.g. | ||
Fix #1 by adding B and refactoring C. | ||
--> | ||
|
||
### 🐛 Fixes | ||
### Changes | ||
|
||
<!-- 1. Minor fix on issue. --> | ||
<!-- Write a list of changes of your PR, e.g. | ||
- Add A | ||
- Update B | ||
- Remove C | ||
- Rename D | ||
- Refactor E by doing E1 | ||
- Update tests after all the above changes | ||
--> | ||
|
||
### 🎨 Cleanup | ||
### Testings | ||
|
||
<!-- 1. Minor cleanup after rewrite. --> | ||
<!-- Add screenshots or recordings of your new changes. --> | ||
|
||
### Dependencies | ||
|
||
### ✏️ Typo | ||
<!-- List all dependencies, if any, e.g. | ||
<!-- 1. Typo in documentation for codes. --> | ||
|
||
|
||
### 📝 Documentation | ||
|
||
<!-- 1. Updated README with breaking changes. --> | ||
|
||
|
||
### :neckbeard: Reviewers | ||
|
||
<!-- @master_bear PTAL and review the changes made. --> | ||
1. [ ] #1 | ||
2. [ ] Currently blocked by #2 | ||
--> |
Oops, something went wrong.