forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Have a default set of linting rules #554
Labels
Milestone
Comments
brettcannon
added
feature-request
Request for new features or functionality
area-linting
awaiting 2-PR
labels
Jan 9, 2018
Our current thinking is to enable all
The |
Here are the settings I have in my own "python.linting.enabled": true,
"python.linting.pylintEnabled": true,
// Unnecessary once https://github.com/Microsoft/vscode-python/issues/554 is fixed.
"python.linting.pylintArgs": [
"--disable=all",
"--enable=F,E,unreachable,duplicate-key,unnecessary-semicolon,global-variable-not-assigned,unused-variable,binary-op-exception,bad-format-string,anomalous-backslash-in-string,bad-open-mode"
] |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The default rules for most linters like pylint are rather broad and thus can be annoying if you only want squiggles for basic stuff like unused variables (e.g. not everyone wants to be told what an appropriate variable name is). When the user doesn't provide any specific linting configuration -- whether through a config file or through their
settings.json
-- we should provide a default experience that works for the vast majority of users to keep them from being overwhelmed.The text was updated successfully, but these errors were encountered: