Skip to content

Commit b71d7a5

Browse files
committed
Merge pull request react-bootstrap#905 from AlexKVal/newRules
Proposal. New eslint rules about 'super'.
2 parents aa58075 + d2a3aac commit b71d7a5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.eslintrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,12 @@
1212
"babel"
1313
],
1414
"rules": {
15+
"constructor-super": 2,
1516
"comma-spacing": 2,
1617
"comma-style": [2, "last"],
1718
"one-var": [2, { "initialized": "never" }],
1819
"key-spacing": 0,
20+
"no-this-before-super": 2,
1921
"no-underscore-dangle": 0,
2022
"no-unused-vars": [2, { "vars": "all", "args": "none" }],
2123
"no-var": 2,

0 commit comments

Comments
 (0)