@hz-9/eslint-config-airbnb-ts

0.5.10 • Public • Published

@hz-9/eslint-config-airbnb-ts

A eslint config for for 'hz-9' (TypeScript).

NPM Version NPM License NPM Downloads
Node Version Last Commit

Document | 文档

Installation

To install the @hz-9/eslint-config-airbnb-ts package, run the following command:

npm install @hz-9/eslint-config-airbnb-ts --save-dev

Usage

To use this configuration, add the following code to your .eslintrc.js file:

module.exports = {
  extends: [
    '@hz-9/eslint-config-airbnb-ts/node'
  ],
  parserOptions: {
    tsconfigRootDir: __dirname,
  },
}

After that, you can run the ESLint fix command to automatically fix linting issues:

eslint --fix .

Readme

Keywords

Package Sidebar

Install

npm i @hz-9/eslint-config-airbnb-ts

Weekly Downloads

13

Version

0.5.10

License

MIT

Unpacked Size

12.3 kB

Total Files

15

Last publish

Collaborators

  • heavenzhen999