eslint-config-webmd

1.0.5 • Public • Published

eslint-config-webmd

Basic Javscript linting rules:

  1. "no-cond-assign": disallow assignment operators in conditional expressions
  2. "no-dupe-args": disallow duplicate arguments in function definitions
  3. "no-dupe-keys": disallow duplicate keys in object literals
  4. "no-duplicate-case": disallow duplicate case labels
  5. "no-empty": disallow empty block statements
  6. "no-func-assign": disallow reassigning function declarations
  7. "no-invalid-regexp": disallow invalid regular expression strings in RegExp constructors
  8. "no-template-curly-in-string": disallow template literal placeholder syntax in regular strings
  9. "no-unreachable": disallow unreachable code after return, throw, continue, and break statements
  10. "eqeqeq": require the use of === and !==
  11. "no-redeclare": disallow variable redeclaration
  12. "no-unused-vars": disallow unused variables

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-config-webmd

Weekly Downloads

0

Version

1.0.5

License

MIT

Last publish

Collaborators

  • yaodingyd