indent

强制一致的缩进

一些该规则报告的问题可以通过 --fix 命令行选项 自动修复

有几个通用准则需要嵌套块和语句的特定缩进,例如:

function hello(indentSize, type) {
    if (indentSize === 4 && type !== 'tab') {
        console.log('Each next indentation will increase on 4 spaces');
    }
}

这些是不同风格指南中推荐的最常见场景:

  • 两个空格,不是更长也没有制表符:谷歌、npm、Node.js、惯用语、Felix
  • Tabs: jQuery
  • 四个空格:Crockford

规则详情

Wek8FuTu9Py23HaHN3gHx/qFKjzCMyzFX4fpLcM0zH/PRK/sY6kExS/+NjhC5XGkAfeY2nqcqRUv3la94DOULcZFbFYXFF5Fbd9n2j+F/JxU7oUDxc8P0u+hJ7W+26RI

选项

SgZ3dA2jSloiX3wDR5yH9C1snLEGup3TgL1Hjd1y8vUtRC8EK7HhaEBiUV5zn2Vd

fsBgu2zWNv8cLozJ9SlMdqS6OH2x4OzD6F0JCtMGoyM6/nq4PN2/qgFO0PaM+InT

{
    "indent": ["error", 2]
}

06GOD3ZvjmRo7pfhikUPzxEQp/PrDw1tzvxbx+AEpbg=

{
    "indent": ["error", "tab"]
}

Y4fpdv2tPnjr5ys3ncMXD6lhmMONiiyfyl2f47lYqcm+dYdpfQFsROwI2M2gAppXKUgLYTi0UOWauvu2aWK5sA==

/*eslint indent: "error"*/

if (a) {
  b=c;
  function foo(d) {
    e=f;
  }
}

Y4fpdv2tPnjr5ys3ncMXD6lhmMONiiyfyl2f47lYqcmAIdKK7CVep7jgvUsz70ZA8fGVFtPyX2Bjb2Q6wGpFLw==

/*eslint indent: "error"*/

if (a) {
    b=c;
    function foo(d) {
        e=f;
    }
}

SgZ3dA2jSloiX3wDR5yH9Gup/fBC7F8UJv7ozexRZrmsOce/g09t/n8bJ880ksDh

    laQYnN5BRm/nC21UbCcOBQ9vJIPx+yL7UAmuzxnNrwR4t451+h9KfQ43JbyEGcEmDB6r0078ma89Rl1GEEtOR1Doc/C7eKYiKmEaGUCJG+TOztEvYSJvNWb1oWKmyHmplwG65qhKMag54ux2Nf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
function foo(d) {
           e=f;
 }
}

gzlG8jANWr4Hhb4/2Xwr95P/wWz4EqpBZMa4QX97A/CPYi/tewje57A63uA294slOZEMb2HAUk2yA9VutATnhbKneh6IsEK9F6TkFovOups=

/*eslint indent: ["error", "tab"]*/

if (a) {
/*tab*/b=c;
/*tab*/function foo(d) {
/*tab*//*tab*/e=f;
/*tab*/}
}

ignoredNodes

oJr77vW3fnM97FTmDaWB2xbT+KwECh9l8wPxjxKuprKTc0mGOSwFCLLlOMlnJOCSE5ijqpwMAOJLnwqsW+g/8l/rSkFusfNZxe62wx+Exwgon83ssRqCqw+NOw37i5B+s+TlvkGSS17OfKvWSKDhMw==

gzlG8jANWr4Hhb4/2Xwr978ldYsvZyCO2K9hsMZMJPsvrKjcKUrqxkQ5cOCMEexI1BVaom3nZNxG87Yks6fDc8y3vwikoU/3sxQcGKMdPYdCVgqKn00VGees0N4nd8g6WmGK6ZEnKOaZqOJMEUWv/g==

/*eslint indent: ["error", 4, { "ignoredNodes": ["ConditionalExpression"] }]*/

var a = foo
      ? bar
      : baz;

var a = foo
                ? bar
: baz;

