diff --git a/README.md b/README.md
index 284ca26e7f..82990c6ce5 100644
--- a/README.md
+++ b/README.md
@@ -2469,12 +2469,12 @@ Other Style Guides
## Whitespace
- - [19.1](#whitespace--spaces) Use soft tabs (space character) set to 2 spaces. eslint: [`indent`](https://eslint.org/docs/rules/indent.html)
+ - [19.1](#whitespace--spaces) Use soft tabs (space character) set to 4 spaces. eslint: [`indent`](https://eslint.org/docs/rules/indent.html)
```javascript
// bad
function foo() {
- ∙∙∙∙let name;
+ ∙∙let name;
}
// bad
@@ -2484,7 +2484,7 @@ Other Style Guides
// good
function baz() {
- ∙∙let name;
+ ∙∙∙∙let name;
}
```
diff --git a/linters/.eslintrc b/linters/.eslintrc
index 9e203a5473..65385bafc6 100644
--- a/linters/.eslintrc
+++ b/linters/.eslintrc
@@ -2,4 +2,5 @@
// Copy this file, and add rule overrides as needed.
{
"extends": "airbnb"
+ "indent": ["error", 4]
}
diff --git a/linters/.jshintrc b/linters/.jshintrc
index a7a08a349e..5f034bf534 100644
--- a/linters/.jshintrc
+++ b/linters/.jshintrc
@@ -28,8 +28,8 @@
// Prohibit use of == and != in favor of === and !==.
"eqeqeq": true,
- // Enforce tab width of 2 spaces.
- "indent": 2,
+ // Enforce tab width of 4 spaces.
+ "indent": 4,
// Prohibit use of a variable before it is defined.
"latedef": true,
diff --git a/linters/.markdownlint.json b/linters/.markdownlint.json
index 951337dbc5..9063681f0f 100644
--- a/linters/.markdownlint.json
+++ b/linters/.markdownlint.json
@@ -24,9 +24,9 @@
"comment": "MD006: Consider starting bulleted lists at the beginning of the line.",
"ul-start-left": false,
- "comment": "MD007: Unordered list indentation: 2 spaces.",
+ "comment": "MD007: Unordered list indentation: 4 spaces.",
"ul-indent": {
- "indent": 2,
+ "indent": 4,
"start_indented": true
},
diff --git a/linters/SublimeLinter/SublimeLinter.sublime-settings b/linters/SublimeLinter/SublimeLinter.sublime-settings
index 259dbaff6a..0c826c3c71 100644
--- a/linters/SublimeLinter/SublimeLinter.sublime-settings
+++ b/linters/SublimeLinter/SublimeLinter.sublime-settings
@@ -43,8 +43,8 @@
// Suppress warnings about == null comparisons.
"eqnull": true,
- // Enforce tab width of 2 spaces.
- "indent": 2,
+ // Enforce tab width of 4 spaces.
+ "indent": 4,
// Prohibit use of a variable before it is defined.
"latedef": true,