diff --git a/.eslintrc.js b/.eslintrc.js
index 5417bdc63..fa27ac221 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -38,21 +38,21 @@ module.exports = {
],
// 0 = off, 1 = warn, 2 = error
rules: {
- 'arrow-parens': [2, 'as-needed', { 'requireForBlockBody': true }],
- 'camelcase': [0],
+ 'arrow-parens': [2, 'as-needed', { requireForBlockBody: true }],
+ camelcase: [0],
'comma-dangle': [2, {
- 'arrays': 'only-multiline',
- 'objects': 'only-multiline',
- 'functions': 'ignore'
+ arrays: 'only-multiline',
+ objects: 'only-multiline',
+ functions: 'ignore'
}],
'func-names': [0],
- 'indent': [1, 'tab', {
- 'SwitchCase': 1,
- 'ignoredNodes': ['TemplateLiteral']
+ indent: [1, 'tab', {
+ SwitchCase: 1,
+ ignoredNodes: ['TemplateLiteral']
}],
'lines-between-class-members': [1],
'max-len': [0],
- 'newline-per-chained-call': [0, { 'ignoreChainWithDepth': 2 }],
+ 'newline-per-chained-call': [0, { ignoreChainWithDepth: 2 }],
'no-nested-ternary': [0],
'no-param-reassign': ['error', {
props: true,
@@ -91,13 +91,13 @@ module.exports = {
'react/jsx-fragments': [1, 'element'],
'react/sort-comp': [1, {
order: [
- "static-variables",
- "instance-variables",
- "constructor",
- "static-methods",
- "lifecycle",
- "everything-else",
- "render"
+ 'static-variables',
+ 'instance-variables',
+ 'constructor',
+ 'static-methods',
+ 'lifecycle',
+ 'everything-else',
+ 'render'
]
}],
@@ -109,8 +109,8 @@ module.exports = {
'jsx-a11y/mouse-events-have-key-events': [0],
'jsx-a11y/no-noninteractive-element-interactions': [0],
'jsx-a11y/no-static-element-interactions': [0],
- 'jsx-a11y/label-has-associated-control': [0], //ToDo: enable this check. Throws 2 errors, should work.
- 'jsx-a11y/media-has-caption': [0], //ToDo: enable this check. Need Captions to enable.
- 'jsx-a11y/anchor-has-content': [0], //ToDo: enable this check. Need anchor text to enable.
+ 'jsx-a11y/label-has-associated-control': [1], // ToDo: enable this check. Throws 2 errors, should work.
+ 'jsx-a11y/media-has-caption': [1], // ToDo: enable this check. Need Captions to enable.
+ 'jsx-a11y/anchor-has-content': [1], // ToDo: enable this check. Need anchor text to enable.
},
};
diff --git a/app/hub/Views/TutorialViews/TutorialVideoView/TutorialVideoView.jsx b/app/hub/Views/TutorialViews/TutorialVideoView/TutorialVideoView.jsx
index 954fc51fc..27fe4443c 100644
--- a/app/hub/Views/TutorialViews/TutorialVideoView/TutorialVideoView.jsx
+++ b/app/hub/Views/TutorialViews/TutorialVideoView/TutorialVideoView.jsx
@@ -35,6 +35,7 @@ const TutorialVideoView = () => (