Skip to content

Is there any way I can get an .eslintrc JSON file that contains all the JavaScript Style Guide rules? #1496

@wujekbogdan

Description

@wujekbogdan

Hi,

I'd like to use the eslint-config-airbnb-base rules in PHPStorm (as default settings for their great auto-formatter). In the newest 2017.2 release they have introduced a feature that allows for .eslintrc rules importing... but from what I can see the importer can't deal with .eslintrc.js files - which is not a big problem, but also it is not able to parse extends - which is a problem.

So we still can't import eslint settings from the eslint-config-airbnb-base module installed with NPM.

So I'm looking for a simple, raw .eslintrc JSON file that contains all the eslint-config-airbnb-base rules. I could import this file with PHPStorm. Is there any place I could find (or generate?) such file?


BTW
Maybe you could get in touch with JetBrains guys and convince them to include the airbnb style guide as one of their code styles presets? At the moment we can choose from "JavaScript Standard Guide", "Google JavaScript Style Guide" and "Drupal JavaScript Guide" (btw, does anyone use it except Drupal core developers?). Airbnb style guide is the second, most popular JS guide, so it's a shame that JetBrains devs didn't include this preset.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions