0.19.0 • Published 3 years ago

eslint-plugin-ct.macro v0.19.0

Weekly downloads
1
License
MIT
Repository
github
Last release
3 years ago

eslint-plugin-ct.macro

Check class order for ct.macro

Installation

You'll first need to install ESLint:

yarn add eslint -D
# or via npm
$ npm i eslint --save-dev

Next, install eslint-plugin-ct.macro:

yarn add eslint-plugin-ct.macro -D
# or via npm
$ npm install eslint-plugin-ct.macro --save-dev

Usage

Add ct.macro to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "ct.macro"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
        "ct.macro/class-order": 2
    }
}

Supported Rules

ct.macro/class-order is the only rule. Set it to 1 and it will throw warnings. Setting it to 2 will throw errors.

0.19.0

3 years ago

0.18.0

4 years ago

0.17.0

4 years ago

0.16.0

4 years ago

0.15.0

4 years ago

0.14.0

4 years ago

0.13.0

4 years ago

0.12.0

4 years ago

0.11.0

4 years ago

0.10.0

4 years ago

0.9.0

4 years ago

0.8.0

4 years ago

0.7.0

4 years ago

0.6.0

4 years ago

0.5.0

4 years ago

0.4.0

4 years ago

0.3.0

4 years ago

0.2.0

4 years ago