Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-drupal-contrib

Package Overview
Dependencies
Maintainers
4
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-drupal-contrib

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

  • 2.0.3
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
4
Created
Source

eslint-plugin-drupal-contrib

Latest release License Tests GitHub CodeQL Drupal Version

An ESLint plugin 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@8 prettier@3 --save-dev
npm install eslint-plugin-drupal-contrib@2 --save-dev

Usage

Add the following to your eslint configuration file

extends: ["plugin:drupal-contrib/recommended"]

jQuery

Add the following to your eslint configuration file

extends: ["plugin:drupal-contrib/jquery"]

Legacy

Add the following to your eslint configuration file

extends: ["plugin:drupal-contrib/legacy"]

Passing

Add the following to your eslint configuration file

extends: ["plugin:drupal-contrib/passing"]

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.

Keywords

FAQs

Package last updated on 26 Sep 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc