@abusix/eslint-config-base

1.0.2 • Public • Published

@abusix/eslint-config-base

This package contains the base eslint configuration for typescript projects.

Installation

npm add -D @abusix/eslint-config-base

Usage

Add the following to your .eslintrc.js:

module.exports = {
  extends: ['@abusix/eslint-config-base'],
};

Problems with Custom Import Paths?

If you have problems with custom import paths, you can add the following to your .eslintrc.js to the project where you want to use this eslint config:

{
    // ...
    settings: {
        "import/resolver": {
            typescript: {}
        }
    },
    // ...
}

Also make sure to install the following package to add typescript import resolver support:

npm add -D eslint-import-resolver-typescript

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @abusix/eslint-config-base

      Weekly Downloads

      2

      Version

      1.0.2

      License

      ISC

      Unpacked Size

      2.63 kB

      Total Files

      4

      Last publish

      Collaborators

      • abusix-main
      • coderwelsch
      • a-rodelta
      • a2x_at_abusix
      • fabianskii
      • thomasdissertabusix