You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documentation/release-latest/docs/install/cli.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -134,10 +134,10 @@ Some rules can be tweaked via the [`editorconfig file`](../../rules/configuratio
134
134
A scaffold of the `.editorconfig` file can be generated with command below. Note: that the generated file only contains configuration settings which are actively used by the [rules which are loaded](#rule-sets):
135
135
136
136
```shell title="Generate .editorconfig"
137
-
# Specify the code style(ktlint_official, intellij_idea or android_studio) to be used when generating the .editorconfig
138
-
ktlint generateEditorConfig ktlint_official
137
+
# Specify the code style(ktlint_official, intellij_idea or android_studio) to be used when generating the .editorconfig
Normally the `.editorconfig` file is located in the root of your project directory. In case the file is located in a sub folder of the project, the settings of that file only applies to that subdirectory and its folders (recursively). Ktlint automatically detects and reads all `.editorconfig` files in your project.
Copy file name to clipboardExpand all lines: documentation/snapshot/docs/install/cli.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -134,10 +134,10 @@ Some rules can be tweaked via the [`editorconfig file`](../../rules/configuratio
134
134
A scaffold of the `.editorconfig` file can be generated with command below. Note: that the generated file only contains configuration settings which are actively used by the [rules which are loaded](#rule-sets):
135
135
136
136
```shell title="Generate .editorconfig"
137
-
# Specify the code style(ktlint_official, intellij_idea or android_studio) to be used when generating the .editorconfig
138
-
ktlint generateEditorConfig ktlint_official
137
+
# Specify the code style(ktlint_official, intellij_idea or android_studio) to be used when generating the .editorconfig
Normally the `.editorconfig` file is located in the root of your project directory. In case the file is located in a sub folder of the project, the settings of that file only applies to that subdirectory and its folders (recursively). Ktlint automatically detects and reads all `.editorconfig` files in your project.
0 commit comments