oJr77vW3fnM97FTmDaWB20zsXRSaFj4kUhVyNCbhSYVX92dZtJikxn2gT9Z0Z37Ccvy8YIaMp0CwxwkbyKEWEQ==

gzlG8jANWr4Hhb4/2Xwr978ldYsvZyCO2K9hsMZMJPswcUL6znWbttIGfp8j4hwm8A9gmdqD6fn0kjMJNUb562XaPqIwZKhtwMZOUfVTo4w39ODXSbqrqgSYAgZqHwI4vZBeWfMa3WgNNqMh6u4aLMboAWP/8pXjENSygMeYLrluyykl9WGHwDl8IguJPRESTj9XO8TM+wYBXX0wAOcXww==

/*eslint indent: ["error", 4, { "ignoredNodes": ["CallExpression > FunctionExpression.callee > BlockStatement.body"] }]*/

(function() {

foo();
bar();

})

fMuV0Ok2SO+3L+05Bk3u0oKWU/Z3d/XfHtCNt3k6uPpJzUKjGfxftopg7i/LNcHWtaFSL2fE3GRn+NBSlXN5UnEjK+HaLpiUAU9k+4gzGfFo7vmu0+U6IggMhr6ROpba2twpoF4/ZelxCii4UQGcN+tAXm4a/XQ1cFSmvFkB82nFm4fwbXGxjK2BHRQEvb5yngF5103CWcKvswOVdF5fknALT0MDb1/EGncYFXmdT5KwIJJC8inaTuSVjGBNvKrYLYjtV7hZS3Q4QfcQiV/IiSUvf4Vxyj7vyQcHi2dHvDBs5hl1g5d6WftlYLt1r+za62EwCwMdWtB1L722erF3WQ==

SwitchCase

gzlG8jANWr4Hhb4/2Xwr93jB2OKE+ME3oIf65dmYgtOdSTdj5J6ydpecMoFmPR9EcgaBfm33B2va2CAm/Lz+0dj2IaxePOGxFSBzGrJ10par+c0YtOj6Y0XVg3OzvMSL

/*eslint indent: ["error", 2, { "SwitchCase": 1 }]*/

switch(a){
case "a":
    break;
case "b":
    break;
}

gzlG8jANWr4Hhb4/2Xwr93jB2OKE+ME3oIf65dmYgtOdSTdj5J6ydpecMoFmPR9Etqj5y66lOm5vj7JVLUods1G/+FpivHCKTC50ZeGsQw4ywOyCdx+OQ8nv7/LHEZJa

/*eslint indent: ["error", 2, { "SwitchCase": 1 }]*/

switch(a){
  case "a":
    break;
  case "b":
    break;
}

VariableDeclarator

gzlG8jANWr4Hhb4/2Xwr945sDupiDdvTwRK83IADvqEQz9+mOsH/TLuFZ0mrFTjewTBu0styUE5kJHsaDAgplvRB8fZV6KCE/dP6OGqeVQx9tMbZgMbe+vdVMa/F3sMH

/*eslint indent: ["error", 2, { "VariableDeclarator": 1 }]*/
/*eslint-env es6*/

var a,
    b,
    c;
let a,
    b,
    c;
const a = 1,
    b = 2,
    c = 3;

gzlG8jANWr4Hhb4/2Xwr945sDupiDdvTwRK83IADvqEQz9+mOsH/TLuFZ0mrFTjewTBu0styUE5kJHsaDAgplsDvMGRMOOcIStf3O5PcI4QeJesgrg/5wqaeye36s+04

/*eslint indent: ["error", 2, { "VariableDeclarator": 1 }]*/
/*eslint-env es6*/

var a,
  b,
  c;
let a,
  b,
  c;
const a = 1,
  b = 2,
  c = 3;

gzlG8jANWr4Hhb4/2Xwr945sDupiDdvTwRK83IADvqEQz9+mOsH/TLuFZ0mrFTjeET5k5TDN8CdyaFWLkTZGzPs8O6Wc1tFMaFUtV2kvP1WSHCocfdwYV6ZWXbvib33a

