@lokalise/eslint-plugin

1.5.0 • Public • Published

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

Dependencies (3)

Dev Dependencies (8)

Package Sidebar

Install

npm i @lokalise/eslint-plugin

Weekly Downloads

157

Version

1.5.0

License

MIT

Unpacked Size

11.9 kB

Total Files

9

Last publish

Collaborators

  • carlos_gamero
  • kibertoad
  • arthuracs
  • yury.kravtsov
  • filippos.mikropoulos
  • aplokalise
  • botlokalise
  • laurislokalise
  • marcocardosolok
  • bodrovis