Skip to content

Commit 5395ef2

Browse files
authored
fix(react): Удалит правило регламентирующее способ определения функций (#82)
1 parent 9f94084 commit 5395ef2

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

react.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,6 @@ module.exports = {
1414
singleline: 'consistent'
1515
}],
1616
'react/jsx-no-useless-fragment': 'error',
17-
'react/function-component-definition': ['error', {
18-
namedComponents: 'function-declaration',
19-
unnamedComponents: 'arrow-function',
20-
}],
2117
'react/jsx-wrap-multilines': 'error',
2218
}
2319
}

0 commit comments

Comments
 (0)