/*eslint indent: ["error", 2, { "VariableDeclarator": 2 }]*/
/*eslint-env es6*/

var a,
    b,
    c;
let a,
    b,
    c;
const a = 1,
    b = 2,
    c = 3;

gzlG8jANWr4Hhb4/2Xwr945sDupiDdvTwRK83IADvqEQz9+mOsH/TLuFZ0mrFTje0waYEPbm6ZH69RZNejK3zBlIdvc1nJ/oDjJpKFcICkm9Z00vjhEWr2ZZEEJpusYuFdr9HyweYA11cqymU+0UHw==

/*eslint indent: ["error", 2, { "VariableDeclarator": "first" }]*/
/*eslint-env es6*/

var a,
  b,
  c;
let a,
  b,
  c;
const a = 1,
  b = 2,
  c = 3;

gzlG8jANWr4Hhb4/2Xwr945sDupiDdvTwRK83IADvqEQz9+mOsH/TLuFZ0mrFTje0waYEPbm6ZH69RZNejK3zAxRVnt4hdSQN/FUO/JO/eh19ggyfNbyVc8wXRsbFvtNgr8TMlfp6VoNgH0IpnVBCg==

/*eslint indent: ["error", 2, { "VariableDeclarator": "first" }]*/
/*eslint-env es6*/

var a,
    b,
    c;
let a,
    b,
    c;
const a = 1,
      b = 2,
      c = 3;

gzlG8jANWr4Hhb4/2Xwr945sDupiDdvTwRK83IADvqEQz9+mOsH/TLuFZ0mrFTjexeJwgdRqYrW9Zg7SPybIQT/b2cf+CVBk1edwUSUkk/Po1vvCYLBNbu2bDuvgz5RU2Cp3/kp5gIVyl0qkvyMcVJlKlPApeGWBY8dejYvyPF0=

/*eslint indent: ["error", 2, { "VariableDeclarator": { "var": 2, "let": 2, "const": 3 } }]*/
/*eslint-env es6*/

var a,
    b,
    c;
let a,
    b,
    c;
const a = 1,
      b = 2,
      c = 3;

outerIIFEBody

OmfSH2LyF8z8wXPR6WCNCCkehYcaKGC5A2XogtOCEqT8KT0Aq4hGpbhAIPQUNqHmrWC1PylJ5HHnittut5UtSU5pkafltDajsYH6hG/EC/ObDGvdyQA8ARXYxxyJZNg8

/*eslint indent: ["error", 2, { "outerIIFEBody": 0 }]*/

(function() {

  function foo(x) {
    return x + 1;
  }

})();

if (y) {
console.log('foo');
}

OmfSH2LyF8z8wXPR6WCNCCkehYcaKGC5A2XogtOCEqT8KT0Aq4hGpbhAIPQUNqHmrWC1PylJ5HHnittut5UtSck5aVGfJbpm4twVXNfqPgMYZyedbGAKBtNwMaEzGgyJ

/*eslint indent: ["error", 2, { "outerIIFEBody": 0 }]*/

(function() {

function foo(x) {
  return x + 1;
}

})();

if (y) {
   console.log('foo');
}

OmfSH2LyF8z8wXPR6WCNCCkehYcaKGC5A2XogtOCEqQJWBxbSRfViOfJB708mxIZWee8rkUTYkkWnoTBzmMgDBpYl+1acuI71JVujUWdEVvoOGbW2hysArk1lvY16l47

/*eslint indent: ["error", 2, { "outerIIFEBody": "off" }]*/

(function() {

function foo(x) {
  return x + 1;
}

})();

(function() {

  function foo(x) {
    return x + 1;
  }

})();

if (y) {
  console.log('foo');
}

MemberExpression

gzlG8jANWr4Hhb4/2Xwr94A5qxILN0OJGM5dYuB93HQjqFynVWa5RAnANKoUygKaI7TaJZXlekbsNv+/hPnF87FFVbT8f05NPKlZCxlH3a91eXfPsWXMFw8bbFj9aqkB

/*eslint indent: ["error", 2, { "MemberExpression": 1 }]*/

foo
.bar
.baz()

gzlG8jANWr4Hhb4/2Xwr94A5qxILN0OJGM5dYuB93HQjqFynVWa5RAnANKoUygKaI7TaJZXlekbsNv+/hPnF82wwmnhy3yZoxmc2yquTX0dbHOLQAVKzIjBTqn1qE+uJ

/*eslint indent: ["error", 2, { "MemberExpression": 1 }]*/

foo
  .bar
  .baz();

FunctionDeclaration

gzlG8jANWr4Hhb4/2Xwr97uadgEnHR/qnKNOx4aLjzgVNc6PsIBIL2oqGt9xuUf/jMNRf5uFNgux7uOLcDYs7MqCpiI1+W+gP4xtFAVTxxFuccWxsJ9NGBhXvWvEglnWvT/ogtSBH829+LBGEai3OpSRPWX/j8MVs1msMz6ZclU=

/*eslint indent: ["error", 2, { "FunctionDeclaration": {"body": 1, "parameters": 2} }]*/

function foo(bar,
  baz,
  qux) {
    qux();
}

gzlG8jANWr4Hhb4/2Xwr97uadgEnHR/qnKNOx4aLjzgVNc6PsIBIL2oqGt9xuUf/jMNRf5uFNgux7uOLcDYs7MqCpiI1+W+gP4xtFAVTxxFuccWxsJ9NGBhXvWvEglnWF9f5gzWJaQcorg2auHnTLrJOjtZzquTfN3akq42huCE=

/*eslint indent: ["error", 2, { "FunctionDeclaration": {"body": 1, "parameters": 2} }]*/

function foo(bar,
    baz,
    qux) {
  qux();
}

gzlG8jANWr4Hhb4/2Xwr97uadgEnHR/qnKNOx4aLjzgVNc6PsIBIL2oqGt9xuUf/7XwRTd1PjgSNKvdGA+el9RTGgd6TdD8xL5gVlOVchHOcYrHQkO4ANjwtD/bO5deONbDMdM58Y4EWYcfckPGQ+/TBrcJxwby0pJfM/Hk9+3M=

/*eslint indent: ["error", 2, {"FunctionDeclaration": {"parameters": "first"}}]*/

function foo(bar, baz,
  qux, boop) {
  qux();
}

gzlG8jANWr4Hhb4/2Xwr97uadgEnHR/qnKNOx4aLjzgVNc6PsIBIL2oqGt9xuUf/7XwRTd1PjgSNKvdGA+el9RTGgd6TdD8xL5gVlOVchHM5fUNR8h0Y2BoXevitsBF5NaQGhBYuzUAPO5xSLioBW3XZnN+a0bnQ2MWOmBvY/4U=

/*eslint indent: ["error", 2, {"FunctionDeclaration": {"parameters": "first"}}]*/

function foo(bar, baz,
             qux, boop) {
  qux();
}

FunctionExpression

gzlG8jANWr4Hhb4/2Xwr97uadgEnHR/qnKNOx4aLjzhn2sr4/gfiRVRsYlU7wTCePHG27WTgVDYmifIrvU8cosFlFoNn4rYiPyhNdofxwpT2mXfx/NI1g3gV+Mp4IjfKf5Rhk0eFUYrMvqt0142kEhUR06IUuIoY8ieMYm7gibo=

/*eslint indent: ["error", 2, { "FunctionExpression": {"body": 1, "parameters": 2} }]*/

var foo = function(bar,
  baz,
  qux) {
    qux();
}

gzlG8jANWr4Hhb4/2Xwr97uadgEnHR/qnKNOx4aLjzhn2sr4/gfiRVRsYlU7wTCePHG27WTgVDYmifIrvU8cosFlFoNn4rYiPyhNdofxwpT2mXfx/NI1g3gV+Mp4IjfKBGFU5/9eV9EqSLbFs+GzwiuXuvkjKXOKeBdojPY+o9M=

