1.0.13 • Published 2 years ago

@hjtech/eslint-config v1.0.13

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
2 years ago

@hjtech/eslint-config

Add extend into .eslintrc for active the features.

// .eslintrc.js

module.exports = {
  // ...
  extends: [
    '@hjtech/eslint-config/common',
    '@hjtech/eslint-config/babel',
    '@hjtech/eslint-config/file-progress'
  ],
  // ...
}

@hjtech/eslint-config/common

Common js rules, must use this as base.

@hjtech/eslint-config/babel

@hjtech/eslint-config/file-progress

Show the file progress when linting.

@hjtech/eslint-config/import

Plugin of eslint-plugin-import can order & lint your import

@hjtech/eslint-config/ts

Rules of typescript. extends with

'plugin:@typescript-eslint/eslint-recommended'
'plugin:@typescript-eslint/recommended'

@hjtech/eslint/vue

Rules of vue, extends with

'plugin:vue/recommended'