Socket
Book a DemoInstallSign in
Socket

@public-js/eslint-plugin

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@public-js/eslint-plugin

Helpful ESLint rules especially for those using TypeScript

0.0.1
latest
Source
npmnpm
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

@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 }]

FAQs

Package last updated on 12 Dec 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.