Skip to content

materya/eslint-config

Repository files navigation

Materya ESLint Config

An opinionated ESLint config for Materya projects

How to use

Install

npm i eslint-plugin-materya

peer dependencies

npx install-peerdeps -d -o eslint-config-materya

Configure ESLint

Extends from this config in your eslint local config file.

Example in .eslintrc:

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

Rules

Dependencies

This set of rules extends a few standards:

Custom rules

WIP