Factor ESLint definitions into reusable npm module

Description

Our move to ESLint with FLUID-5909 has been popular and successful. These linting rules are being shared across numerous modules across our projects, including kettle, the GPII core architecture and all the related gpii-xxxx projects. It would be helpful if we could centralise these rules in a shared repository - especially as with work like the review of https://github.com/GPII/universal/pull/463 we occasionally come up with the extra rule or tweak that it would be convenient to share rapidly.

Usefully enough, eslint supports exactly such a facility, explained in http://eslint.org/docs/developer-guide/shareable-configs - we should set up a small npm module, advisedly named "eslint-config-fluid" containing our .eslintrc file and reference it in the described way.

Environment

None

Activity

Show:

Justin Obara September 22, 2016 at 6:41 PM

Need to update the eslint settings with changes from this PR https://github.com/GPII/universal/pull/463

Fixed

Details

Assignee

Reporter

Components

Fix versions

Priority

Created September 19, 2016 at 11:58 PM
Updated July 12, 2019 at 1:16 PM
Resolved September 27, 2016 at 8:35 PM

Flag notifications