Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/join-media.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"use strict"

module.exports = function(parentMedia, childMedia) {
module.exports = function (parentMedia, childMedia) {
if (!parentMedia.length && childMedia.length) return childMedia
if (parentMedia.length && !childMedia.length) return parentMedia
if (!parentMedia.length && !childMedia.length) return []
Expand Down
2 changes: 1 addition & 1 deletion lib/parse-statements.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function split(params, start) {
return list
}

module.exports = function(result, styles) {
module.exports = function (result, styles) {
const statements = []
let nodes = []

Expand Down
2 changes: 1 addition & 1 deletion lib/resolve-id.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function resolveModule(id, opts) {
})
}

module.exports = function(id, base, options) {
module.exports = function (id, base, options) {
const paths = options.path

const resolveOpts = {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"eslint-plugin-prettier": "^3.0.0",
"postcss": "^8.0.0",
"postcss-scss": "^2.0.0",
"prettier": "~1.19.1",
"prettier": "~2.1.0",
"sugarss": "^2.0.0"
},
"peerDependencies": {
Expand All @@ -55,7 +55,7 @@
"error",
{
"semi": false,
"trailingComma": "es5"
"arrowParens": "avoid"
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion test/helpers/check-fixture.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function read(name, ext) {
return fs.readFileSync(`test/fixtures/${name}${ext}`, "utf8")
}

module.exports = function(t, file, opts, postcssOpts, warnings) {
module.exports = function (t, file, opts, postcssOpts, warnings) {
opts = Object.assign({ path: "test/fixtures/imports" }, opts)
postcssOpts = Object.assign({ from: undefined }, postcssOpts)
if (typeof file === "string") file = { name: file, ext: ".css" }
Expand Down