0.0.31 • Published 2 years ago
@csjs/eslint-config-cs v0.0.31
ESLint Config
This package provides my custom rules for ESLint as an extensible shared config for React projects.
Usage
eslint-config-cs
The default export contains all of my ESLint rules for ECMAScript 6+ and React. It requires eslint
.
Run
yarn add -D @csjs/eslint-config-cs
Add
"extends": "@csjs/eslint-config-cs"
to.eslintrc.js
.Add
"lint": "eslint <source code path> --fix"
to the scripts inpackage.json
.
You can make sure this module lints with itself using yarn lint
.