eslint-config-oc

2.0.1 • Public • Published

Open Component ESLint config

Usage

  1. Add dependencies:

    npm install --save-dev eslint-config-oc eslint eslint-plugin-jsx-a11y eslint-plugin-import eslint-plugin-react
  2. Create .eslintrc.js with following contents in the root folder of your project:

    module.exports = {
      extends: ['eslint-config-oc'],
    };
  3. Create .prettierrc.js with following contents in the root folder of your project:

    module.exports = require('eslint-config-oc/prettierrc');

Package Sidebar

Install

npm i eslint-config-oc

Weekly Downloads

1

Version

2.0.1

License

MIT

Unpacked Size

14.3 kB

Total Files

8

Last publish

Collaborators

  • minwe