Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yaodingyd/eslint-config-my
eslint config
https://github.com/yaodingyd/eslint-config-my
Last synced: about 1 month ago
JSON representation
eslint config
- Host: GitHub
- URL: https://github.com/yaodingyd/eslint-config-my
- Owner: yaodingyd
- License: mit
- Created: 2017-04-24T20:30:27.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-15T18:07:22.000Z (over 7 years ago)
- Last Synced: 2024-10-07T20:37:56.320Z (about 1 month ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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