question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

New features: work with `editorconfig`

See original GitHub issue

I usually use eslint and editorconfig together, So I need a option property for these rules, let them use configuration of editorconfig

  • indent
  • no-trailing-spaces
  • eol-last

I hope this option property is enabled by default, If configuration property of editorconfig is missing, please use the same logic as before.

see https://www.npmjs.com/package/editorconfig

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:13 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
platinumazurecommented, Sep 8, 2016

I would love to see eslint --init support creating a config from .editorconfig file. Not sure we want to couple normal execution to this, though. Another thought, maybe a third-party tool could detect differences between ESLint and .editorconfig and help keep ESLint in sync.

1reaction
nzakascommented, Sep 22, 2016

I’m not clear on what is being requested here, can someone please summarize?

As a note: I don’t think it’s a good idea for ESLint to either consume or produce configuration files other than its own. If you want to use a different type of configuration file to populate an ESLint configuration file, your best bet is to use a JavaScript ESLint configuration file, read in the editorconfig file, and populate whatever options you want.

Read more comments on GitHub >

github_iconTop Results From Across the Web

EditorConfig
EditorConfig is a file format and collection of text editor plugins for maintaining consistent coding styles between different editors and IDEs.
Read more >
EditorConfig settings - Visual Studio (Windows) - Microsoft Learn
Learn how to add an EditorConfig file to your project or codebase to enforce consistent coding styles for everyone that works in the...
Read more >
New features: work with `editorconfig` · Issue #1890 - GitHub
I usually use stylelint and editorconfig together, So I need a option property for these rules, let them use configuration of editorconfig.
Read more >
Forcing The Use of C# 10 Features using .editorconfig
We discussed the use of . editorconfig files and how we can use them to upgrade our code to use the latest C#...
Read more >
Working with EditorConfigs - IntelliJ IDEA Guide - JetBrains
Ensuring EditorConfig File Functionality is Enabled ... To use EditorConfig files in IntelliJ IDEA you need to make sure that the EditorConfig ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found