@studenfy/eslint-config
v0.1.1
Published
ESLint config for studenfy projects
Downloads
7
Readme
@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-configUsage
- For
javascript:
// .eslintrc.js
module.exports = {
extends: [ '@studenfy' ],
};- For
typescript:
// .eslintrc.js
module.exports = {
extends: [ '@studenfy/eslint-config/typescript' ],
};