Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

ESLint rules for enforcing Drupal coding standards

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages