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
Changes to make for v1.0.0 [$35 awarded] #1898
Comments
This issue combines #1692, #1861, and #1889. @nzakas those three can be closed once you're satisfied everything from those is present here.
I'm in favor of |
Yup, function by default and global in the node environment. |
I've updated the issue description. |
I would suggest not deleting documentation for rules, and instead marking them as no longer supported with a link to the new rule. Some people might stick with the older version of ESLint for a while. |
That's a good idea. |
I like it. The |
I’ve added |
👍 |
Based on #2180 (comment), will the |
The Node.js API docs state:
Will this be removed as part of v1.0? |
I think we need to keep We should stop exporting |
|
Updated to include |
@btmills |
@xjamundx ...usually I can read. Fixed! |
@gyandeeps Updated to include |
Has anyone done work on this so far? It seems pretty straight-forward, if I'm not missing something. I'm happy to start working on it if the issue is ready and accepted. |
Generated documentation will now include the version in which a rule was removed, if applicable. I included a step to convert the `versions.json` cache in a backwards-compatible way, so the cache won't need to be regenerated for those of you who already have it. Conveniently, `space-unary-word-ops` was already removed, so I used it as a dry run and brought it in sync with the removal sequence in #1898.
These are the last tasks after the other 1.0.0 ones are complete. Agree it would be nice to document when rules were removed. We will need to keep the docs for those rules up for a while to help those who are using older versions. |
Build: gensite target supports rule removal (refs #1898)
One more task, just noticed in documentation for |
@ilyavolodin I added that link to the
@nzakas So that I can prioritize, what order are you planning for the 1.0 tasks? |
This issue is last as it's the most destructive. We also need the warning system fit missing rules to be complete before we do this. Otherwise, everything is roughly equal in priority. |
I don't see any issues with a It sounds like this should be the last task that is merged. Does that mean it is also the last which should be worked on? I would love to contribute to v1.0.0 in some way, and this seems like a task I could handle and start creating a PR for. |
@IanVS Feel free to pick anyone. |
@nzakas Sure, should have a PR ready shortly. |
It seems that coverage reports in Edit: I just noticed that |
I have a PR ready to go as soon as this is accepted. |
Ready! |
Breaking: Remove deprecated rules (fixes #1898)
The following rules are deprecated and should be removed in v1.0.0:
generator-star
global-strict
no-comma-dangle
no-empty-class
no-extra-strict
no-space-before-semi
no-wrap-func
space-after-function-name
space-before-function-parentheses
space-in-brackets
space-unary-word-ops
spaced-line-comment
To remove a rule:
docs/rules/{rule-name}.md
to indicate removal.lib/rules/{rule-name}.js
.tests/lib/rules/{rule-name}.js
.conf/eslint.json
and any environments inconf/environments.js
.docs/rules/README.md
to the Removed section.In addition, the following behaviors are deprecated and need to be changed for v1.0.0:
strict
with no mode option should be removed. The new default when the rule is enabled without any options should be"function"
. This change should be reflected in the rule's documentation.lib/api.js
, stop exportingcli
.The $35 bounty on this issue has been claimed at Bountysource.
The text was updated successfully, but these errors were encountered: