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

eslint-plugin-internations

Package Overview
Dependencies
Maintainers
3
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-internations

Custom ESLint rules and recommended rule configuration for internal InterNations usage

  • 3.3.1
  • npm
  • Socket score

Version published
Weekly downloads
8
decreased by-42.86%
Maintainers
3
Weekly downloads
 
Created
Source

eslint-plugin-internations

npm version

Custom ESLint rules and recommended rule configuration for internal InterNations usage.

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-internations and its peer dependencies:

(
  export PKG=eslint-plugin-internations;
  npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/@/@/g' | xargs npm install --save-dev "$PKG@latest"
)

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-internations and its peer dependencies globally.

Usage

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

{
    "plugins": [
        "internations"
    ]
}

Then, add plugin:internations/recommended to the extends section:

{
    "extends": [
        "plugin:internations/recommended"
    ]
}

You may optionally configure any specific rules you want to override under the rules section:

{
    "rules": {
        "internations/rule-name": "error"
    }
}

FAQs

Package last updated on 24 Aug 2020

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