sharable eslint configuration with atom.io
obara.justin at gmail.com
Thu Sep 29 14:21:17 UTC 2016
For infusion and other fluid projects we are making the switch to a sharable
eslint configuration <https://www.npmjs.com/package/eslint-config-fluid>.
(see: FLUID-596 <https://issues.fluidproject.org/browse/FLUID-5963> ) This
is fairly easy to setup within a project and should have no affect on how
you run linting via the command line, although you may need to run another
“npm install” to get all of the latest dependencies.
However, I have come across an issue with the Atom.io editor. I’m using the
linter-eslint package to do linting as I work. It was throwing an error
that eslint-config-fluid could not be found. It seems that this is related
to how the linter works and is packaged with eslint. Rather than using the
one in your project it uses a version it comes bundled with itself. The
solution to the problem is to change the plugin to use a globally installed
instance. You’ll also need to install the eslint-config-fluid module
globally as well.
Hope that helps
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fluid-work