eslint-config-cc-react

1.2.0 • Public • Published

eslint-config-cc-react

A collection of useful linting rules for React 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-react eslint eslint-plugin-node eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-jsx-a11y
  1. Open or create an eslint configuration and add the property extends: "eslint-config-cc-react.
// file: .eslintrc.js
module.exports = {
  extends: ["cc-react"]
}

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 `main` branch at https://github.com/couetilc/eslint-config-cc-react
git push origin main
# 3. Create and publish a new release from the `main` branch
hub release create -t origin/main -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.

/eslint-config-cc-react/

    Package Sidebar

    Install

    npm i eslint-config-cc-react

    Weekly Downloads

    2

    Version

    1.2.0

    License

    MIT

    Unpacked Size

    5.06 kB

    Total Files

    6

    Last publish

    Collaborators

    • couetilc