2.0.1 • Published 4 years ago

remark-preset-lint-metarhia v2.0.1

Weekly downloads
29
License
MIT
Repository
github
Last release
4 years ago

remark-preset-lint-metarhia

Build Status Greenkeeper badge

Opinionated remark-lint preset, originated from the config used in metarhia-jstp and decoupled into a separate and shareable one.

Installation

npm i -D remark-cli remark-preset-lint-metarhia

Usage

Create .remarkrc file:

{
  "plugins": ["remark-preset-lint-metarhia"]
}

and create an npm script to run

remark .

Contributing

Please adhere to Conventional Commits styleguide for commit messages (npm install creates a Git hook that lints your commit messages, and they are also checked on CI, but please write them properly beforehand so that they don't get rejected. If that happens locally while committing, though, don't worry, your commit message isn't lost, you can still find it in .git/COMMIT_EDITMSG).

Releasing

Collaborators can release new versions using

npm run release
git push origin master --follow-tags
npm publish

This will update the version in package.json and package-lock.json according to semantic versioning using commit messages to determine whether it is a patch, minor or major release, update the changelog, tag the new version in Git, and publish it to npm registry.

License

MIT. See the LICENSE file for details.

remark-lintremark-lint-blockquote-indentationremark-lint-checkbox-character-styleremark-lint-checkbox-content-indentremark-lint-code-block-styleremark-lint-definition-spacingremark-lint-emphasis-markerremark-lint-fenced-code-flagremark-lint-fenced-code-markerremark-lint-file-extensionremark-lint-final-definitionremark-lint-final-newlineremark-lint-first-heading-levelremark-lint-hard-break-spacesremark-lint-heading-styleremark-lint-linebreak-styleremark-lint-link-title-styleremark-lint-list-item-content-indentremark-lint-list-item-indentremark-lint-maximum-line-lengthremark-lint-no-auto-link-without-protocolremark-lint-no-blockquote-without-markerremark-lint-no-consecutive-blank-linesremark-lint-no-duplicate-definitionsremark-lint-no-duplicate-headings-in-sectionremark-lint-no-empty-urlremark-lint-no-file-name-articlesremark-lint-no-file-name-consecutive-dashesremark-lint-no-file-name-irregular-charactersremark-lint-no-file-name-mixed-caseremark-lint-no-file-name-outer-dashesremark-lint-no-heading-content-indentremark-lint-no-heading-indentremark-lint-no-heading-punctuationremark-lint-no-inline-paddingremark-lint-no-literal-urlsremark-lint-no-missing-blank-linesremark-lint-no-multiple-toplevel-headingsremark-lint-no-paragraph-content-indentremark-lint-no-reference-like-urlremark-lint-no-shortcut-reference-imageremark-lint-no-shortcut-reference-linkremark-lint-no-table-indentationremark-lint-no-tabsremark-lint-no-undefined-referencesremark-lint-no-unused-definitionsremark-lint-ordered-list-marker-styleremark-lint-rule-styleremark-lint-strong-markerremark-lint-table-cell-paddingremark-lint-table-pipe-alignmentremark-lint-table-pipesremark-lint-unordered-list-marker-style
2.0.1

4 years ago

2.0.0

5 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago