Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upNew rule no-restricted-properties & no-restricted-globals? #716
Comments
This comment has been minimized.
This comment has been minimized.
|
@davesnx Sorry, it wasn't clear to me - are you proposing to allow |
feross
closed this
Dec 27, 2016
This comment has been minimized.
This comment has been minimized.
|
I was just proposing a new rule for https://github.com/feross/eslint-config-standard @feross |
This comment has been minimized.
This comment has been minimized.
|
I'm still unclear what you're asking for. The http://eslint.org/docs/rules/no-restricted-properties rule for example lets you prevent certain property names from being used. What should |
This comment has been minimized.
This comment has been minimized.
|
@davesnx just submit the PR. It will likely answer all questions as to what you have written so far (as it isn't clear to me either). |
davesnx commentedDec 11, 2016
•
edited
Hello @feross
I would like to discuss about adding this 2 properties on the standard config. I'm not sure if this is the right repo or I should open it on https://github.com/feross/eslint-config-standard
no-restricted-properties: disallow certain object propertiesno-restricted-globals: disallow specific global variablesBasically, adds more options to make the linter capable to keep the code healty.
You seem worried about how many repos would you affect and adding this woudn't break anything, just adding a property on the package.json.
Thanks