mirror of
https://github.com/airbnb/javascript.git
synced 2026-04-25 03:00:19 -04:00
[eslint-v2][arrow functions] add no-confusing-arrow rule
This commit is contained in:
committed by
Jordan Harband
parent
172dffbb52
commit
6a03a32915
@@ -28,6 +28,9 @@ module.exports = {
|
||||
'generator-star-spacing': 0,
|
||||
// disallow modifying variables of class declarations
|
||||
'no-class-assign': 0,
|
||||
// disallow arrow functions where they could be confused with comparisons
|
||||
// http://eslint.org/docs/rules/no-confusing-arrow
|
||||
'no-confusing-arrow': 2,
|
||||
// disallow modifying variables that are declared using const
|
||||
'no-const-assign': 2,
|
||||
// disallow specific imports
|
||||
|
||||
Reference in New Issue
Block a user