0.3.1 • Published 9 years ago

eslint-plugin-drupal v0.3.1

Weekly downloads
295
License
MIT
Repository
github
Last release
9 years ago

Drupal ESLint rules

ESLint rules for enforcing Drupal coding standards

Install the eslint plugin:

npm install eslint-plugin-drupal

And add the plugin to the configuration file:

{
  "plugins": ["drupal"],
  "rules": {
    "drupal/jquery-var-name": 2,
    "drupal/check-closure-globals": 2
  }
}

Rules

Ressources

0.3.1

9 years ago

0.3.0

9 years ago

0.2.0

9 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.1

9 years ago