eslint-plugin-no-touppercase

1.0.0 • Public • Published

ESLint Plugin against toUpperCase usage

Simple plugin only for one simple rule, don't use toUpperCase but use toLocaleUpperCase

Installation

Install ESLint either locally or globally.

$ npm install eslint
$ npm install eslint-plugin-no-touppercase

Configuration

Add plugins section and specify ESLint-plugin-React (optional) and ESLint-plugin-react-native as a plugin.

{
  "plugins": [
    "no-touppercase"
  ]
}

Enable all of the rules that you would like to use.

{
  "rules": {
    "no-touppercase/check-uppercase": 2,
  }
}

List of supported rules

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-plugin-no-touppercase

Weekly Downloads

2

Version

1.0.0

License

MIT

Last publish

Collaborators

  • dschmidt