Change record status: 
Project: 
Introduced in branch: 
8.x
Description: 

In Drupal 7, none of the JavaScript files were indented within the file-level closure. Starting with Drupal 8, The "indent" option of JSHint was added to the default configuration to allow for code indentation validation. It means that all the code within the file-level closure needs to be indented. This change will allow for automated formating tools to be run on Drupal JavaScript.

Drupal 7

(function ($, Drupal) {

"use strict";

Drupal.behavior.something = {};

})(jQuery, Drupal);

Drupal 8

(function ($, Drupal) {

  "use strict";

  Drupal.behavior.something = {};

})(jQuery, Drupal);
Impacts: 
Site builders, administrators, editors
Module developers
Themers
Updates Done (doc team, etc.)
Online documentation: 
Not done
Theming guide: 
Not done
Module developer documentation: 
Not done
Examples project: 
Not done
Coder Review: 
Not done
Coder Upgrade: 
Not done
Other: 
Other updates done