0.0.4 • Published 12 months ago

@lekko/eslint-plugin v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

@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"
      }
    }
  ]
}
0.0.3

1 year ago

0.0.4

12 months ago

0.0.2

1 year ago

0.0.2-beta.2

1 year ago

0.0.1

1 year ago