Thanks to visit codestin.com
Credit goes to github.com

Skip to content

docs(plugin-typescript): update roadmap #79

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

Merged
merged 1 commit into from
Jan 19, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 26 additions & 25 deletions packages/eslint-plugin-typescript/ROADMAP.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Roadmap

## TSLint rules
βœ… (27) = done
🌟 (79) = in ESLint core
πŸ”Œ (33) = in another plugin
πŸŒ“ (16) = implementations differ or ESLint version is missing functionality
πŸ›‘ (71) = unimplemented

βœ… = done
🌟 = in ESLint core
πŸ”Œ = in another plugin
πŸ›‘ = unimplemented
◐ = implementations differ or ESLint version is missing functionality
## TSLint rules

### TypeScript-specific

Expand Down Expand Up @@ -72,15 +72,15 @@
| [`no-sparse-arrays`] | 🌟 | [`no-sparse-arrays`][no-sparse-arrays] |
| [`no-string-literal`] | 🌟 | [`dot-notation`][dot-notation] |
| [`no-string-throw`] | 🌟 | [`no-throw-literal`][no-throw-literal] |
| [`no-submodule-imports`] | ◐ | [`import/no-internal-modules`] (slightly different) |
| [`no-submodule-imports`] | πŸŒ“ | [`import/no-internal-modules`] (slightly different) |
| [`no-switch-case-fall-through`] | 🌟 | [`no-fallthrough`][no-fallthrough] |
| [`no-this-assignment`] | βœ… | [`typescript/no-this-alias`] |
| [`no-unbound-method`] | πŸ›‘ | N/A |
| [`no-unnecessary-class`] | βœ… | [`typescript/no-extraneous-class`] |
| [`no-unsafe-any`] | πŸ›‘ | N/A |
| [`no-unsafe-finally`] | 🌟 | [`no-unsafe-finally`][no-unsafe-finally] |
| [`no-unused-expression`] | 🌟 | [`no-unused-expression`][no-unused-expressions] |
| [`no-unused-variable`] | ◐ | [`no-unused-vars`][no-unused-vars] <sup>[2]</sup> |
| [`no-unused-variable`] | πŸŒ“ | [`no-unused-vars`][no-unused-vars] <sup>[2]</sup> |
| [`no-use-before-declare`] | βœ… | [`typescript/no-use-before-define`] |
| [`no-var-keyword`] | 🌟 | [`no-var`][no-var] |
| [`no-void-expression`] | 🌟 | [`no-void`][no-void] |
Expand All @@ -104,7 +104,7 @@
| TSLint rule | | ESLint rule |
| ---------------------------- | :-: | -------------------------------------------------- |
| [`cyclomatic-complexity`] | 🌟 | [`complexity`][complexity] |
| [`deprecation`] | ◐ | [`import/no-deprecated`] <sup>[1]</sup> |
| [`deprecation`] | πŸŒ“ | [`import/no-deprecated`] <sup>[1]</sup> |
| [`eofline`] | 🌟 | [`eol-last`][eol-last] |
| [`indent`] | βœ… | [`typescript/indent`] or [Prettier] |
| [`linebreak-style`] | 🌟 | [`linebreak-style`][linebreak-style] or [Prettier] |
Expand All @@ -115,10 +115,10 @@
| [`no-duplicate-imports`] | πŸ”Œ | [`import/no-duplicates`] |
| [`no-mergeable-namespace`] | πŸ›‘ | N/A |
| [`no-require-imports`] | πŸ›‘ | N/A |
| [`object-literal-sort-keys`] | ◐ | [`sort-keys`][sort-keys] <sup>[2]</sup> |
| [`object-literal-sort-keys`] | πŸŒ“ | [`sort-keys`][sort-keys] <sup>[2]</sup> |
| [`prefer-const`] | 🌟 | [`prefer-const`][prefer-const] |
| [`prefer-readonly`] | πŸ›‘ | N/A |
| [`trailing-comma`] | ◐ | [`comma-dangle`][comma-dangle] or [Prettier] |
| [`trailing-comma`] | πŸŒ“ | [`comma-dangle`][comma-dangle] or [Prettier] |

<sup>[1]</sup> Only warns when importing deprecated symbols
<sup>[2]</sup> Missing support for blank-line-delimited sections
Expand All @@ -142,7 +142,7 @@
| [`import-spacing`] | πŸ”Œ | Use [Prettier] |
| [`interface-name`] | βœ… | [`typescript/interface-name-prefix`] |
| [`interface-over-type-literal`] | βœ… | [`typescript/prefer-interface`] |
| [`jsdoc-format`] | ◐ | [`valid-jsdoc`][valid-jsdoc] or [`eslint-plugin-jsdoc`][plugin:jsdoc] |
| [`jsdoc-format`] | πŸŒ“ | [`valid-jsdoc`][valid-jsdoc] or [`eslint-plugin-jsdoc`][plugin:jsdoc] |
| [`match-default-export-name`] | πŸ›‘ | N/A |
| [`newline-before-return`] | 🌟 | [`padding-line-between-statements`][padding-line-between-statements] <sup>[1]</sup> |
| [`newline-per-chained-call`] | 🌟 | [`newline-per-chained-call`][newline-per-chained-call] |
Expand Down Expand Up @@ -202,7 +202,7 @@ Relevant plugins: [`chai-expect-keywords`](https://github.com/gavinaiken/eslint-

| tslint-microsoft-contrib rule | | ESLint rule |
| ----------------------------- | :-: | -------------------------------------------------- |
| `prefer-array-literal` | ◐ | [`typescript/no-array-constructor`] <sup>[1]</sup> |
| `prefer-array-literal` | πŸŒ“ | [`typescript/no-array-constructor`] <sup>[1]</sup> |
| `prefer-type-cast` | πŸ›‘ | N/A |

<sup>[1]</sup> ESLint rule is slightly less strict, allowing `new Array<Foo>()` and `Array(2)`.
Expand All @@ -211,17 +211,17 @@ Relevant plugins: [`chai-expect-keywords`](https://github.com/gavinaiken/eslint-

| tslint-microsoft-contrib rule | | ESLint rule |
| ------------------------------------- | :-: | ---------------------------------------------------------------------- |
| `export-name` | πŸ›‘ | N/A ([relevant plugin](plugin:import)) |
| `export-name` | πŸ›‘ | N/A ([relevant plugin][plugin:import]) |
| `function-name` | πŸ›‘ | N/A |
| `import-name` | πŸ›‘ | N/A ([relevant plugin](plugin:import)) |
| `import-name` | πŸ›‘ | N/A ([relevant plugin][plugin:import]) |
| `function-name` | πŸ›‘ | N/A |
| `informative-docs` | πŸ›‘ | N/A |
| `insecure-random` | πŸ”Œ | [custom implementation][insecure-random] |
| `max-func-body-length` | 🌟 | [`max-statements`][max-statements] |
| `no-banned-terms` | 🌟 | [`no-callee`][no-callee] & [`no-eval`][no-eval] |
| `no-banned-terms` | 🌟 | [`no-caller`][no-caller] & [`no-eval`][no-eval] |
| `no-constant-condition` | 🌟 | [`no-constant-condition`][no-constant-condition] |
| `no-control-regex` | 🌟 | [`no-control-regex`][no-control-regex] |
| `no-delete-expression` | ◐ | [`no-delete-var`][no-delete-var] |
| `no-delete-expression` | πŸŒ“ | [`no-delete-var`][no-delete-var] |
| `no-empty-line-after-opening-brace` | 🌟 | [`padded-blocks`][padded-blocks] <sup>[1]</sup> or [Prettier] |
| `no-for-in` | 🌟 | [`no-restricted-syntax`][no-restricted-syntax] <sup>[2]</sup> |
| `no-function-expression` | 🌟 | [`func-style`][func-style] <sup>[3]</sup> |
Expand All @@ -234,7 +234,7 @@ Relevant plugins: [`chai-expect-keywords`](https://github.com/gavinaiken/eslint-
| `no-suspicious-comment` | 🌟 | [`no-warning-comments`][no-warning-comments] <sup>[4]</sup> |
| `no-typeof-undefined` | πŸ›‘ | N/A (this actually has a valid use: checking if a variable is defined) |
| `no-unexternalized-strings` | πŸ›‘ | N/A |
| `no-unnecessary-field-initialization` | ◐ | [`no-undef-init`][no-undef-init] <sup>[5]</sup> |
| `no-unnecessary-field-initialization` | πŸŒ“ | [`no-undef-init`][no-undef-init] <sup>[5]</sup> |
| `no-unnecessary-local-variable` | πŸ›‘ | N/A |
| `no-unnecessary-override` | πŸ›‘ | N/A |
| `no-unnecessary-semicolons` | 🌟 | [`no-extra-semi`][no-extra-semi] or [Prettier] |
Expand All @@ -258,7 +258,7 @@ Relevant plugins: [`chai-expect-keywords`](https://github.com/gavinaiken/eslint-
| tslint-microsoft-contrib rule | | ESLint rule |
| ------------------------------------------ | :-: | -------------------------------------------------- |
| `no-disable-auto-sanitization` | πŸ›‘ | N/A |
| `no-document-domain` | ◐ | Use [`no-restricted-syntax`][no-restricted-syntax] |
| `no-document-domain` | πŸŒ“ | Use [`no-restricted-syntax`][no-restricted-syntax] |
| `no-function-constructor-with-string-args` | 🌟 | [`no-new-func`][no-new-func] |
| `no-http-string` | πŸ›‘ | N/A |
| `no-inner-html` | πŸ›‘ | N/A |
Expand All @@ -277,23 +277,23 @@ Relevant plugins: [`chai-expect-keywords`](https://github.com/gavinaiken/eslint-
| ----------------------------------- | :-: | -------------------------------------------------- |
| `jquery-deferred-must-complete` | πŸ›‘ | N/A |
| `no-backbone-get-set-outside-model` | πŸ›‘ | N/A |
| `no-cookies` | ◐ | Use [`no-restricted-syntax`][no-restricted-syntax] |
| `no-document-write` | ◐ | Use [`no-restricted-syntax`][no-restricted-syntax] |
| `no-exec-script` | ◐ | Use [`no-restricted-syntax`][no-restricted-syntax] |
| `no-cookies` | πŸŒ“ | Use [`no-restricted-syntax`][no-restricted-syntax] |
| `no-document-write` | πŸŒ“ | Use [`no-restricted-syntax`][no-restricted-syntax] |
| `no-exec-script` | πŸŒ“ | Use [`no-restricted-syntax`][no-restricted-syntax] |
| `no-jquery-raw-elements` | πŸ›‘ | N/A |
| `no-unsupported-browser-code` | πŸ”Œ | [`eslint-plugin-compat`][plugin:compat] |
| `react-this-binding-issue` | πŸ›‘ | |
| `react-tsx-curly-spacing` | πŸ”Œ | [`react/jsx-curly-spacing`] |
| `react-unused-props-and-state` | ◐ | [`react/no-unused-state`] |
| `react-unused-props-and-state` | πŸŒ“ | [`react/no-unused-state`] |

### React A11y

| tslint-microsoft-contrib rule | | ESLint rule |
| ----------------------------------------- | :-: | ---------------------------------------------------------- |
| `react-a11y-accessible-headings` | ◐ | [`jsx-a11y/heading-has-content`] <sup>[1]</sup> |
| `react-a11y-accessible-headings` | πŸŒ“ | [`jsx-a11y/heading-has-content`] <sup>[1]</sup> |
| `react-a11y-anchors` | πŸ”Œ | [`jsx-a11y/anchor-is-valid`] |
| `react-a11y-aria-unsupported-elements` | πŸ”Œ | [`jsx-a11y/aria-unsupported-elements`] |
| `react-a11y-event-has-role` | ◐ | [`jsx-a11y/no-static-element-interactions`] <sup>[2]</sup> |
| `react-a11y-event-has-role` | πŸŒ“ | [`jsx-a11y/no-static-element-interactions`] <sup>[2]</sup> |
| `react-a11y-image-button-has-alt` | πŸ”Œ | [`jsx-a11y/alt-text`] |
| `react-a11y-img-has-alt` | πŸ”Œ | [`jsx-a11y/alt-text`] |
| `react-a11y-input-elements` | πŸ›‘ | N/A |
Expand Down Expand Up @@ -553,6 +553,7 @@ Relevant plugins: [`chai-expect-keywords`](https://github.com/gavinaiken/eslint-
[no-octal-escape]: https://eslint.org/docs/rules/no-octal-escape
[no-extra-semi]: https://eslint.org/docs/rules/no-extra-semi
[no-with]: https://eslint.org/docs/rules/no-with
[no-warning-comments]: https://eslint.org/docs/rules/no-warning-comments

<!-- eslint-plugin-typescript -->

Expand Down