Unverified Commit b59b43fa by Nicolás Venturo Committed by GitHub

Enforce linebreak style (#1213)

* Now forcing Unix linebreak style.

* Added linebreak style for Solidity files.
parent 4dcdd293
...@@ -32,6 +32,7 @@ ...@@ -32,6 +32,7 @@
"eqeqeq": ["error", "smart"], "eqeqeq": ["error", "smart"],
"generator-star-spacing": ["error", "before"], "generator-star-spacing": ["error", "before"],
"indent": ["error", 2], "indent": ["error", 2],
"linebreak-style": ["error", "unix"],
"max-len": ["error", 120, 2], "max-len": ["error", 120, 2],
"no-debugger": "off", "no-debugger": "off",
"no-dupe-args": "error", "no-dupe-args": "error",
......
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
"rules": { "rules": {
"error-reason": "off", "error-reason": "off",
"indentation": ["error", 2], "indentation": ["error", 2],
"linebreak-style": ["error", "unix"],
"max-len": ["error", 79], "max-len": ["error", 79],
"no-constant": ["error"], "no-constant": ["error"],
"no-empty-blocks": "off", "no-empty-blocks": "off",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment