@enormora/eslint-config-react-jsx

0.0.14 • Public • Published

@enormora/eslint-config-react-jsx

Config preset for react and JSX, enabling specific rules and compiler settings.

Install & Setup

Install the @enormora/eslint-config-react-jsx and the base preset package via npm:

npm install --save-dev @enormora/eslint-config-base @enormora/eslint-config-react-jsx

Create an ESLint configuration file (e.g., eslint.config.js) in your project and add the base and react config to the configuration array:

import { baseConfig } from '@enormora/eslint-config-base';
import { reactJsxConfig } from '@enormora/eslint-config-react-jsx';

export default [
    {
        ignores: ['dist/**/*']
    },
    baseConfig,
    {
        ...reactJsxConfig,
        files: ['src/components/**/*.jsx']
    }
];

Readme

Keywords

none

Package Sidebar

Install

npm i @enormora/eslint-config-react-jsx

Weekly Downloads

1,030

Version

0.0.14

License

MIT

Unpacked Size

3.82 kB

Total Files

4

Last publish

Collaborators

  • screendriver
  • lo1tuma