Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 877 Bytes

README.md

File metadata and controls

49 lines (32 loc) · 877 Bytes

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