1.0.2 • Published 2 months ago

@porscheinformatik/eslint-plugin-template v1.0.2

Weekly downloads
-
License
MIT
Repository
-
Last release
2 months ago

@porscheinformatik/eslint-plugin-template

Provides custom eslint template rules for Porsche Informatik

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install @porscheinformatik/eslint-plugin-template:

npm install @porscheinformatik/eslint-plugin-template --save-dev

Usage

Add @porscheinformatik/template to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "@porscheinformatik/template"
    ]
}

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

{
    "rules": {
        "@porscheinformatik/template/rule-name": 2
    }
}

Rules

💼 Configurations enabled in.\ ✅ Set in the recommended configuration.\ 🔧 Automatically fixable by the --fix CLI option.

Name              Description💼🔧
test-automation-idEnforces data-testid on various tags for easier testautomation🔧
1.0.2

2 months ago

1.0.1

11 months ago

1.0.0

11 months ago

0.0.0

11 months ago