diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000000000..36301bc5cff6c --- /dev/null +++ b/.prettierrc @@ -0,0 +1,5 @@ +{ + "semi": false, + "singleQuote": true, + "trailingComma": "es5" +} diff --git a/package.json b/package.json index b20a622f8b94d..a5cacd5ef3cab 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "scripts": { "build": "gatsby build", "develop": "gatsby develop", - "format": "prettier --trailing-comma es5 --no-semi --single-quote --write \"src/**/*.js\"", + "format": "prettier --write \"src/**/*.js\"", "test": "echo \"Error: no test specified\" && exit 1" }, "devDependencies": {