@materya/eslint-plugin

1.0.0 • Public • Published

Materya ESLint Config

An opinionated ESLint config for Materya projects

It turns out we can't have several configs in one ESLint configuration package. So this is actually a plugin (but does not provide any new rules, just a set of configs).

How to use

Install

npm i @materya/eslint-plugin

Configure ESLint

In your eslint config file (.eslintrc, .eslintrc.js, .eslintrc.yml, ...)

module.exports = {
  extends: [
    'plugin:materya/common',     // Base set of rules
    'plugin:materya/pulumi',     // Extended rules for pulumi modules
    'plugin:materya/typescript', // Extended rules for Typescript
  ],
  ...
}

Rules

WIP

Readme

Keywords

Package Sidebar

Install

npm i @materya/eslint-plugin

Weekly Downloads

8

Version

1.0.0

License

GPL-3.0

Unpacked Size

39.6 kB

Total Files

8

Last publish

Collaborators

  • sylver