Skip to content

Commit

Permalink
Merge pull request #332 from shelfio/feature/no-unreachable
Browse files Browse the repository at this point in the history
Add no-unreachable
  • Loading branch information
randomhash authored Feb 10, 2022
2 parents 1f796a8 + 8cdb85f commit 71b1de8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontend.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ module.exports = {
...baseConfig.rules,
'no-console': 'error',
'sonarjs/cognitive-complexity': ['error', 18],
'multiline-comment-style': 'off'
'multiline-comment-style': 'off',
'no-unreachable': 'error'
},
};
1 change: 1 addition & 0 deletions meteor.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,6 @@ module.exports = {
'no-extend-native': 'error',
'no-use-before-define': ['error', 'nofunc'],
'multiline-comment-style': ['error', 'separate-lines'],
'no-unreachable': 'error'
},
};
1 change: 1 addition & 0 deletions typescript.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ module.exports = {
...consistentTypeImports,
'multiline-comment-style': ['error', 'separate-lines'],
'arrow-body-style': ['error', 'as-needed', {requireReturnForObjectLiteral: true }],
'no-unreachable': 'error'
},
overrides: [allowRequireInConfigs, noExplicitReturnTypeInTests],
};

0 comments on commit 71b1de8

Please sign in to comment.