-
Notifications
You must be signed in to change notification settings - Fork 30
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 #201 from EarthSchlange/add_markdown_lint
Added Markdown Linter
Showing
8 changed files
with
60 additions
and
17 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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
## Include All Styles | ||
## https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md | ||
all | ||
|
||
## Set Some Rules | ||
rule 'MD026', punctuation: ',:;' | ||
|
||
## General Markdown Exclusions | ||
|
||
## First Line in file should be a top level header | ||
## Breaks on Github Issue Templates | ||
exclude_rule 'MD002' | ||
exclude_rule 'MD041' | ||
|
||
## Line Length | ||
exclude_rule 'MD013' | ||
|
||
## Bare URL | ||
exclude_rule 'MD034' | ||
|
||
## Turning the Output Required Off for now. | ||
exclude_rule 'MD014' |
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 |
---|---|---|
@@ -0,0 +1 @@ | ||
style '.agagd_mdlrc_style.rb' |
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,20 +1,23 @@ | ||
# AGAGD | ||
|
||
## Overview | ||
|
||
An app to display users, games, tournaments, and ratings information on the AGA website. | ||
The AGAGD is a port of the old EuroGO Games Database to python developed for the [American Go Association (AGA)](usgo.org). | ||
|
||
## Development | ||
|
||
### Code Style | ||
|
||
The AGAGD project uses pre-commit for some basic linting and mostly follows [black](https://github.com/psf/black), so before it is required to have pre-commit installed and any errors fixed before making a pull request. ([Pre Commit](https://pre-commit.com/), [DJango Code Style](https://docs.djangoproject.com/en/3.2/internals/contributing/writing-code/coding-style/)) | ||
|
||
#### Install pre-commit | ||
* `shell> pip3 install pre-commit` | ||
* `shell> pre-commit install` | ||
|
||
* `$ pip3 install pre-commit` | ||
* `$ pre-commit install` | ||
|
||
### Getting started | ||
|
||
**Important: running the agagd locally now requires the `schema.sql` which can be found in [USGO SQL Schema's Repo](https://github.com/usgo/usgo-sql-schemas). The` schema.sql` file needs to be place in the main directory of the locally cloned AGAGD repo.** | ||
**Important: running the agagd locally now requires the `schema.sql` which can be found in [USGO SQL Schema's Repo](https://github.com/usgo/usgo-sql-schemas). The `schema.sql` file needs to be place in the main directory of the locally cloned AGAGD repo.** | ||
|
||
The AGAGD application uses docker for local development. Information about how to get up and running see [docker.md](docker.md) for details. |