1.1.0 • Published 6 years ago

eslint-config-zhihu v1.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

eslint-config-zhihu

ESLint shareable config for the Zhihu.

Rules

  • eslint:recommended
  • plugin:react/recommended
  • plugin:import/recommended

Install

npm install --save-dev eslint eslint-config-zhihu eslint-plugin-import
# with react
npm install --save-dev eslint-plugin-react

Usage

Add some ESLint config to your package.json:

{
  "scripts": {
    "eslint": "eslint ."
  },
  "eslintConfig": {
    "extends": "zhihu"
    // with react
    // "extends": ["zhihu", "zhihu/react"]
  }
}
1.1.0

6 years ago

1.0.1

7 years ago

0.2.3

8 years ago

0.2.2

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago