Skip to content

Instantly share code, notes, and snippets.



Last active Nov 30, 2017
What would you like to do?
eslint rules based airbnb javascript style guide
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true
"extends": [
"airbnb" // 以社区广泛使用的 airbnb 风格指南作为基础
"plugins": [
"globals": { // 定义全局属性
"__DEV__": true,
"__dirname": true,
"global": true,
"process": true,
"window": true
"rules": { // 需要的规则在这里添加
"semi": "off"

This comment has been minimized.

Copy link
Owner Author

@Jerry-Lau Jerry-Lau commented Nov 30, 2017


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.