0.1.8 • Published 4 years ago

eslint-config-deftly-rn v0.1.8

Weekly downloads
1
License
ISC
Repository
-
Last release
4 years ago

eslint-config-deftly-rn

Deftly ESLint configuration for React Native projects; includes eslint-config-deftly configuration in addition to React Native-specific rules. This is configured to work with Prettier.

Installation

You'll first need to install ESLint and the config peer dependencies. If the project was bootstrapped using CRNA, you only need to install the plugins:

$ yarn add -D eslint-plugin-import eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-jsx-a11y eslint babel-eslint

Next, install eslint-config-deftly-rn:

$ yarn add -D eslint-config-deftly-rn

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-config-deftly-rn globally.

Usage

Add deftly-rn to the extends section of your .eslintrc.js configuration file. You can omit the eslint-config- prefix:

{
    'extends': [
        'deftly-rn'
    ]
}
0.1.8

4 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago