0.1.1 • Published 2 years ago
@studenfy/eslint-config v0.1.1
@studenfy/eslint-config
Linting config for ECMAScript, JSX and TypeScript
Install
- For
javascript
:
yarn add -D eslint eslint-plugin-react eslint-plugin-react-hooks @studenfy/eslint-config
- For
typescipt
:
yarn add -D eslint @typescript-eslint/eslint-plugin eslint-plugin-react eslint-plugin-react-hooks @studenfy/eslint-config
Usage
- For
javascript
:
// .eslintrc.js
module.exports = {
extends: [ '@studenfy' ],
};
- For
typescript
:
// .eslintrc.js
module.exports = {
extends: [ '@studenfy/eslint-config/typescript' ],
};