Skip to content

Commit 38e3582

Browse files
kulikalaSébastien Chopin
authored andcommitted
fix: avoid changing basic StandardJS rules (#25)
1 parent ce767c8 commit 38e3582

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

index.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,6 @@ module.exports = {
6464
'no-var': 2,
6565

6666
// Do not allow console.logs etc...
67-
'space-before-function-paren': [2, {
68-
anonymous: 'always',
69-
named: 'never'
70-
}],
7167
'vue/no-parsing-error': [2, {
7268
'x-invalid-end-tag': false
7369
}],

tests/basic.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ test('test basic properties of config', () => {
55
expect(isObject(config.rules)).toBe(true)
66
})
77

8-
function isObject(obj) {
8+
function isObject (obj) {
99
return typeof obj === 'object' && obj !== null
1010
}

0 commit comments

Comments
 (0)