AI-powered git commit checker that blocks bad code before it ships
Runs typescript type checker and linter on separate process.
Ember CLI addon for detecting missing npm and bower dependencies before executing ember commands
Runtime library to validate data against TypeScript interfaces
CSpell configuration for GIT.
Runs typescript type checker and linter on separate process.
Cross-platform conventional commit checker for git commit messages
A Node.js style checker and lint tool for Markdown/CommonMark files.
<p> <a href="https://www.npmjs.com/package/vue-component-meta"><img src="https://img.shields.io/npm/v/vue-component-meta.svg?labelColor=18181B&color=1584FC" alt="NPM version"></a> <a href="https://github.com/vuejs/language-tools/blob/master/LICENSE"><
A typescript type checker plugin to be used in Stryker, the JavaScript mutation testing framework
Dead-simple spell checking in CodeMirror.
Git pre-commit checker with remote-config
Determine if your addon is being used by a minimum version of Ember CLI.
mailSpellChecker.js (mail spell checker) is a lightweight module that suggests a right domain when your users misspell it in an email address
An Astro integration that checks for broken internal and external links during static builds.
TypeScript definitions for license-checker
Webpack plugin that warns you when multiple versions of the same package exist in a build.
Grammar parsing support for cspell
Extract NPM package licenses - Feature enhanced version of the original license-checker v25.0.1
Check license info for a package
a notifier for users of fork-ts-checker-webpack-plugin
CLI for cspell; A Spelling Checker for Code!
Webpack plugin that warns you when multiple versions of the same package exist in a build.
Find and magically fix links that may be negatively effecting your Nuxt sites SEO.
A Git pre-commit hook tool that ensures daily commit requirements
A lightweight library and CLI tool for validating Conventional Commits
A simple gem which help setup hook to check commit
A Git pre-commit hook that checks for debugging statements before allowing a commit.
# mdtoc - Markdown Table of Contents Read Markdown files and output a table of contents. ## Installation Requirements: * [Ruby](https://www.ruby-lang.org/en/) (see [.ruby-version](./.ruby-version)) ```bash gem install mdtoc ``` ## Usage ```bash mdtoc --help Usage: mdtoc [options] files or directories... -h, --help Show this message -o, --output PATH Update a table of contents in the file at PATH -a, --[no-]append Append to the --output file if a <!-- mdtoc --> tag isn't found -c, --[no-]create Create the --output file if it does not exist ``` 1. Add a `<!-- mdtoc -->` tag to a Markdown file. ```bash echo '<!-- mdtoc -->' >> README.md ``` 2. Run `mdtoc` and specify input files or directories (eg. the "test/samples" directory) and an output file (eg. "README.md"). ```bash mdtoc -aco README.md test/samples ``` ## Example Rakefile Create a `Rakefile` with the contents below, then run [`rake`](https://github.com/ruby/rake) to: * `git pull` * `git add` any `*.md` files * Run `mdtoc` to update the generated table of contents in the ./README.md file * Git commit and push any changes ```ruby task default: %w[mdtoc] desc 'Update Markdown table of contents and push changes to the git repository' task :mdtoc do command = <<~CMD set -e if [ -n "$(git diff --name-only --diff-filter=U)" ]; then echo 'Error: conflicts exist' >&2 exit 1 fi mdtoc --append --create --output README.md docs/ git add *.md **/*.md git commit -qm 'Update TOC' || true git pull git push CMD sh command, verbose: false do |ok, status| unless ok fail "Failed with status: #{status.exitstatus}" end end end ``` See [andornaut/til](https://github.com/andornaut/til/blob/master/Rakefile) for an example. ## Development ### Setup Requirements: * [Bundler](https://bundler.io/) * [chruby](https://github.com/postmodern/chruby) (recommended) ```bash # Setup development environment bin/setup ``` ### Tasks ```bash # List rake tasks rake -T rake build # Build gem into the pkg directory rake default # Run the build, rubocop, sorbet and test tasks rake install # Build and install gem into system gems rake rubocop # Run RuboCop rake sorbet # Run the Sorbet type checker rake test # Run tests # Run mdtoc with test inputs ruby -Ilib bin/mdtoc test/samples # Run mdtoc with test inputs, and write to a newly created output file f=$(mktemp) && ruby -Ilib bin/mdtoc -aco ${f} test/samples ; cat ${f} ``` ### Publishing 1. Bump version in `lib/mdtoc/version.rb` 2. Run `bundle install` to update `Gemfile.lock` 3. Commit the changes 4. Run `rake release` to publish the gem to RubyGems, create the git tag, and push