Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion demo/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
module.exports = {
rules: {
'bestpractices/no-eslint-disable': 'error',
'sonarjs/no-duplicated-branches': 'error',
'deprecate/function': ['error', { name: 'deprecatedFunction', use: 'function x from package y' }],
'deprecate/import': ['error', { name: 'path/to/legacyModule', use: 'module x' }],
Expand Down
6 changes: 5 additions & 1 deletion demo/example.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
/*
* Since developers have the ability to disable linting in-line, we keep track of the times where this is done, because if done irresponsibly, this is a significant code smell.
*/
// eslint-disable-next
// eslint-disable-next-line
let unusedVariableThatTriggersLintingRule

// eslint-disable-next-line no-unused-vars -- A comment to remove the warning of "require-description"
let unusedVariableThatTriggersLintingRule2

// fixMe: Actually make this work
// todo: Add documentation
Expand Down
Loading