0.0.2 • Published 4 years ago

@biletiniz/eslint-config v0.0.2

Weekly downloads
-
License
-
Repository
github
Last release
4 years ago

What is this?

Eslint Config for Biletiniz.

Installation

npm i @biletiniz/eslint-config --save

Usage

Create .eslintrc.js file that consist of this code

module.exports = {
  root: true,

  extends: '@biletiniz/eslint-config',

  rules: {
    'no-unused-vars': ['error', { varsIgnorePattern: 'React' }]
  }
};

Testing

To test linting on your project:

  • On the command line for root, write this command:
yarn lint
  • Solve the errors and test again.