@lekko/eslint-plugin

0.0.4 • Public • Published

@lekko/eslint-plugin

The Lekko eslint plugin provides warnings on syntax that is incompatible for Lekko config functions.

This plugin will continue to be updated to better match the list of supported/unsupported features.

Installation

npm i -D @lekko/eslint-plugin

Usage

New eslint configuration format:

import lekko from "@lekko/eslint-plugin";

export default [
  {
    files: ["src/lekko/*.ts"],
    plugins: { lekko: lekko },
    rules: { "lekko/limitations": "error" },
  },
];

Legacy eslint configuration format:

// .eslintrc.json
{
  "plugins": ["@lekko"],
  "overrides": [
    {
      "files": ["src/lekko/*.ts"],
      "rules": {
        "@lekko/limitations": "error"
      }
    }
  ]
}

Package Sidebar

Install

npm i @lekko/eslint-plugin

Weekly Downloads

87

Version

0.0.4

License

MIT

Unpacked Size

11.3 kB

Total Files

5

Last publish

Collaborators

  • passichenko
  • lekko_jonathan
  • davidsgk
  • konradlekko