1.0.8 • Published 2 years ago

eslint-plugin-smartnica v1.0.8

Weekly downloads
-
License
ISC
Repository
bitbucket
Last release
2 years ago

Smartnica Eslint plugin

Eslint plugin to improve js code quality in Drupal

Installation

Install it globally:

npm install --global eslint-plugin-smartnica

You can install it locally:

npm install --save-dev eslint-plugin-smartnica

Configuration

Add plugins section to .eslintrc.* and specify "smartnica" as a plugin.

{
    "plugins": [
        "smartnica"
    ]
}

Finally, enable all of the rules that you would like to use.

"rules": {
    "smartnica/drupal-behaviors-namespaces": 2,
    "smartnica/jquery-event-namespaces": 2,
    "smartnica/constant-case": 2,
}
1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago