Bug 530631 - Support eslint brace-style
Summary: Support eslint brace-style
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:01 EST by Carolyn MacLeod CLA
Modified: 2018-02-01 15:01 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:01:35 EST
Some open source projects provide a .eslintrc.json file that specifies a specific type of brace-style: https://eslint.org/docs/rules/brace-style

Specifically, the one I tripped over is:
    "brace-style": [
      2,
      "stroustrup",
      {
        "allowSingleLine": true
      }
    ],

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