Skip to content

Commit 9342e88

Browse files
committed
Merge branch 'develop'
2 parents 5bb89c1 + a71d5ca commit 9342e88

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

example.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,3 +108,12 @@ try {
108108
function f(a) {}
109109
f()
110110
}
111+
112+
// semi-style
113+
{
114+
function f(a) {}
115+
let a = 0
116+
const b = { a: 1 }
117+
;({ a } = b)
118+
f(a)
119+
}

index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,5 +101,8 @@ module.exports = {
101101

102102
// Prefer simpler syntax
103103
semi: ['error', 'never'],
104+
105+
// We disallowed semicolons
106+
'semi-style': ['error', 'first'],
104107
},
105108
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@takram/eslint-config-planck",
3-
"version": "0.3.0",
3+
"version": "0.3.1",
44
"description": "ESLint config based on Airbnb’s for Planck framework and the related codes",
55
"repository": "takram-design-engineering/eslint-config-planck",
66
"main": "index.js",

0 commit comments

Comments
 (0)