ci: add eslint and update linting confs

This commit is contained in:
Deepesh Garg
2023-07-14 18:53:02 +05:30
parent 692bfccb6e
commit 924cdef6d9
96 changed files with 145 additions and 158 deletions

View File

@@ -1,6 +1,6 @@
// Copyright (c) 2016, Frappe Technologies Pvt. Ltd. and contributors
// For license information, please see license.txt
/* eslint-disable */
frappe.query_reports["Issue Analytics"] = {
"filters": [
@@ -93,11 +93,11 @@ frappe.query_reports["Issue Analytics"] = {
events: {
onCheckRow: function(data) {
if (data && data.length) {
row_name = data[2].content;
row_values = data.slice(3).map(function(column) {
let row_name = data[2].content;
let row_values = data.slice(3).map(function(column) {
return column.content;
})
entry = {
let entry = {
'name': row_name,
'values': row_values
}