2.0.1 • Published 4 years ago
eslint-config-oc v2.0.1
Open Component ESLint config
Usage
Add dependencies:
npm install --save-dev eslint-config-oc eslint eslint-plugin-jsx-a11y eslint-plugin-import eslint-plugin-react
Create
.eslintrc.js
with following contents in the root folder of your project:module.exports = { extends: ['eslint-config-oc'], };
Create
.prettierrc.js
with following contents in the root folder of your project:module.exports = require('eslint-config-oc/prettierrc');