Socket
Socket
Sign inDemoInstall

@hi18n/eslint-plugin

Package Overview
Dependencies
127
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @hi18n/eslint-plugin

Message internationalization meets immutability and type-safety - ESLint plugin


Version published
Maintainers
1
Created

Readme

Source

@hi18n/eslint-plugin

This is a collection of ESLint rules to enforce correct and conventional uses of hi18n, an internationalization library.

It also contains rules internally used by @hi18n/cli.

Configuration example

npm install -D @hi18n/eslint-plugin
# Or:
yarn add -D @hi18n/eslint-plugin

And:

// .eslintrc.js
module.exports = {
  extends: [
    // ...
    "plugin:@hi18n/recommended",
    // Useful if TypeScript is configured in your project
    "plugin:@hi18n/recommended-requiring-type-checking",
  ],
  // ...
};

Keywords

FAQs

Last updated on 01 Sep 2022

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc