This package has been deprecated

Author message:

Package has been renamed to @public-js/eslint-plugin-react-native. Migrate to get updates.

@public-js/eslint-plugin

0.0.1 • Public • Published

@public-js/pluralize

CI Downloads Version License


Helpful ESLint rules especially for those using TypeScript.

Getting Started

Add the required packages to your project by running:

npm install eslint typescript @typescript-eslint/parser @public-js/eslint-plugin --save-dev

Then configure ESLint as you wish.

And finally add the following to your eslintrc file (or just modify the required properties):

// ...
parser: '@typescript-eslint/parser'
// ...
parserOptions: {
    ecmaFeatures: { jsx: true }
}
// ...
plugins: ['@public-js'] // append this plugin, don't replace everything
// ...

Rules

rn-stylesheet-rational

Sorting React Native Stylesheet's properties in rational order

Usage:

'@public-js/rn-stylesheet-rational': ['warn', { borderInBoxModel: false }]

Readme

Keywords

none

Package Sidebar

Install

npm i @public-js/eslint-plugin

Weekly Downloads

1

Version

0.0.1

License

MIT

Unpacked Size

107 kB

Total Files

33

Last publish

Collaborators

  • mullinsmikey