Switch eslint defaults from semistandard to prettier

This commit is contained in:
2017-08-20 19:27:12 +01:00
parent de042438ac
commit a22baa8497
2 changed files with 8 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
module.exports = { module.exports = {
'extends': 'semistandard' extends: ["prettier"],
plugins: ["prettier"],
rules: {
"prettier/prettier": "error"
}
}; };

View File

@@ -19,6 +19,8 @@ install_node_global_packages () {
eslint-plugin-promise \ eslint-plugin-promise \
eslint-plugin-react \ eslint-plugin-react \
eslint-plugin-standard \ eslint-plugin-standard \
eslint-config-prettier \
eslint-plugin-prettier \
eslint_d \ eslint_d \
htmllint-cli \ htmllint-cli \
httpsnippet \ httpsnippet \
@@ -31,6 +33,7 @@ install_node_global_packages () {
standard \ standard \
standard-format \ standard-format \
stylefmt \ stylefmt \
prettier \
tslint \ tslint \
typescript \ typescript \
typescript-formatter \ typescript-formatter \