eslint-config-cc-lint

useful javascript linting rules

Usage no npm install needed!

<script type="module">
  import eslintConfigCcLint from 'https://cdn.skypack.dev/eslint-config-cc-lint';
</script>

README

eslint-config-cc-lint

A collection of useful linting rules emphasizing correctness rather than style, as a shareable ESLint configuration.

Usage / Installation

  1. Install this package using npm.
npm install --save-dev eslint-config-cc-lint eslint eslint-plugin-node
  1. Open or create an eslint configuration and add the property extends: "eslint-config-cc-lint.
// file: .eslintrc.js
module.exports = {
  extends: ["cc-lint"]
}

Publishing

Steps to publish a new version of this package to NPM:

# 1. Increment the version number in `package.json`
git add package.json && git commit -m "bump version to X.X.X"
# 2. Push your updates to `master` branch at https://github.com/couetilc/eslint-config-cc-lint
git push origin master
# 3. Create and publish a new release from the `master` branch
hub release create -t origin/master -m "vX.X.X" "vX.X.X"

Increment the package version number according to Semantic Versioning. A Github Action will publish the new version to NPM.