Skip to content

Commit

Permalink
Add Prettier support
Browse files Browse the repository at this point in the history
  • Loading branch information
heimdallrj committed Oct 26, 2017
1 parent 4f9db4c commit 6041eab
Show file tree
Hide file tree
Showing 19 changed files with 871 additions and 399 deletions.
10 changes: 9 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"es6": true,
"node": true
},
"extends": "airbnb",
"extends": ["airbnb", "prettier"],
"parser": "babel-eslint",
"rules": {
// code arrangement matter
Expand All @@ -23,5 +23,13 @@
"max-len": [2, 100, 4],

"import/prefer-default-export": 0
},
{
"plugins": [
"prettier"
],
"rules": {
"prettier/prettier": "error"
}
}
}
4 changes: 2 additions & 2 deletions bin/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env node

require('../lib/cli');
require('../lib/updateNotifier');
require("../lib/cli");
require("../lib/updateNotifier");
Loading

0 comments on commit 6041eab

Please sign in to comment.