/*eslint indent: ["error", 2, { "FunctionExpression": {"body": 1, "parameters": 2} }]*/

var foo = function(bar,
    baz,
    qux) {
  qux();
}

gzlG8jANWr4Hhb4/2Xwr97uadgEnHR/qnKNOx4aLjzhn2sr4/gfiRVRsYlU7wTCePwtHEv59f3mT2L85lufWlKkGb9TQnYYTTScDKC+rk1V6FlwOgrhuzhPDaYkrhrIVgIoTHJbnFua5oc2+IPOc/yBfuj9kPjVcuHS4qYjgJeg=

/*eslint indent: ["error", 2, {"FunctionExpression": {"parameters": "first"}}]*/

var foo = function(bar, baz,
  qux, boop) {
  qux();
}

gzlG8jANWr4Hhb4/2Xwr97uadgEnHR/qnKNOx4aLjzhn2sr4/gfiRVRsYlU7wTCePwtHEv59f3mT2L85lufWlKkGb9TQnYYTTScDKC+rk1VLOISy1EjHywDcvVmyvb663rEdOTHN89vBYUwsC0HpNHiNVHyGWkY+mErolWUoHEE=

/*eslint indent: ["error", 2, {"FunctionExpression": {"parameters": "first"}}]*/

var foo = function(bar, baz,
                   qux, boop) {
  qux();
}

StaticBlock

gzlG8jANWr4Hhb4/2Xwr94vG6eSHmTIJYxMqkxczD5UuS3rz6PsmIdZozE60/PbTenjykyOsADwAIFeCZ5SXE+Bbbjjw/w/7CMn5aSUqdAGhUzvOcM8jMzsIguhGmKvA

/*eslint indent: ["error", 2, { "StaticBlock": {"body": 1} }]*/

class C {
  static {
      foo();
  }
}

gzlG8jANWr4Hhb4/2Xwr94vG6eSHmTIJYxMqkxczD5UuS3rz6PsmIdZozE60/PbTenjykyOsADwAIFeCZ5SXE036bJkCcMhM1VCG0i2TEQfiFGrNNLf/mKwda3fuTVVk

/*eslint indent: ["error", 2, { "StaticBlock": {"body": 1} }]*/

class C {
  static {
    foo();
  }
}

gzlG8jANWr4Hhb4/2Xwr94vG6eSHmTIJYxMqkxczD5UuS3rz6PsmIdZozE60/PbTYVLqYJExk2OXqK0wxxruM1TsNV6G3zK8JBcIk7ZkCcp90eZvDuRSfZYlf05sBFQ7

/*eslint indent: ["error", 2, { "StaticBlock": {"body": 2} }]*/

class C {
  static {
    foo();
  }
}

gzlG8jANWr4Hhb4/2Xwr94vG6eSHmTIJYxMqkxczD5UuS3rz6PsmIdZozE60/PbTYVLqYJExk2OXqK0wxxruM5RQGt5L/MIqd+AkSWcTrtprHJQhguTU2eZrXd1jxS4p

/*eslint indent: ["error", 2, { "StaticBlock": {"body": 2} }]*/

class C {
  static {
      foo();
  }
}

CallExpression

gzlG8jANWr4Hhb4/2Xwr9wfw5l7WtIKp82V6eRKQ1SVjc0majqJGlQ+Bt+/7p/BjWvp1hznzGCUo3VWOjGM8YFBp69ueCSAQsfRwRU3unrL6xQM5jsrAfcdy2H7nBM7gXm91vMkRdL3gFqOFikb4Qg==

/*eslint indent: ["error", 2, { "CallExpression": {"arguments": 1} }]*/

foo(bar,
    baz,
      qux
);

gzlG8jANWr4Hhb4/2Xwr9wfw5l7WtIKp82V6eRKQ1SVjc0majqJGlQ+Bt+/7p/BjWvp1hznzGCUo3VWOjGM8YFBp69ueCSAQsfRwRU3unrKIht6RQezqJsaTkp7zOtQ9/QwhbCcvhHBnUUZm1ESSIg==

/*eslint indent: ["error", 2, { "CallExpression": {"arguments": 1} }]*/

foo(bar,
  baz,
  qux
);

gzlG8jANWr4Hhb4/2Xwr9wfw5l7WtIKp82V6eRKQ1SVjc0majqJGlQ+Bt+/7p/BjudKIdHrC+9nXJnRQYW/YO2ilyvt2L467BTyKsCdAe+6rjFXiKLvxsgAlNK0z/CL5VPMMaQSrOmel3ngwh/CYDA==

/*eslint indent: ["error", 2, {"CallExpression": {"arguments": "first"}}]*/

foo(bar, baz,
  baz, boop, beep);

gzlG8jANWr4Hhb4/2Xwr9wfw5l7WtIKp82V6eRKQ1SVjc0majqJGlQ+Bt+/7p/BjudKIdHrC+9nXJnRQYW/YO2ilyvt2L467BTyKsCdAe+5g7uAiu8ZhaTkJPMJdwQCpzTrTK/QJrQOpfulADGXMWQ==

/*eslint indent: ["error", 2, {"CallExpression": {"arguments": "first"}}]*/

foo(bar, baz,
    baz, boop, beep);

ArrayExpression

gzlG8jANWr4Hhb4/2Xwr986XEB+5ZyxkUgOxZ3tCSgloZhT0pN2Ve7GptWuUXWDmSgfC21rQ4VF3dbEKreMRs9hTWU5FNf7B7Nos//CWWpRa+gM2HL1f3VczaoN4A86X

/*eslint indent: ["error", 2, { "ArrayExpression": 1 }]*/

var foo = [
    bar,
baz,
      qux
];

gzlG8jANWr4Hhb4/2Xwr986XEB+5ZyxkUgOxZ3tCSgloZhT0pN2Ve7GptWuUXWDmSgfC21rQ4VF3dbEKreMRs/jdnV9Je68q8rwPD/PKK5K23N1Ga3PbTJ9TSOprtTWm

/*eslint indent: ["error", 2, { "ArrayExpression": 1 }]*/

var foo = [
  bar,
  baz,
  qux
];

gzlG8jANWr4Hhb4/2Xwr986XEB+5ZyxkUgOxZ3tCSgkRhko9Oidtd/Ah50O0nxm8jvUwCRYRjcIh/k0C7vOdYFvFPLhCgaCgbTiPMReAx/Kv+TildFX9QasgRmkKz7/o

/*eslint indent: ["error", 2, {"ArrayExpression": "first"}]*/

var foo = [bar,
  baz,
  qux
];

gzlG8jANWr4Hhb4/2Xwr986XEB+5ZyxkUgOxZ3tCSgkRhko9Oidtd/Ah50O0nxm8jvUwCRYRjcIh/k0C7vOdYHGuZ9kostiNmVHB7bTSTrIJ29pDXOl88aaZh4owSZ3u

/*eslint indent: ["error", 2, {"ArrayExpression": "first"}]*/

var foo = [bar,
           baz,
           qux
];

ObjectExpression

gzlG8jANWr4Hhb4/2Xwr9yOB3n5yYmrXXpFRAwnbD9HkKsZGjFj0lCPzE7pIu/Do0RKeX3G2/wA75IDk50v2GSRr4kzaL3t6Myz1Epui4ndQ4Q+KNTJdUUu2spK6qvey

/*eslint indent: ["error", 2, { "ObjectExpression": 1 }]*/

var foo = {
    bar: 1,
baz: 2,
      qux: 3
};

gzlG8jANWr4Hhb4/2Xwr9yOB3n5yYmrXXpFRAwnbD9HkKsZGjFj0lCPzE7pIu/Do0RKeX3G2/wA75IDk50v2GQUKO9bpuJF1IkrTD9H4+GDRWCnF3qe9iF1llpG5mT4V

/*eslint indent: ["error", 2, { "ObjectExpression": 1 }]*/

