We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 014d031 commit 75e3c35Copy full SHA for 75e3c35
rules/best-practices.js
@@ -3,14 +3,16 @@
3
module.exports = {
4
'rules': {
5
// Specify curly brace conventions for all control statements
6
- 'curly' : [2, 'multi-line'],
+ 'curly' : [2, 'multi-line'],
7
+ // Disallow the type conversions with shorter notations
8
+ 'no-implicit-coercion': [2],
9
// Disallow use of multiple spaces
- 'no-multi-spaces' : [2],
10
+ 'no-multi-spaces' : [2],
11
// Disallow reassignment of function parameters
- 'no-param-reassign': [2],
12
+ 'no-param-reassign' : [2],
13
// Disallow comparisons where both sides are exactly the same
- 'no-self-compare' : [2],
14
+ 'no-self-compare' : [2],
15
// Disallow usage of expressions in statement position
- 'no-throw-literal' : [2],
16
+ 'no-throw-literal' : [2],
17
},
18
};
0 commit comments