0.5.0 • Published 2 years ago

@kachkaev/markdownlint-config v0.5.0

Weekly downloads
25
License
MIT
Repository
github
Last release
2 years ago

@kachkaev → markdownlint config

Compatible with markdownlint-cli v0.23+. To be used together with @kachkaev/prettier-config. See main.json for rule details.

Adding to project

  1. Install the package:

    npm install -D @kachkaev/markdownlint-config
    ## or
    yarn add -D @kachkaev/markdownlint-config
  2. Create .markdownlint.json with the following contents:

    {
      "extends": "@kachkaev/markdownlint-config"
    }
  3. Create .markdownlintignore. For example,

    ###########################
    ## Specific to Markdownlint
    ###########################
    
    ## Ignore all files (but still allow sub-folder scanning)
    *
    !*/
    
    ## Allow certain file types
    !*.md
    !*.mdx
    
    ########################
    ## Same as in .gitignore
    ########################
    
    # (paste lines from .gitignore here)
  4. Optionally, configure package scripts and a pre-commit hook to make sure that all project files are always formatted. See example in njtpackage.json.

0.5.0

2 years ago

0.3.0

2 years ago

0.2.0

4 years ago

0.1.0

4 years ago