Skip to content

Commit

Permalink
Tweak ESLint config.
Browse files Browse the repository at this point in the history
  • Loading branch information
sapegin committed Feb 17, 2016
1 parent b6fc1bd commit 68dad32
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,12 @@
"no-unneeded-ternary": 1, // Disallow the use of Boolean literals in conditional expressions
"no-useless-concat": 1, // Disallow unncessary concatenation of strings
"operator-assignment": [1, "always"], // Require assignment operator shorthand where possible
"operator-linebreak": [1, "after"], // Operators should be placed before line breaks
"operator-linebreak": [2, 'after', { // Operators should be placed before line breaks
overrides: {
'?': 'before',
':': 'before',
},
}],
"quote-props": 0, // Do not require quotes around object literal property names
"quotes": [1, "single", "avoid-escape"], // Single quotes
"semi-spacing": [1, { // No space before semicolon, space after semicolon
Expand Down

0 comments on commit 68dad32

Please sign in to comment.