3.3.3 • Published 6 months ago

@strv/eslint-config-react-native v3.3.3

Weekly downloads
115
License
BSD-3-Clause
Repository
github
Last release
6 months ago

@strv/eslint-config-react-native

STRV's ESLint config for React-Native projects

Suitable for linting React Native source files. This ruleset extends eslint-config-universe.

Note that this config also includes Typescript rules, as we feel strongly that Typescript should be used in all React Native projects. By including Typescript by default we can create more consistent rule sets.

Also unlike other configs it directly includes react/styles config as we need to control the extend array order.

Configurations

@strv/eslint-config-react-native

Suitable for linting React Native projects.

To use this configuration, add this package as a dev dependency of your project:

yarn add @strv/eslint-conig-react-native -D

Then extend the config in your ESLint configuration:

// .eslintrc.js

'use strict'

module.exports = {
  extends: [
    '@strv/eslint-config-react-native',
  ],
  parserOptions: {
    // The project field is required in order for some TS-syntax-specific rules to function at all
    // @see https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/parser#configuration
    project: './tsconfig.json',
  },
}

License

See the LICENSE file for information.

3.3.1

10 months ago

3.3.0

10 months ago

3.3.3

6 months ago

3.3.2

6 months ago

3.2.0

2 years ago

3.1.0

2 years ago

3.0.0-alpha.7

3 years ago

3.0.0

3 years ago

3.0.0-alpha.6

3 years ago

3.0.0-alpha.5

3 years ago

3.0.0-alpha.4

3 years ago

3.0.0-alpha.3

3 years ago

3.0.0-alpha.2

4 years ago

3.0.0-alpha.1

4 years ago

3.0.0-alpha.0

4 years ago

2.2.3

4 years ago

2.2.2

4 years ago

2.2.1

4 years ago

2.2.0

4 years ago

2.1.2

5 years ago

2.1.1

5 years ago

2.1.0

5 years ago

2.0.0

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago