Skip to content
Permalink
Browse files

fix: avoid changing basic StandardJS rules (#25)

  • Loading branch information...
kulikala authored and Sébastien Chopin committed Feb 1, 2019
1 parent ce767c8 commit 38e35829431d38316bed300333e113af65ea3bc2
Showing with 1 addition and 5 deletions.
  1. +0 −4 index.js
  2. +1 −1 tests/basic.test.js
@@ -64,10 +64,6 @@ module.exports = {
'no-var': 2,

// Do not allow console.logs etc...
'space-before-function-paren': [2, {
anonymous: 'always',
named: 'never'
}],
'vue/no-parsing-error': [2, {
'x-invalid-end-tag': false
}],
@@ -5,6 +5,6 @@ test('test basic properties of config', () => {
expect(isObject(config.rules)).toBe(true)
})

function isObject(obj) {
function isObject (obj) {
return typeof obj === 'object' && obj !== null
}

0 comments on commit 38e3582

Please sign in to comment.
You can’t perform that action at this time.