forked from Khaaz/AxonCore
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from Khaazz/dev
Dev
- Loading branch information
Showing
14 changed files
with
284 additions
and
53 deletions.
There are no files selected for viewing
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,3 +1,22 @@ | ||
{ | ||
"extends": "@axonteam" | ||
"extends": "@axonteam", | ||
"overrides": [ | ||
{ | ||
"files": ["*.ts"], | ||
"extends": [ | ||
"plugin:@typescript-eslint/eslint-recommended", | ||
"plugin:@typescript-eslint/recommended" | ||
], | ||
"parser": "@typescript-eslint/parser", | ||
"rules": { | ||
"no-useless-constructor": 0, | ||
"no-magic-numbers": 0, | ||
"max-classes-per-file": 0, | ||
"lines-between-class-members": 0, | ||
"@typescript-eslint/no-explicit-any": 0, | ||
"@typescript-eslint/no-use-before-define": [ 2, { "classes": false} ] | ||
} | ||
} | ||
] | ||
|
||
} |
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,41 @@ | ||
# Contributing | ||
|
||
**The issue tracker is only for bug reports and enhancement suggestions. If you have a question, please ask it in the [Discord server](https://discord.gg/QZ6B5US) instead of opening an issue – you will get redirected there anyway.** | ||
|
||
If you wish to contribute to AxonCore codebase or documentation, feel free to fork the repository and submit a | ||
pull request. | ||
|
||
## Tools | ||
|
||
We use ESLint to enforce a consistent coding style. | ||
We also use yarn as dependency manager. A `package-lock.json` should never be commited. | ||
|
||
## Setup | ||
|
||
To get ready to work on the codebase, please do the following: | ||
|
||
1. Fork & clone the repository, and make sure you're on the **dev** branch | ||
2. Run `yarn` to install dependencies | ||
3. Add your features, bug fix, documentatin change etc...! | ||
4. Make sure your code pass the tests: run `yarn test` and make sure it does not errors out | ||
5. [Submit a pull request](https://github.com/Khaazz/AxonCore/compare) | ||
|
||
## Semantic commit messages | ||
|
||
A better commit structure help navigate through commit history and build patch-note by easily identifying the level of change of said commit. | ||
Here the commit types used in this project: | ||
|
||
- fix(file): fix, **PATCH** | ||
- refactor(file): improvement, implementation change without API change, **PATCH** | ||
- perf(file): performance improvement (same as refactor) **PATCH**, **MINOR** | ||
- feat(file): change, addition (new feature), minor API change, **MINOR** | ||
- BREAKING(file): big API change **MAJOR** | ||
- docs(file): documentation only change | ||
- chore: CI and internal / dev tool changes | ||
- typings: typings improvement or change **PATCH / MINOR** | ||
- style: code formatting only change | ||
|
||
Adding `(file)` is optional and is used to specify the file changed. | ||
|
||
*Example*: | ||
feat(Command): Add Command.useless that does nothing. |
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,11 @@ | ||
# BUG REPORT | ||
|
||
Issue description. | ||
|
||
**Additional information:** | ||
|
||
- Node.js version: | ||
- AxonCore version: | ||
- Library used: (eris, discordjs, detritus...) | ||
- Library version: | ||
- DB engine used: (json, mongoose, sequelise...) |
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,16 @@ | ||
# Change this Pull Request introduce | ||
|
||
PR description. | ||
|
||
**Status:** | ||
|
||
- [ ] Typings have been updated or don't need to be. | ||
- [ ] This PR have been tested and is ready to be merged | ||
|
||
**Semantic versioning classification:** | ||
|
||
- [ ] This PR introduces Breaking Changes. | ||
- [ ] This PR adds new features, improve the code and implies minimal changes. | ||
- [ ] This PR fixes a bug and references the relevant issue or documentation. | ||
- [ ] This PR improve performance or refactor code without API changes. | ||
- [ ] This PR **only** includes non-code changes (documentation, CI, tools...). |
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
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
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
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
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,18 +1,18 @@ | ||
{ | ||
"compilerOptions": { | ||
"target": "es6", | ||
"module": "ES6", | ||
"strict": true, | ||
"noImplicitAny": true, | ||
"strictNullChecks": true, | ||
"noImplicitThis": true, | ||
"alwaysStrict": true, | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true, | ||
"noImplicitReturns": true, | ||
"noFallthroughCasesInSwitch": true, | ||
"moduleResolution": "node", | ||
"lib": ["es6"] | ||
}, | ||
"files": ["index.d.ts"] | ||
} | ||
"compilerOptions": { | ||
"target": "es6", | ||
"module": "ES6", | ||
"strict": true, | ||
"noImplicitAny": true, | ||
"strictNullChecks": true, | ||
"noImplicitThis": true, | ||
"alwaysStrict": true, | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true, | ||
"noImplicitReturns": true, | ||
"noFallthroughCasesInSwitch": true, | ||
"moduleResolution": "node", | ||
"lib": ["es6"] | ||
}, | ||
"files": ["index.d.ts"] | ||
} |
Oops, something went wrong.