@cowcoders/eslint-config

2.0.0 • Public • Published

@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'
}

Extra configs

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

Readme

Keywords

none

Package Sidebar

Install

npm i @cowcoders/eslint-config

Weekly Downloads

157

Version

2.0.0

License

ISC

Unpacked Size

14.3 kB

Total Files

21

Last publish

Collaborators

  • raulanatol