@cowcoders/eslint-config
ESLint rules for CowCoders 🐄
Installation
To install this package only need to execute in your project
npm install --save-dev @cowcoders/eslint-config
Or if you prefer yarn...
yarn add -D @cowcoders/eslint-config
Usage
To usage this eslint configuration you only need to add it in your eslintrc file like this:
module.exports = {
extends: '@cowcoders/eslint-config'
}
This repo has a few more configurations if you want used it, you only need to change the extends configuration:
Typescript
ESLint config for TS projects:
module.exports = {
extends: '@cowcoders/eslint-config/ts'
}
React
ESLint config for React projects:
module.exports = {
extends: '@cowcoders/eslint-config/react'
}
React-Native
ESLint config for React-Native projects:
module.exports = {
extends: '@cowcoders/eslint-config/react-native'
}
Vue
ESLint config for VueJS projects:
module.exports = {
extends: '@cowcoders/eslint-config/vue'
}
LICENSE
MIT