diff --git a/__tests__/applyAtRule.test.js b/__tests__/applyAtRule.test.js index 84ba1cf76..b84c4588b 100644 --- a/__tests__/applyAtRule.test.js +++ b/__tests__/applyAtRule.test.js @@ -205,12 +205,10 @@ test('you can apply utility classes without using the given prefix', () => { prefix: 'tw-', } - return run(input, config, processPlugins(corePlugins(config), config).utilities).then( - result => { - expect(result.css).toEqual(expected) - expect(result.warnings().length).toBe(0) - } - ) + return run(input, config, processPlugins(corePlugins(config), config).utilities).then(result => { + expect(result.css).toEqual(expected) + expect(result.warnings().length).toBe(0) + }) }) test('you can apply utility classes without using the given prefix when using a function for the prefix', () => { @@ -229,10 +227,8 @@ test('you can apply utility classes without using the given prefix when using a }, } - return run(input, config, processPlugins(corePlugins(config), config).utilities).then( - result => { - expect(result.css).toEqual(expected) - expect(result.warnings().length).toBe(0) - } - ) + return run(input, config, processPlugins(corePlugins(config), config).utilities).then(result => { + expect(result.css).toEqual(expected) + expect(result.warnings().length).toBe(0) + }) }) diff --git a/src/corePlugins.js b/src/corePlugins.js index 4d1f61249..777ba80cf 100644 --- a/src/corePlugins.js +++ b/src/corePlugins.js @@ -52,10 +52,12 @@ import zIndex from './plugins/zIndex' function loadPlugins({ theme, variants, corePlugins }, plugins) { return Object.keys(plugins) .filter(plugin => corePlugins[plugin] !== false) - .map(plugin => plugins[plugin]({ - values: theme[plugin], - variants: variants[plugin], - })) + .map(plugin => + plugins[plugin]({ + values: theme[plugin], + variants: variants[plugin], + }) + ) } export default function(config) { diff --git a/src/lib/substituteResponsiveAtRules.js b/src/lib/substituteResponsiveAtRules.js index 6e18e5276..6d6b8163a 100644 --- a/src/lib/substituteResponsiveAtRules.js +++ b/src/lib/substituteResponsiveAtRules.js @@ -6,7 +6,10 @@ import buildSelectorVariant from '../util/buildSelectorVariant' export default function(config) { return function(css) { - const { theme: { screens }, separator } = config + const { + theme: { screens }, + separator, + } = config const responsiveRules = [] const finalRules = []