@flitz/dev-config

1.0.4 • Public • Published

npm

@flitz/dev-config

Shared ESLint and tsconfig.json files for flitz.

meme

Install

Run

npm install --save-dev eslint @flitz/dev-config

from the folder, where your package.json is stored.

Usage

ESLint

Once the @flitz/dev-config package is installed, you can use it by specifying @flitz/dev-config in the extends section of your ESLint configuration.

Create a .eslintrc.js file in the root folder of your project and use the following skeleton:

module.exports = {
  "extends": "@flitz/dev-config",
  "rules": {
    // Additional, per-project rules...
  }
}

As optional feature, you can add script entry, called lint e.g., to your package.json:

{
    "scripts": {
        "lint": "eslint -c .eslintrc.js --ext .ts <mySrcFolder>"
    }
}

tsconfig.json

{
  "extends": "@flitz/dev-config",
  "compilerOptions": {
  }
}

You can overwrite any compiler options.

License

MIT © Marcel Kloubert

Dependencies (10)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @flitz/dev-config

    Weekly Downloads

    6

    Version

    1.0.4

    License

    MIT

    Unpacked Size

    5.11 kB

    Total Files

    6

    Last publish

    Collaborators

    • mkloubert
    • mkloubertego