Socket
Book a DemoInstallSign in
Socket

@lokalise/eslint-plugin

Package Overview
Dependencies
Maintainers
5
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lokalise/eslint-plugin

ESLint plugin for Lokalise

latest
Source
npmnpm
Version
1.5.0
Version published
Maintainers
5
Created
Source

eslint-plugin

npm Downloads total

Install in your app

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install @lokalise/eslint-plugin:

$ npm i @lokalise/eslint-plugin --save-dev

Usage

Add @lokalise/eslint-plugin to the plugins section of your .eslintrc configuration file.

{
    "plugins": [
        "@lokalise/eslint-plugin"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
        "@lokalise/package-boundary": "error",
        "@lokalise/relative-internal-imports": "error"
    }
}

Local Development

Install Deps

$ npm i

Run tests

$ npm run test

How to contribute

Follow our guidelines

Supported Rules

License

This library is licensed under MIT.

Copyright (c) Lokalise Group

Keywords

eslint

FAQs

Package last updated on 26 Sep 2022

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