FLUID-6118: eslint-config-fluid should define a global for "fluid" not for the versioned namespace

Metadata

Source
FLUID-6118
Type
Bug
Priority
Major
Status
Closed
Resolution
Fixed
Assignee
N/A
Reporter
Justin Obara
Created
2017-01-25T10:38:58.839-0500
Updated
2018-06-07T06:58:15.045-0400
Versions
N/A
Fixed Versions
N/A
Component
  1. node module

Description

Currently the eslint-config-fluid configuration defines a global for the versioned namespace (i.e. fluid_2_0_0"). However, typically an external project will simply use the more general "fluid" namespace when they are using Infusion. For projects, such as Infusion itself, that do require a global for a versioned namespace, this should be set up as an extension to their eslint configuration in there own .eslintrc.json file.

current:

"globals": {
"fluid_2_0_0": true
}

should be:

"globals": {
"fluid": true
}