eslint-plugin-const-hzw

1.0.0 • Public • Published

Installation

$ npm i eslint eslint-plugin-const-case --save-dev

Usage

Add const-case to the .eslintrc configuration file.

{
    'plugins': [
        'const-case'
    ],
    'rules': {
        'const-case/uppercase': 'error'
    }
}

Rule Details

Examples of correct code for this rule:

const FOO = 'bar';
const FOO = 42;
const FOO = -42;
// else with lowercase

Package Sidebar

Install

npm i eslint-plugin-const-hzw

Weekly Downloads

1

Version

1.0.0

License

Unlicense

Unpacked Size

76.1 kB

Total Files

8

Last publish

Collaborators

  • hzw_admin