2.0.1 • Published 9 months ago

@hexatool/eslint-config-typescript v2.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

Installation

npm install --save-dev eslint @hexatool/eslint-config-typescript

Using yarn

yarn add eslint @hexatool/eslint-config-typescript -dev

What it does

How to use

  1. Add it to your .eslintrc.js file

    {
      extends: [ "@hexatool/eslint-config-typescript" ]
    }
  2. Run eslint

     eslint .

    Or adding to your package.json

    "scripts": {
        "lint": "eslint .",
        "lint:fix": "eslint --fix ."
    }

ℹ️ Please note that some rules enabled by default require that you have strict: true in your tsconfig.json.

Hexatool Code Quality Standards

Publishing this package we are committing ourselves to the following code quality standards:

  • Respect Semantic Versioning: No breaking changes in patch or minor versions
  • No surprises in transitive dependencies: Use the bare minimum dependencies needed to meet the purpose
  • One specific purpose to meet without having to carry a bunch of unnecessary other utilities
  • Tests as documentation and usage examples
  • Well documented ReadMe showing how to install and use
  • License favoring Open Source and collaboration