Socket
Book a DemoInstallSign in
Socket

@doist/eslint-plugin-doist

Package Overview
Dependencies
Maintainers
7
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@doist/eslint-plugin-doist

A collection of Doist ESLint rules

2.0.0-beta2
latest
npmnpm
Version published
Maintainers
7
Created
Source

eslint-plugin-doist

A collection of Doist ESLint rules.

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-doist:

npm install eslint-plugin-doist --save-dev

Usage

Add doist to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "@doist/doist"
    ]
}

Supported Rules

gettext-literal-arg

Enforce only string literals as arguments to our i18n helpers _().

import-file-naming

Enforce naming conventions when importing certain file types using ES6 modules.

static-path-literal-arg

Enforce only string literals as arguments to our static deployment tool $static_path.

Add a new rule

Use generator-eslint:

yo eslint:rule

Stick to the ESLint recomendations regarding working with rules and working with plugins.

Keywords

eslint

FAQs

Package last updated on 18 Aug 2024

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.