eslint-config-xo-react

0.28.0last stable release 3 months ago
Complexity Score
Low
Open Issues
5
Dependent Projects
550
Weekly Downloadsglobal
33,176

License

  • MIT
    • Yesattribution
    • Permissivelinking
    • Permissivedistribution
    • Permissivemodification
    • Nopatent grant
    • Yesprivate use
    • Permissivesublicensing
    • Notrademark grant

Downloads

Readme

eslint-config-xo-react

ESLint shareable config for React to be used with eslint-config-xo

Install

npm install --save-dev eslint-config-xo eslint-config-xo-react

Usage

Add some ESLint config to your eslint.config.js:

import xo from 'eslint-config-xo';
import xoReact from 'eslint-config-xo-react';

export default [
    ...xo,
    ...xoReact
];

Use the space sub-config if you want 2 space indentation instead of tabs:

import xoSpace from 'eslint-config-xo/space';
import xoReactSpace from 'eslint-config-xo-react/space';

export default [
    ...xoSpace,
    ...xoReactSpace
];

Related

  • eslint-config-xo - ESLint shareable config for XO
  • XO

Dependencies

CVE IssuesActive
0
Scorecards Score
4.40
Test Coverage
No Data
Follows Semver
Yes
Github Stars
117
Dependenciestotal
5
DependenciesOutdated
0
DependenciesDeprecated
0
Threat Modelling
No
Repo Audits
No

Learn how to distribute eslint-config-xo-react in your own private NPM registry

npm config set registry  https://npm.cloudsmith.com/owner/repo
Processing...
Done
npm install eslint-config-xo-react
Processing...
Done

29 Releases

NPM on Cloudsmith

Getting started with NPM on Cloudsmith is fast and easy.