1.3.5 • Published 3 years ago

eslint-config-zmi v1.3.5

Weekly downloads
208
License
MIT
Repository
github
Last release
3 years ago

eslint-config-zmi

Installation

Install eslint-config-zmi via yarn or npm.

$ yarn add eslint-config-zmi -D

Vue project

$ yarn add eslint-plugin-vue -D

React project

$ yarn add eslint-plugin-react eslint-plugin-react-hooks -D

Typescript need additional installation

$ yarn add @typescript-eslint/eslint-plugin @typescript-eslint/parser -D
module.exports = {
  root: true,
  extends: ['zmi/base'],
  extends: ['zmi/typescript'],
  extends: ['zmi/vue'],
  extends: ['zmi/react']
  // choose one
  // typescript extends base
}

// typescript extends base  For example, the ts-react project 'extends': ['zmi/react'],
// when initializing, ts/js are set automatically so there is no need to inherit typescript
1.3.5

3 years ago

1.3.4

3 years ago

1.3.3

3 years ago

1.3.2

3 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.4

3 years ago

1.2.0

3 years ago

1.1.9

3 years ago

1.1.8

3 years ago

1.1.7

3 years ago

1.1.6

3 years ago

1.1.5

3 years ago

1.2.3

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.1.1

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.0

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.2

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago