Bug 530633 - Support eslint "indent"
Summary: Support eslint "indent"
Status: NEW
Alias: None
Product: Orion (Archived)
Classification: ECD
Component: JS Tools (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2018-02-01 15:18 EST by Carolyn MacLeod CLA
Modified: 2018-02-01 15:18 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carolyn MacLeod CLA 2018-02-01 15:18:48 EST
Some open source projects provide a .eslintrc.json file that specifies a specific type of "indent" code style: https://eslint.org/docs/rules/indent

Specifically, the one I tripped over is:
    "indent": [
      2,
      2,
      {
        "SwitchCase": 1
      }
    ],

Since Orion does not support this, contributions to open source projects that specify "indent" code style restrictions will fail CI testing.