Skip to content

yaodingyd/eslint-config-my

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-config-my

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

Releases

No releases published

Packages

No packages published