var foo = {
  bar: 1,
  baz: 2,
  qux: 3
};

gzlG8jANWr4Hhb4/2Xwr9yOB3n5yYmrXXpFRAwnbD9EGMuGRbDHs9p3UsJ6kaymuFDoD464MAkXum/f+vWjg0HysRi7YmR7imafE9jDvkVyCKdqV6kQtoSCZS2MxxdPE

/*eslint indent: ["error", 2, {"ObjectExpression": "first"}]*/

var foo = { bar: 1,
  baz: 2 };

gzlG8jANWr4Hhb4/2Xwr9yOB3n5yYmrXXpFRAwnbD9EGMuGRbDHs9p3UsJ6kaymuFDoD464MAkXum/f+vWjg0M2YUMix2/bi7xoOJaoXsdZ6WiYWa/QJ2iGQ9jkQ3FGl

/*eslint indent: ["error", 2, {"ObjectExpression": "first"}]*/

var foo = { bar: 1,
            baz: 2 };

ImportDeclaration

XhWE4QJB3iRG+xXQzkjBec6W9xh1M7FVrNXt2OqLWDGZ9iFLBe/9IRTYxGDE27ySNGIZZVTwsUN68Cn3/0SlpZWZ3cqqt7B+Y8niiZh4um7ReJ29JlPovNYmRB8KnXgYcjWjl+lP59ML/wbCOMJHYA==

/*eslint indent: ["error", 4, { "ImportDeclaration": 1 }]*/

import { foo,
    bar,
    baz,
} from 'qux';

import {
    foo,
    bar,
    baz,
} from 'qux';

gzlG8jANWr4Hhb4/2Xwr9weh0WWyeydOnodd8/ZULjMrvhWLvZAnwz+7lrDT6ihfFvZ0HzUm6NeVLMzT/A2QRV7yCDg4aGBdZR4uUS6iU9fM8WLWULBx87Nz58vvWSQo

/*eslint indent: ["error", 4, { "ImportDeclaration": "first" }]*/

import { foo,
    bar,
    baz,
} from 'qux';

gzlG8jANWr4Hhb4/2Xwr9weh0WWyeydOnodd8/ZULjMrvhWLvZAnwz+7lrDT6ihfFvZ0HzUm6NeVLMzT/A2QRQ3prblvN5n7+GpWmS0DkQdstIVMSoW6t6ILdi67YQYz

/*eslint indent: ["error", 4, { "ImportDeclaration": "first" }]*/

import { foo,
         bar,
         baz,
} from 'qux';

flatTernaryExpressions

nlpQkElgf/TvKUOwoIVk1C2rZsjPk5nOYuFQMepr3ve5zdc+cq5GewQ9CsvAb1ZnnHXVWwRp06EX/4P1F+tZ0N3Cd4z9dsfwCft6+Ukw31AOiGtxY4bbxaUI2EXyCLt1ocfI0IjCJid9SaY3Ju2pnA==

/*eslint indent: ["error", 4, { "flatTernaryExpressions": false }]*/

var a =
    foo ? bar :
    baz ? qux :
    boop;

nlpQkElgf/TvKUOwoIVk1C2rZsjPk5nOYuFQMepr3ve5zdc+cq5GewQ9CsvAb1ZnnHXVWwRp06EX/4P1F+tZ0N3Cd4z9dsfwCft6+Ukw31DzzRLT7ZcxzY3jvSZ01q2S/jbd2sHp1TfpMTegVLolNQ==

/*eslint indent: ["error", 4, { "flatTernaryExpressions": false }]*/

var a =
    foo ? bar :
        baz ? qux :
            boop;

gzlG8jANWr4Hhb4/2Xwr9+5meWlSzpy+CATxgTS7WxCUpdwhupLx4+KBzmk6IYDWlsmpS7Rggk2LSYdS3ZkB3a2QdOxcJza7wDrlPzC2/U5+FuXr1hrgpdtbmzV02sFVv2BXZ2K0dAi4weFR3Sr0MQ==

/*eslint indent: ["error", 4, { "flatTernaryExpressions": true }]*/

var a =
    foo ? bar :
        baz ? qux :
            boop;

gzlG8jANWr4Hhb4/2Xwr9+5meWlSzpy+CATxgTS7WxCUpdwhupLx4+KBzmk6IYDWlsmpS7Rggk2LSYdS3ZkB3XQktiZ3NCA6SxJpikGyalrVHPdtBmfsa7xuEHEosFbWDdWmF/Kl1+Wxgv50GFpjAg==

/*eslint indent: ["error", 4, { "flatTernaryExpressions": true }]*/

var a =
    foo ? bar :
    baz ? qux :
    boop;

offsetTernaryExpressions

nlpQkElgf/TvKUOwoIVk1Gpk3LKEbsLLK13WIN62EN3ol2Ng8CoO83ZsjUWce3rUCWh2+MClDNDljsIdrGMVJxKOMpECvWQMHibTXJ+bVD7Btmwvq+RET4XN/1cK0bsJSvI1zwZzSGPd9+uogA5Zgg==

/*eslint indent: ["error", 2, { "offsetTernaryExpressions": false }]*/

condition
  ? () => {
      return true
    }
  : () => {
      false
    }

nlpQkElgf/TvKUOwoIVk1Gpk3LKEbsLLK13WIN62EN3ol2Ng8CoO83ZsjUWce3rUCWh2+MClDNDljsIdrGMVJxKOMpECvWQMHibTXJ+bVD48Qao0fSKEjjWQ5pEK/bNITuSfu9vRcHqYO4O52/rTVA==

/*eslint indent: ["error", 2, { "offsetTernaryExpressions": false }]*/

condition
  ? () => {
    return true
  }
  : condition2
    ? () => {
      return true
    }
    : () => {
      return false
    }

gzlG8jANWr4Hhb4/2Xwr96Qaf11dHcpVdoLndKGfTqYPyVjpQV1p8oahplrJ8uhqMnfjaBFG6YlEB9Is6ZsL9tW/37LfgzWi5X01GuFmF4gWP1N6XT4HUFCIK6HVHDSQWSqL4LqljDqUOSPraYDkWQ==

/*eslint indent: ["error", 2, { "offsetTernaryExpressions": true }]*/

condition
  ? () => {
    return true
  }
  : condition2
    ? () => {
      return true
    }
    : () => {
      return false
    }

gzlG8jANWr4Hhb4/2Xwr96Qaf11dHcpVdoLndKGfTqYPyVjpQV1p8oahplrJ8uhqMnfjaBFG6YlEB9Is6ZsL9rZyrAkFVPX4dMNGNhA/rVFSPfCaKfwhNY/p3YOPcsh2HJeDWh0BJ6WycuGxEK1/Mw==

/*eslint indent: ["error", 2, { "offsetTernaryExpressions": true }]*/

condition
  ? () => {
      return true
    }
  : condition2
    ? () => {
        return true
      }
    : () => {
        return false
      }

ignoreComments

gzlG8jANWr4Hhb4/2Xwr978ldYsvZyCO2K9hsMZMJPt66oEWTecMyIzGIUi35qr1t9R+74w09zV3ISL9g04uUwiIuGfvsACkMDauE1CQw26aISD+eG6/38Sbww01zmij

/*eslint indent: ["error", 4, { "ignoreComments": true }] */

if (foo) {
    doSomething();

// comment intentionally de-indented
    doSomethingElse();
}

兼容性

    DT0lIXdKaso4G5pArZthj0CedztydQBl3JxotqNP4AB/IZWbXp+nDhAqlghESEXpmH4e7cmVJVazVdhL4DSJ9r981P2mqignYOABLDnX8P9D9FNJX5GLsDYOSOlfsG4jBrkOpz6mT2oq1QeFC0UvZxUqAmmUxPETnoGIIg47N350Z2wdSQewxt06xmQLPdsanPA0Hp+empFA5F4l/Uu6og==