This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@etchteam/eslint-plugin-patterns

0.1.3 • Public • Published

eslint-plugin-patterns

Eslint rules specifically for Patterns to help encourage best practice usage.

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install @etchteam/eslint-plugin-patterns:

npm install @etchteam/eslint-plugin-patterns --save-dev

Usage

Add @etchteam/patterns to the plugins section of your .eslintrc configuration file:

{
    "plugins": [
        "'@etchteam/patterns'"
    ]
}

Then configure the rules you want to use under the rules section. Recommended config is below.

{
    "rules": {
        "@etchteam/patterns/dont-touch-src": "warn",
        "@etchteam/patterns/dont-add-classes-to-components": "warn"
    }
}

Supported Rules

  • @etchteam/patterns/dont-touch-src
  • @etchteam/patterns/dont-add-classes-to-components

Package Sidebar

Install

npm i @etchteam/eslint-plugin-patterns

Weekly Downloads

1

Version

0.1.3

License

ISC

Unpacked Size

10.1 kB

Total Files

12

Last publish

Collaborators

  • ella-etch
  • joshthewanderer
  • gavmck
  • dan-webb