Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.
/ eslint-plugin Public archive

lokalise eslint plugin

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.md
Notifications You must be signed in to change notification settings

lokalise/eslint-plugin

Repository files navigation

eslint-plugin

npm Downloads total

eslint-config-frontend should be used instead.

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