Skip to content

Commit

Permalink
chore(prettier): Add bracketSpacing option explicitly on package.json
Browse files Browse the repository at this point in the history
So that Atom knows how to handle bracket spacing
  • Loading branch information
lzcabrera committed Nov 6, 2017
1 parent 62f4edb commit 6309faf
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
14 changes: 5 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,7 @@
"license": "ISC",
"main": "dist/tds.cjs.js",
"module": "dist/tds.es.js",
"files": [
"dist",
"src",
"CHANGELOG.md",
"CONTRIBUTING.md",
"UPGRADING.md"
],
"files": ["dist", "src", "CHANGELOG.md", "CONTRIBUTING.md", "UPGRADING.md"],
"scripts": {
"build:css": "postcss --use cssnano --replace dist/tds.css",
"build:js": "rollup -c config/rollup.config.js",
Expand All @@ -21,7 +15,8 @@
"deploy:docs": "node ./scripts/deploy-docs.js",
"deploy:package": "scripts/publish.sh",
"dev": "styleguidist server --config config/styleguide.config.js",
"lint:js": "eslint src config docs scripts --ext '.js,.jsx' --config config/.eslintrc.json --fix",
"lint:js":
"eslint src config docs scripts --ext '.js,.jsx' --config config/.eslintrc.json --fix",
"lint:scss": "stylelint 'src/components/**/*.scss' --config config/.stylelintrc.json",
"lint:ec": "echint",
"lint": "yarn lint:js && yarn lint:scss && yarn lint:ec",
Expand Down Expand Up @@ -119,7 +114,8 @@
"printWidth": 100,
"semi": false,
"singleQuote": true,
"trailingComma": "es5"
"trailingComma": "es5",
"bracketSpacing": true
},
"echint": {
"ignore": [
Expand Down
3 changes: 3 additions & 0 deletions src/components/Box/Box.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```
<Box/>
```

0 comments on commit 6309faf

Please sign in to comment.