diff --git a/.vscode/settings.json b/.vscode/settings.json index 8936b8950..46abc2686 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -6,7 +6,7 @@ "flow.enabled": false, "javascript.validate.enable": false, "prettier.eslintIntegration": true, - "prettier.printWidth": 120, + "prettier.printWidth": 80, "prettier.tabWidth": 4, "prettier.singleQuote": true } diff --git a/package.json b/package.json index 7778044d8..eec4a29f6 100644 --- a/package.json +++ b/package.json @@ -107,7 +107,7 @@ "lint": "NODE_ENV=dev ./node_modules/.bin/eslint src/lib && ./node_modules/.bin/stylelint 'src/lib/**/*.scss'", "precommit": "lint-staged", "prepush": "yarn run lint", - "prettier": "prettier-eslint \"src/lib/**/*.js\" --print-width 120 --single-quote --tab-width 4 --write", + "prettier": "prettier-eslint \"src/lib/**/*.js\" --single-quote --tab-width 4 --write", "prod": "BABEL_ENV=production NODE_ENV=production node --max_old_space_size=4096 ./node_modules/webpack/bin/webpack.js --progress --colors --config build/webpack.config.js", "release": "yarn run clean && yarn run build-rb && yarn run lint && yarn run test && yarn run prod", "test": "NODE_ENV=test ./node_modules/.bin/karma start build/karma.conf.js", @@ -119,7 +119,7 @@ }, "lint-staged": { "src/lib/**/*.js": [ - "prettier-eslint --print-width 120 --single-quote --tab-width 4 --write", + "prettier-eslint --single-quote --tab-width 4 --write", "git add" ] }