Skip to content

Commit 6c978f5

Browse files
chore(lint): add 'linebreak-style' rule to avoid multiple formats (unix/windows).
1 parent 5033431 commit 6c978f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

eslint.config.mjs

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default [
1515
"comma-dangle": 'off',
1616
"no-use-before-define": 'off',
1717
"class-methods-use-this": 'off',
18-
//"linebreak-style": ["error", "unix"],
18+
"linebreak-style": ["error", "unix"],
1919
"arrow-parens": 'off',
2020
"max-len": ["error", { "code": 140, "tabWidth": 4, "comments": 100, "ignoreUrls": true }],
2121
"indent": ["error", 2, { "SwitchCase": 1 }],
@@ -77,7 +77,7 @@ export default [
7777
"semi-spacing": "error",
7878
"semi-style": ["error", "last"],
7979
"space-before-blocks": ["error", "always"],
80-
//"space-before-function-paren": ["error", "never"],
80+
"space-before-function-paren": ["error", "never"],
8181
"space-in-parens": ["error", "never"]
8282
}
8383
},

0 commit comments

Comments
 (0)