1.1.1 • Published 4 years ago

eslint-config-drupal-contrib v1.1.1

Weekly downloads
273
License
ISC
Repository
github
Last release
4 years ago

eslint-config-drupal-contrib

This project is now deprecated. Please use eslint-plugin-drupal-contrib instead.

Latest release License Conventional Commits Drupal Version

An ESLint configuration to match the Drupal standard for contrib modules and themes.

Extends eslint-config-airbnb and eslint-config-prettier

For more detail on the rules implemented, see the config itself.

Installation

# latest stable
npm install eslint prettier --save-dev
npm install eslint-config-drupal-contrib --save-dev

Usage

Add the following to your eslint configuration file

extends: ["eslint-config-drupal-contrib"]

Versioning

This project uses Semantic Versioning 2.0.0 to keep track of releases.

For more detailed information about SemVer, please see the official documentation.

Contributing

If you're interested in contributing to the project, please read the Contribution Guidelines. Any and all contributions must follow these guidelines or they will not be accepted.