@public-js/eslint-plugin-react-native
TypeScript icon, indicating that this package has built-in type declarations

0.1.2 • Public • Published

@public-js/eslint-plugin-react-native

Build Version Downloads Size

Codacy LGTM Codecov Code Climate

Helpful ESLint rules for React Native


Installing

Add the package to your project by running:

npm i -D @public-js/eslint-plugin-react-native

Add the following to your ESLint config or modify the existing properties:

module.exports = {
  // ...
  parser: '@typescript-eslint/parser',
  parserOptions: {
    ecmaFeatures: { jsx: true },
  },
  plugins: [
    // ...
    '@public-js/eslint-plugin-react-native',
  ],
  // ...
};

Rules

  • 🔧 - Some problems reported by the rule can be fixed automatically by the --fix option
  • 💡 - Some problems reported by the rule can be fixed manually with IDE suggestions
Name                                         Description
stylesheet-rational-order Sorts related property declarations by grouping together. 🔧 💡

Resources

License

MIT, full license text. Read more about it on TLDRLegal.

Readme

Keywords

none

Package Sidebar

Install

npm i @public-js/eslint-plugin-react-native

Weekly Downloads

3

Version

0.1.2

License

MIT

Unpacked Size

21.3 kB

Total Files

7

Last publish

Collaborators

  • mullinsmikey