ESLint config for browser scripts improved

dependabot/npm_and_yarn/BuildServer/eslint-7.2.0
Inga 🏳‍🌈 8 years ago
parent 85e153337e
commit 40a9f6c691
  1. 5
      BuildServer/settings-eslint-browser.json

@ -12,6 +12,9 @@
"max-len": ["warn", { "code": 140 }], "max-len": ["warn", { "code": 140 }],
"operator-linebreak": ["warn", "before"], "operator-linebreak": ["warn", "before"],
"padded-blocks": ["warn", "never"], "padded-blocks": ["warn", "never"],
"dot-notation": ["warn", { "allowPattern": "^[a-z]+(_[a-z]+)+$" }] "dot-notation": ["warn", { "allowPattern": "^[a-z]+(_[a-z]+)+$" }],
"dot-location": ["warn", "property"],
"object-curly-spacing": ["warn", "always"],
"no-extra-parens": ["warn", "all", { "nestedBinaryExpressions": false }]
} }
} }
Loading…
Cancel
Save