Skip to content

Commit

Permalink
Chore: Setup Prettier (stipsan#333)
Browse files Browse the repository at this point in the history
* prepare prettier

* make eslint and prettier play nice

* enable lint-staged

* fix

* add a note

* single quotes please

* prettier compat table

* Chore: Update feature compat table

* pretty

* Chore: Update feature compat table

* Update command.js

* prettier tests

* Chore: Update feature compat table

* tweaks

* Chore: Update feature compat table

* switch to carbon

* Chore: Update feature compat table
  • Loading branch information
stipsan authored Nov 13, 2017
1 parent 3f8345e commit 60f1019
Show file tree
Hide file tree
Showing 116 changed files with 1,514 additions and 708 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 2
jobs:
build:
docker:
- image: circleci/node:latest
- image: circleci/node:carbon
# To support coverage reports from forks
environment:
CODECLIMATE_REPO_TOKEN: 688d3234f9bb133fe6efa4dfe74f7a7510f2d9c1dca419875de8257a5f02da45
Expand Down
6 changes: 3 additions & 3 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"env": {
"node": "true"
},
"extends": "airbnb-base",
"extends": ["airbnb-base", "prettier"],
"parser": "babel-eslint",
"rules": {
"import/prefer-default-export": "off",
Expand All @@ -13,7 +13,7 @@
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "never",
}],
"functions": "never"
}]
}
}
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package.json
2 changes: 2 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
singleQuote: true
trailingComma: es5
8 changes: 4 additions & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"files.exclude": {
"lib": true
}
}
"files.exclude": {
"lib": true
}
}
Loading

0 comments on commit 60f1019

Please sign in to comment.