No Partying Mariachis

    eslint-config-standard-typescript

    1.0.3 • Public • Published

    eslint-config-standard-typescript

    Install

    yarn add eslint eslint-config-standard-typescript -D

    or

    npm i -D eslint eslint-config-standard-typescript

    Use

    Add this code to your .eslintrc.js

    module.exports = {
      extends: [
        'standard-typescript'
      ],
      parserOptions: {
        project: './tsconfig.json'
      },
      // Extend your configuration: https://github.com/typescript-eslint/typescript-eslint
      rules: {
        '@typescript-eslint/semi': 1
      }
    }
     

    package.json

    {
      ...
      "scripts": {
        "lint": "eslint --ext .ts,tsx ./src --fix"
      }
    }

    Keywords

    none

    Install

    npm i eslint-config-standard-typescript

    DownloadsWeekly Downloads

    102

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    2.52 kB

    Total Files

    3

    Last publish

    Collaborators

    • haozime