Skip to content

feat(eslint-plugin): remove formatting/layout rules #8833

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
Show file tree
Hide file tree
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
7 changes: 6 additions & 1 deletion docs/packages/TypeScript_ESTree.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -274,9 +274,14 @@ interface ParseAndGenerateServicesOptions extends ParseOptions {
*/
interface ProjectServiceOptions {
/**
* Globs of files to allow running with the default inferred project settings.
* Globs of files to allow running with the default project compiler options.
*/
allowDefaultProjectForFiles?: string[];

/**
* Path to a TSConfig to use instead of TypeScript's default project configuration.
*/
defaultProject?: string;
}

interface ParserServices {
Expand Down
3 changes: 0 additions & 3 deletions packages/eslint-plugin/docs/rules/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ import RulesTable from "@site/src/components/RulesTable";
- Sometimes, it is not safe to automatically fix the code with an auto-fixer. But in these cases, we often have a good guess of what the correct fix should be, and we can provide it as a suggestion to the developer.
- `💭 requires type information` refers to whether the rule requires [typed linting](/getting-started/typed-linting).
- `🧱 extension rule` means that the rule is an extension of an [core ESLint rule](https://eslint.org/docs/latest/rules) (see [Extension Rules](#extension-rules)).
- `📐 formatting rule` means that the rule has to do with formatting.
- We [strongly recommend against using ESLint for formatting](/troubleshooting/formatting).
- Soon, formatting rules will be moved to the [ESLint stylistic plugin](https://eslint.style).
- `💀 deprecated rule` means that the rule should no longer be used and will be removed from the plugin in a future version.

## Extension Rules
Expand Down
11 changes: 11 additions & 0 deletions packages/eslint-plugin/docs/rules/block-spacing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
:::danger Deprecated

This rule has been moved to the [ESLint stylistic plugin](https://eslint.style).
See [#8072](https://github.com/typescript-eslint/typescript-eslint/issues/8072) and [#8074](https://github.com/typescript-eslint/typescript-eslint/issues/8074) for more information.

:::

<!-- This doc file has been left on purpose to help direct people to the stylistic plugin.

Note that there is no actual way to get to this page in the normal navigation,
so end-users will only be able to get to this page from the search bar. -->
13 changes: 0 additions & 13 deletions packages/eslint-plugin/docs/rules/block-spacing.mdx

This file was deleted.

11 changes: 11 additions & 0 deletions packages/eslint-plugin/docs/rules/brace-style.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
:::danger Deprecated

This rule has been moved to the [ESLint stylistic plugin](https://eslint.style).
See [#8072](https://github.com/typescript-eslint/typescript-eslint/issues/8072) and [#8074](https://github.com/typescript-eslint/typescript-eslint/issues/8074) for more information.

:::

<!-- This doc file has been left on purpose to help direct people to the stylistic plugin.

Note that there is no actual way to get to this page in the normal navigation,
so end-users will only be able to get to this page from the search bar. -->
13 changes: 0 additions & 13 deletions packages/eslint-plugin/docs/rules/brace-style.mdx

This file was deleted.

11 changes: 11 additions & 0 deletions packages/eslint-plugin/docs/rules/comma-dangle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
:::danger Deprecated

This rule has been moved to the [ESLint stylistic plugin](https://eslint.style).
See [#8072](https://github.com/typescript-eslint/typescript-eslint/issues/8072) and [#8074](https://github.com/typescript-eslint/typescript-eslint/issues/8074) for more information.

:::

<!-- This doc file has been left on purpose to help direct people to the stylistic plugin.

Note that there is no actual way to get to this page in the normal navigation,
so end-users will only be able to get to this page from the search bar. -->
23 changes: 0 additions & 23 deletions packages/eslint-plugin/docs/rules/comma-dangle.mdx

This file was deleted.

11 changes: 11 additions & 0 deletions packages/eslint-plugin/docs/rules/comma-spacing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
:::danger Deprecated

This rule has been moved to the [ESLint stylistic plugin](https://eslint.style).
See [#8072](https://github.com/typescript-eslint/typescript-eslint/issues/8072) and [#8074](https://github.com/typescript-eslint/typescript-eslint/issues/8074) for more information.

:::

<!-- This doc file has been left on purpose to help direct people to the stylistic plugin.

Note that there is no actual way to get to this page in the normal navigation,
so end-users will only be able to get to this page from the search bar. -->
13 changes: 0 additions & 13 deletions packages/eslint-plugin/docs/rules/comma-spacing.mdx

This file was deleted.

11 changes: 11 additions & 0 deletions packages/eslint-plugin/docs/rules/func-call-spacing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
:::danger Deprecated

This rule has been moved to the [ESLint stylistic plugin](https://eslint.style).
See [#8072](https://github.com/typescript-eslint/typescript-eslint/issues/8072) and [#8074](https://github.com/typescript-eslint/typescript-eslint/issues/8074) for more information.

:::

<!-- This doc file has been left on purpose to help direct people to the stylistic plugin.

Note that there is no actual way to get to this page in the normal navigation,
so end-users will only be able to get to this page from the search bar. -->
13 changes: 0 additions & 13 deletions packages/eslint-plugin/docs/rules/func-call-spacing.mdx

This file was deleted.

11 changes: 11 additions & 0 deletions packages/eslint-plugin/docs/rules/indent.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
:::danger Deprecated

This rule has been moved to the [ESLint stylistic plugin](https://eslint.style).
See [#8072](https://github.com/typescript-eslint/typescript-eslint/issues/8072) and [#8074](https://github.com/typescript-eslint/typescript-eslint/issues/8074) for more information.

:::

<!-- This doc file has been left on purpose to help direct people to the stylistic plugin.

Note that there is no actual way to get to this page in the normal navigation,
so end-users will only be able to get to this page from the search bar. -->
21 changes: 0 additions & 21 deletions packages/eslint-plugin/docs/rules/indent.mdx

This file was deleted.

11 changes: 11 additions & 0 deletions packages/eslint-plugin/docs/rules/key-spacing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
:::danger Deprecated

This rule has been moved to the [ESLint stylistic plugin](https://eslint.style).
See [#8072](https://github.com/typescript-eslint/typescript-eslint/issues/8072) and [#8074](https://github.com/typescript-eslint/typescript-eslint/issues/8074) for more information.

:::

<!-- This doc file has been left on purpose to help direct people to the stylistic plugin.

Note that there is no actual way to get to this page in the normal navigation,
so end-users will only be able to get to this page from the search bar. -->
13 changes: 0 additions & 13 deletions packages/eslint-plugin/docs/rules/key-spacing.mdx

This file was deleted.

11 changes: 11 additions & 0 deletions packages/eslint-plugin/docs/rules/keyword-spacing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
:::danger Deprecated

This rule has been moved to the [ESLint stylistic plugin](https://eslint.style).
See [#8072](https://github.com/typescript-eslint/typescript-eslint/issues/8072) and [#8074](https://github.com/typescript-eslint/typescript-eslint/issues/8074) for more information.

:::

<!-- This doc file has been left on purpose to help direct people to the stylistic plugin.

Note that there is no actual way to get to this page in the normal navigation,
so end-users will only be able to get to this page from the search bar. -->
13 changes: 0 additions & 13 deletions packages/eslint-plugin/docs/rules/keyword-spacing.mdx

This file was deleted.

11 changes: 11 additions & 0 deletions packages/eslint-plugin/docs/rules/lines-around-comment.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
:::danger Deprecated

This rule has been moved to the [ESLint stylistic plugin](https://eslint.style).
See [#8072](https://github.com/typescript-eslint/typescript-eslint/issues/8072) and [#8074](https://github.com/typescript-eslint/typescript-eslint/issues/8074) for more information.

:::

<!-- This doc file has been left on purpose to help direct people to the stylistic plugin.

Note that there is no actual way to get to this page in the normal navigation,
so end-users will only be able to get to this page from the search bar. -->
28 changes: 0 additions & 28 deletions packages/eslint-plugin/docs/rules/lines-around-comment.mdx

This file was deleted.

11 changes: 11 additions & 0 deletions packages/eslint-plugin/docs/rules/lines-between-class-members.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
:::danger Deprecated

This rule has been moved to the [ESLint stylistic plugin](https://eslint.style).
See [#8072](https://github.com/typescript-eslint/typescript-eslint/issues/8072) and [#8074](https://github.com/typescript-eslint/typescript-eslint/issues/8074) for more information.

:::

<!-- This doc file has been left on purpose to help direct people to the stylistic plugin.

Note that there is no actual way to get to this page in the normal navigation,
so end-users will only be able to get to this page from the search bar. -->
58 changes: 0 additions & 58 deletions packages/eslint-plugin/docs/rules/lines-between-class-members.mdx

This file was deleted.

11 changes: 11 additions & 0 deletions packages/eslint-plugin/docs/rules/member-delimiter-style.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
:::danger Deprecated

This rule has been moved to the [ESLint stylistic plugin](https://eslint.style).
See [#8072](https://github.com/typescript-eslint/typescript-eslint/issues/8072) and [#8074](https://github.com/typescript-eslint/typescript-eslint/issues/8074) for more information.

:::

<!-- This doc file has been left on purpose to help direct people to the stylistic plugin.

Note that there is no actual way to get to this page in the normal navigation,
so end-users will only be able to get to this page from the search bar. -->
Loading
Loading