style: update code style to please lint
Showing
... | ... | @@ -91,7 +91,7 @@ |
"eslint-plugin-babel": "^3.0.0", | ||
"eslint-plugin-markdown": "*", | ||
"eslint-plugin-react": "^4.0.0", | ||
"eslint-tinker": "~0.2.0", | ||
"eslint-tinker": "^0.3.1", | ||
"extract-text-webpack-plugin": "^1.0.1", | ||
"gh-pages": "^0.9.0", | ||
"history": "^1.17.0", | ||
... | ... | @@ -130,7 +130,7 @@ |
"just-deploy": "npm run site && node scripts/deploy.js", | ||
"lint": "npm run srclint && npm run mdlint && npm run lesshint", | ||
"srclint": "eslint components test index.js --ext '.js,.jsx'", | ||
"mdlint": "eslint components/*/demo/*.md --ext '.md' --global 'React,ReactDOM,mountNode' --rule 'no-console: 0,eol-last: 0'", | ||
"mdlint": "eslint components/*/demo/*.md --ext '.md' --global 'React,ReactDOM,mountNode' --rule 'no-console: 0, eol-last: 0, prefer-rest-params: 0'", | ||
"lesshint": "lesshint style/ -e 'style/+(core|mixins)/+(base|iconfont|normalize|layouts|compatibility|grid).less'", | ||
"eslint-fix": "eslint --fix components test index.js --ext '.js,.jsx' && eslint-tinker ./components/*/demo/*.md", | ||
"test": "npm run lint && webpack && npm run jest", | ||
... | ... |
想要评论请 注册 或 登录