1.0.1 • Published 1 year ago

eslint-plugin-sim-only v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

eslint-plugin-sim-only

Custom ESLint rules for enforcing coding conventions in SIM Only Angular projects.

Installation

You'll first need to install ESLint:

yarn add --dev eslint

Next, install eslint-plugin-sim-only by simply running:

yarn add eslint-plugin-sim-only

Usage

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

{
    "plugins": [
        "sim-only"
    ]
}

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

{
    "rules": {
        "sim-only/class-empty-line": "error"
    }
}

Rules

🔧 Automatically fixable by the --fix CLI option.

Name            Description🔧
class-empty-lineEnsure that class declarations begin with an empty line when the class contains properties.🔧
1.0.1

1 year ago

1.0.0

1 year ago