Nostradamus Predicting Maelstroms
Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

eslint-config-alchemy

0.1.13 • Public • Published

eslint-config-alchemy

npm MIT License

前端编码规范

  • 错误规避
  • ES6
  • Node.js & Common
  • 最佳实践
  • 严格模式
  • 代码风格
  • 变量声明
  • React 规则
  • import
  • JSX

使用

package.json 中添加依赖:

"eslint": "^4.2.0",
"eslint-config-alchemy": "latest",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-react": "^7.1.0",

设置配置文件,例如.eslintrc.yml:

env:
  node: true
  browser: true
extends: alchemy

install

npm i eslint-config-alchemy

Downloadsweekly downloads

48

version

0.1.13

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability