0.1.1 • Published 4 years ago

eslint-config-totd v0.1.1

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

Eslint-config-TOTD

Repository containing the tools for code formatting and code quality agreed within the TOTD team.

It includes:

  • ESLint configuration file for apps written in JavaScript that use either React or Next
  • Prettier configuration file that voids the conflicting ESLint rules

How to

To make use of the ESLint configuration we should just extend it from our own eslintrc.json file as follows:

{
  "extends": [
    "eslint-config-totd"
  ],
  "rules": {
    // ... Re-declare any specific rules for the project
  }
}

// TODO: Add husky pre-commit