Last active
September 12, 2016 16:24
-
-
Save phucpnt/96220977a276a404e8a38ca9050973e2 to your computer and use it in GitHub Desktop.
Es6 (babel) boilerplate with eslint airbnb base
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"presets": [ | |
"es2015", | |
"react" | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"extends": "airbnb-base", | |
"env": { | |
"mocha": true | |
}, | |
"rules": { | |
"indent": ["error", 2], | |
"max-len": ["error", 120, 2, {"ignoreUrls": true}] | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.idea | |
node_modules | |
dist | |
npm-debug.log | |
.vagrant |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "your-awesome-proj", | |
"version": "0.0.1", | |
"description": "your awesome description", | |
"main": "index.js", | |
"scripts": { | |
"build": "rimraf lib/* && npm ", | |
"build:admin": "babel src --out-dir lib/ --ignore __test__", | |
}, | |
"author": "Phuc PNT. <[email protected]>", | |
"license": "BSD-2", | |
"devDependencies": { | |
"babel-cli": "^6.11.4", | |
"babel-preset-es2015": "^6.13.2", | |
"eslint": "^3.2.2", | |
"eslint-config-airbnb-base": "^4.0.0", | |
"eslint-plugin-import": "^1.10.2", | |
}, | |
"dependencies": { | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment