1.0.0 • Published 2 years ago

@mels/eslint-config-react v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

✨ Features

This package contains all my React-related rules as an extensible shared ESLint config.

Install

With npm:

npm install @mels/eslint-config-react --save-dev

With yarn:

yarn add @mels/eslint-config-react --dev

How To Use

// .eslintrc.js

module.exports = {
  extends: ['@mels/base', '@mels/react'],
  // ... rest of config
};

This package also exports a jsx-runtime config, if you're using the new JSX transform from React 17.

// .eslintrc.js

module.exports = {
  extends: ['@mels/base', '@mels/react', '@mels/react/jsx-runtime'],
  // ... rest of config
};

Credits

  • Toolkit logo by Creatype from www.flaticon.com

License

MIT

1.0.0

2 years ago

0.1.0

2 years ago