Replace charting library Flotr2 with ChartJS using React. Fixes #3904

This commit is contained in:
Aditya Toshniwal
2020-07-29 14:49:22 +05:30
committed by Akshay Joshi
parent 5820b9521e
commit f715373218
25 changed files with 2004 additions and 826 deletions

View File

@@ -16,12 +16,17 @@ module.exports = {
},
'extends': [
'eslint:recommended',
'plugin:react/recommended',
],
'parserOptions': {
'ecmaVersion': 2018,
'ecmaFeatures': {
'jsx': true
},
'sourceType': 'module',
},
'plugins': [
'react'
],
'globals': {
'_': true,
@@ -49,4 +54,9 @@ module.exports = {
// We need to exclude below for RegEx case
"no-useless-escape": 0,
},
'settings': {
'react': {
'version': 'detect',
},
}
};