Browse Source

fix(eslint): allow windows to work with \r\n locally

pull/600/head
Bert Verhelst 4 years ago
parent
commit
058ad7f856
  1. 2
      .eslintrc.js

2
.eslintrc.js

@ -17,7 +17,7 @@ module.exports = {
requireConfigFile: false,
},
rules: {
"linebreak-style": ["error", "unix"],
"linebreak-style": ["error", (process.platform === "win32" ? "windows" : "unix")], // https://stackoverflow.com/q/39114446/2771889
"camelcase": ["warn", {
"properties": "never",
"ignoreImports": true

Loading…
Cancel
Save