Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upDocument project-specific styling configuration #502
Comments
This comment has been minimized.
This comment has been minimized.
|
Sounds to me like I don't use WebStorm, and I have no idea how to configure it the way you want. If you figure it out, please send a PR and we're happy to merge it |
feross
added
the
help wanted
label
Apr 27, 2016
This comment has been minimized.
This comment has been minimized.
|
For users of Atom I can recommend the linter-js-standard plugin which looks in your package.json and detects which standard package you are using |
This comment has been minimized.
This comment has been minimized.
|
It's been a few months and no one's taken this on yet, so I'm going to close it to keep the issue tracker clean. PR is still welcome, of course. |
feross
closed this
Jul 12, 2016
lock
bot
locked as resolved and limited conversation to collaborators
May 10, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
matthewadams commentedApr 27, 2016
When you work on multiple open source projects concurrently, it's a pain to have to keep changing your style settings as you switch between projects.
Your site is helpful with regard to setting up, say, WebStorm, for global code style preferences, however, I'm trying to configure project-specific settings so that my project will use
standard, regardless of any other IDE style settings. It appears that WebStorm does this via a JetBrains-supplied EditorConfig plugin: https://www.jetbrains.com/help/webstorm/2016.1/configuring-code-style.html#editorconfigThere is an npm module https://www.npmjs.com/package/eslint-to-editorconfig that is supposed to translate from
eslinttoeditorconfig, but I (and others) are running into sun1x/eslint-to-editorconfig#3.I thought it might be just that
eslint-to-editorconfig's dependencies needed to be updated -- the current release (1.1.1) depends oneslintversion^1.10.3, so I forked, cloned, branched and tried updating theeslintdependency to^2.8.0, but I'm still seeing the same error. I don't know if it's because Inpm linked from the fork thennpm link eslint-to-editorconfiged in the target project that caused the configuration parsing to fail.I'll continue trying to figure out the issue with sun1x/eslint-to-editorconfig#3, but it'd be helpful for you to document how to configure
standardto be used with various editors/IDEs (specifically WebStorm in my case) as project-specific settings as opposed to global settings.