eslint-config-webmd
Basic Javscript linting rules:
- "no-cond-assign": disallow assignment operators in conditional expressions
- "no-dupe-args": disallow duplicate arguments in function definitions
- "no-dupe-keys": disallow duplicate keys in object literals
- "no-duplicate-case": disallow duplicate case labels
- "no-empty": disallow empty block statements
- "no-func-assign": disallow reassigning function declarations
- "no-invalid-regexp": disallow invalid regular expression strings in RegExp constructors
- "no-template-curly-in-string": disallow template literal placeholder syntax in regular strings
- "no-unreachable": disallow unreachable code after
return
,throw
,continue
, andbreak
statements - "eqeqeq": require the use of
===
and!==
- "no-redeclare": disallow variable redeclaration
- "no-unused-vars": disallow unused variables