Skip to content

theodoreb/eslint-plugin-drupal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Packages

No packages published