@sanv/eslint-config-unicorn-typescript

2.0.3 • Public • Published

Eslint Unicorn Configuration with Typescript Support

npm version

  1. Install the correct version of package, which are listed by the command:
npm install "@sanv/eslint-config-unicorn-typescript" --save-dev
  1. Add next line to your .eslintrc.js:
module.exports = {
  parser: '@typescript-eslint/parser',
  plugins: ['prettier', '@typescript-eslint'],
  parserOptions: {
    project: './tsconfig.json',
    sourceType: 'module',
  },
  extends: [
    '@sanv/eslint-config-unicorn-typescript',
    'plugin:prettier/recommended',
    'prettier/@typescript-eslint',
  ],
}

/@sanv/eslint-config-unicorn-typescript/

    Package Sidebar

    Install

    npm i @sanv/eslint-config-unicorn-typescript

    Weekly Downloads

    3

    Version

    2.0.3

    License

    ISC

    Unpacked Size

    3.73 kB

    Total Files

    9

    Last publish

    Collaborators

    • sv92