Skip to content

nkgrnkgr/eslint-plugin-nkgrnkgr-react

Repository files navigation

eslint-plugin-nkgrnkgr-react

npm version Downloads/month

A template for ESLint plugins.

Installation

Use npm or a compatibility tool to install.

$ npm install --save-dev eslint eslint-plugin-nkgrnkgr-react

Requirements

  • Node.js v8.10.0 or newer versions.
  • ESLint v5.16.0 or newer versions.

Usage

Write your config file such as .eslintrc.yml.

plugins:
  - nkgrnkgr-react
rules:
  nkgrnkgr-react/example-rule: error

See also Configuring ESLint.

Configs

  • nkgrnkgr-react/recommended ... enables the recommended rules.

Rules

Stylistic Issues

Rule ID Description
nkgrnkgr-react/enable-only-default-import-react An example rule. ⭐️

Semantic Versioning Policy

This plugin follows Semantic Versioning and ESLint's Semantic Versioning Policy.

Development Tools

  • npm test runs tests and measures coverage.
  • npm version <TYPE> updates the package version. And it updates lib/configs/recommended.js, lib/index.js, and README.md's rule table. See also npm version CLI command.
  • npm run add-rule <RULE_ID> creates three files to add a new rule.

About

ESLint my rule

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published