Skip to content

Commit

Permalink
update formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin Frischmann committed May 7, 2018
1 parent c2c6ea4 commit 6159d51
Show file tree
Hide file tree
Showing 6 changed files with 191 additions and 108 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Expand Up @@ -14,7 +14,7 @@
"object-property-newline": [ 2, {
"allowMultiplePropertiesPerLine": false
}],
"comma-dangle": [ 2, "never" ],
"comma-dangle": [ 0 ],
"react/jsx-filename-extension": [2, {
"extensions": [".js", ".jsx"]
}],
Expand Down
1 change: 1 addition & 0 deletions .flowconfig
Expand Up @@ -6,6 +6,7 @@
.*/node_modules/npm/*.*
.*/node_modules/config-chain/*.*
.*/node_modules/lunr/*.*
.*/node_modules/chalk/*.*

[version]
^0.38.0
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -20,7 +20,7 @@
"dist": "cross-env NODE_ENV=production babel-node buildPackage && cross-env NODE_ENV=development babel-node buildPackage",
"docs": "gitbook install && gitbook build && gh-pages -d _book",
"flow": "flow",
"format": "prettier --write \"./modules/**/*.js\"",
"format": "prettier --write \"./modules/**/*.js\" && prettier --write \"./test/**/*.js\"",
"generate": "babel-node generateDefaultData",
"lint": "eslint .",
"release": "npm run build && npm publish && npm run docs",
Expand Down Expand Up @@ -63,7 +63,7 @@
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^3.0.2",
"eslint-plugin-react": "^6.9.0",
"flow-bin": "^0.38.0",
"flow-bin": "0.38.0",
"gh-pages": "^0.12.0",
"gitbook": "^3.2.2",
"gitbook-cli": "^2.3.0",
Expand Down
6 changes: 3 additions & 3 deletions test/_setup/test-setup.js
Expand Up @@ -19,19 +19,19 @@ const browserList = {
opera: 0,
op_mini: 0,
and_uc: 0,
and_chr: 0
and_chr: 0,
}

const data = generateData(browserList)

const prefixAll = createStaticPrefixer({
prefixMap: data.static,
plugins: staticPlugins
plugins: staticPlugins,
})
const Prefixer = createDynamicPrefixer(
{
prefixMap: data.dynamic,
plugins: dynamicPlugins
plugins: dynamicPlugins,
},
prefixAll
)
Expand Down

0 comments on commit 6159d51

Please sign in to comment.