-
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');
eslint-config-oc
2.0.1 • Public • PublishedPackage Sidebar
Install
npm i eslint-config-oc
Repository
Weekly Downloads
1
Version
2.0.1
License
MIT
Unpacked Size
14.3 kB
Total Files
8