0.3.2 • Published 2 years ago

@tokenstreet/eslint-plugin v0.3.2

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

@tokenstreet/eslint-plugin

This plugin is used for tokenstreet React Native projects.

npm version downloads types minzipped size contributions welcome

Most of the rules will not make sense for other projects. However, this repository and the associated npm package is public to make tooling easier for us.

Installation

You'll need to install ESLint and the plugin:

yarn add -D eslint @tokenstreet/eslint-plugin

or

npm install eslint @tokenstreet/eslint-plugin --save-dev

Usage

Add @tokenstreet to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": ["@tokenstreet"]
}

To activate all rules, use the following configuration:

{
    "extends": ["@tokenstreet/all"]
}

Alternatively, individual rules can be activated or deactivated:

{
    "rules": {
        "@tokenstreet/no-error": 2,
        "@tokenstreet/no-logger-error-method": 2,
        "@tokenstreet/no-text-component": 2,
        "@tokenstreet/no-throw": 2
    }
}

Supported Rules

0.3.2

2 years ago

0.3.1

2 years ago

0.3.0

2 years ago

0.2.0

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago

8.0.5

2 years ago

8.0.4

2 years ago

8.0.3

2 years ago

8.0.2

2 years ago

8.0.1

2 years ago

8.0.0

2 years ago

7.0.1

2 years ago

7.0.0

2 years ago

4.0.4

2 years ago

4.0.3

2 years ago

4.0.2

2 years ago

4.0.1

2 years ago