Add additional hooks to pre-commit
This commit is contained in:
2
.github/ISSUE_TEMPLATE/bug-report.yml
vendored
2
.github/ISSUE_TEMPLATE/bug-report.yml
vendored
@@ -27,7 +27,7 @@ body:
|
||||
label: To reproduce
|
||||
description: How can you reproduce the bug?
|
||||
placeholder: |
|
||||
The steps needed to reproduce the behavior:
|
||||
The steps needed to reproduce the behavior:
|
||||
1.
|
||||
validations:
|
||||
required: true
|
||||
|
||||
@@ -7,4 +7,11 @@ repos:
|
||||
- '--print-width=100'
|
||||
- '--single-quote'
|
||||
- '--trailing-comma=all'
|
||||
exclude: 'CookieMonster(Dev)?.js'
|
||||
exclude: &build 'CookieMonster(Dev)?.js(.map)?'
|
||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v4.3.0
|
||||
hooks:
|
||||
- id: trailing-whitespace
|
||||
exclude: *build
|
||||
- id: end-of-file-fixer
|
||||
exclude: *build
|
||||
|
||||
16
README.md
16
README.md
@@ -23,14 +23,14 @@ If the relevant option is enabled, CM will color-code each of them based on thei
|
||||
|
||||
<details>
|
||||
<summary>The following standard colours are used:</summary>
|
||||
|
||||
* Light Blue: (upgrades) This item has a better PP than the best building to buy
|
||||
* Green: This building has the best PP
|
||||
* Yellow: This building is within the top 10 of best PP's
|
||||
* Orange: This building is within the top 20 of best PP's
|
||||
* Red: This building is within the top 30 of best PP's
|
||||
* Purple: This building is worse than the top 10 of best PP's
|
||||
* Gray: This item does not have a PP, often this means that there is no change to CPS
|
||||
|
||||
- Light Blue: (upgrades) This item has a better PP than the best building to buy
|
||||
- Green: This building has the best PP
|
||||
- Yellow: This building is within the top 10 of best PP's
|
||||
- Orange: This building is within the top 20 of best PP's
|
||||
- Red: This building is within the top 30 of best PP's
|
||||
- Purple: This building is worse than the top 10 of best PP's
|
||||
- Gray: This item does not have a PP, often this means that there is no change to CPS
|
||||
|
||||
</details>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user