Skip to content

Commit

Permalink
fix: linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Jul 31, 2019
1 parent a8e5c0e commit f7f985b
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 9 deletions.
7 changes: 2 additions & 5 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const umd = ({ compress } = {}) => ({
}),
replace({
'process.env.NODE_ENV': JSON.stringify('production'),
'__VERSION__': require('./package.json').version
__VERSION__: require('./package.json').version
}),
resolve(),
commonjs(),
Expand All @@ -34,7 +34,4 @@ const umd = ({ compress } = {}) => ({
]
})

export default [
umd(),
umd({ compress: true })
]
export default [umd(), umd({ compress: true })]
2 changes: 1 addition & 1 deletion test/error.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import test from 'ava'
import mqlBrowser from '../src/browser'
import mqlNode from '../src/node'
;[
;[
{ constructor: mqlNode, target: 'node' },
{ constructor: mqlBrowser, target: 'browser' }
].forEach(({ constructor: mql, target }) => {
Expand Down
2 changes: 1 addition & 1 deletion test/headers.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import test from 'ava'
import mqlBrowser from '../src/browser'
import mqlNode from '../src/node'
;[
;[
{ constructor: mqlNode, target: 'node' },
{ constructor: mqlBrowser, target: 'browser' }
].forEach(({ constructor: mql, target }) => {
Expand Down
2 changes: 1 addition & 1 deletion test/opts.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import test from 'ava'

import mqlBrowser from '../src/browser'
import mqlNode from '../src/node'
;[
;[
{ constructor: mqlNode, target: 'node' },
{ constructor: mqlBrowser, target: 'browser' }
].forEach(({ constructor: mql, target }) => {
Expand Down
2 changes: 1 addition & 1 deletion test/rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import test from 'ava'

import mqlBrowser from '../src/browser'
import mqlNode from '../src/node'
;[
;[
{ constructor: mqlNode, target: 'node' },
{ constructor: mqlBrowser, target: 'browser' }
].forEach(({ constructor: mql, target }) => {
Expand Down

0 comments on commit f7f985b

Please sign in to comment.