Skip to content

Commit ad66736

Browse files
committed
chore: disallow newlines in import/exports
1 parent 207a1a2 commit ad66736

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

eslint.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,11 @@ export default antfu().append({
66
'antfu/no-top-level-await': 'off',
77
'no-console': 'off',
88
},
9+
}, {
10+
rules: {
11+
'@stylistic/object-curly-newline': ['error', {
12+
ImportDeclaration: 'never',
13+
ExportDeclaration: 'never',
14+
}],
15+
},
916
})

0 commit comments

Comments
 (0)