0.1.5 • Published 9 months ago

markdownlint-config-fluid v0.1.5

Weekly downloads
141
License
BSD-3-Clause
Repository
github
Last release
9 months ago

markdownlint-config-fluid

License: BSD 3-Clause Latest Release NPM Package

Shareable markdownlint configuration for the Fluid Project.

Using

To use the markdownlint configuration provided by this module, add it as a dev dependency to your project:

npm install markdownlint-config-fluid --save-dev --save-exact

With markdownlint-cli

If you are using markdownlint-cli, you can pass this configuration to the CLI directly:

markdownlint --config=node_modules/markdownlint-config-fluid/index.js

With markdownlint-cli2

If you are using markdownlint-cli2, you can create a .markdownlintrc.js file with the following contents:

"use strict";

module.exports = require("markdownlint-config-fluid");

With grunt-markdownlint

If you are using Grunt and grunt-markdownlint, you can load the JSON configuration into Grunt as follows:

grunt.initConfig({
    markdownlint: {
        options: {
            config: grunt.file.readJSON("./node_modules/markdownlint-config-fluid/.markdownlintrc.json")
        }
    }
});

Developing

See the markdownlint documentation for full details on available rules.

Modifying configuration

To modify the markdownlint rules provided by this module, update the configuration in the .markdownlintrc.json file. See the markdownlint documentation for configuration options.

Testing

To test your changes locally, link the package globally on your system.

# Run from the markdownlint-config-fluid directory.
# Depending on your system, you may need to use sudo.
npm link

Add your linked module to the package you want to test in.

# Run in the root directory for the package with which you want to test the configuration.
npm link markdownlint-config-fluid

Remove the links to clean up the test settings.

# Run from the markdownlint-config-fluid directory.
# Depending on your system, you may need to use sudo.
npm unlink

# Run in the root directory for the package with which you tested the configuration.
npm unlink markdownlint-config-fluid

# Run the install again to ensure that all the dependencies are properly installed.
npm install

Releasing

This module uses Conventional Commits, enforced with commitlint. This facilitates releasing new versions of the module. To cut a release, run:

npm run release

This will tag an appropriate semantic version based on the nature of the recent commits to the project and update the changelog.

You will then need to publish the updated version to the npm registry. This requires an npm account with appropriate maintainer permissions. To publish the module, run:

npm publish

For more information on publishing to npm, see the npm publish documentation.

0.1.5

9 months ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago