@etherfe/eslint-plugin

0.1.4 • Public • Published

eslint config extends

javascript

  • plugin:@etherfe/base
    • eslint:recommended

typescript

  • plugin:@etherfe/typescript
    • plugin:@etherfe/base
      • eslint:recommended

vue

  • plugin:@etherfe/vue
    • plugin:@etherfe/base
      • eslint:recommended

vue + typescript

  • plugin:@etherfe/vue-typescript
    • plugin:@etherfe/typescript
      • plugin:@etherfe/base
        • eslint:recommended

react

  • plugin:@etherfe/react
    • plugin:@etherfe/base
      • eslint:recommended

react + typescript

  • plugin:@etherfe/react-typescript
    • plugin:@etherfe/typescript
      • plugin:@etherfe/base
        • eslint:recommended

example:

js 

  extends: [
    'plugin:@etherfe/base'
  ]
ts 

  extends: [
    'plugin:@etherfe/typescript'
  ]

prettier

  • plugin:@etherfe/prettier
    • prettier
    • plugin:prettier/recommended

vue-prettier

  • plugin:@etherfe/prettier
    • prettier
    • prettier/vue
    • plugin:prettier/recommended

prettier example:

js + prettier 

  extends: [
    'plugin:@etherfe/base'
    'plugin:@etherfe/prettier'
  ]
ts + prettier

  extends: [
    'plugin:@etherfe/typescript'
    'plugin:@etherfe/prettier'
  ]
vue + prettier

  extends: [
    'plugin:@etherfe/vue'
    'plugin:@etherfe/vue-prettier'
  ]
vue + ts + prettier

  extends: [
    'plugin:@etherfe/vue-typescript'
    'plugin:@etherfe/vue-prettier'
  ]

Readme

Keywords

none

Package Sidebar

Install

npm i @etherfe/eslint-plugin

Weekly Downloads

10

Version

0.1.4

License

MIT

Unpacked Size

12 kB

Total Files

18

Last publish

Collaborators

  • nolonger21