Skip to content

Commit

Permalink
style: format JS files with prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
ankush committed Aug 4, 2022
1 parent 015937a commit 40f27f9
Show file tree
Hide file tree
Showing 560 changed files with 26,351 additions and 23,466 deletions.
34 changes: 17 additions & 17 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
module.exports = {
parserPreset: 'conventional-changelog-conventionalcommits',
parserPreset: "conventional-changelog-conventionalcommits",
rules: {
'subject-empty': [2, 'never'],
'type-case': [2, 'always', 'lower-case'],
'type-empty': [2, 'never'],
'type-enum': [
"subject-empty": [2, "never"],
"type-case": [2, "always", "lower-case"],
"type-empty": [2, "never"],
"type-enum": [
2,
'always',
"always",
[
'build',
'chore',
'ci',
'docs',
'feat',
'fix',
'perf',
'refactor',
'revert',
'style',
'test',
"build",
"chore",
"ci",
"docs",
"feat",
"fix",
"perf",
"refactor",
"revert",
"style",
"test",
],
],
},
Expand Down
12 changes: 6 additions & 6 deletions cypress/fixtures/child_table_doctype.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ export default {
fieldtype: "Data",
in_list_view: 1,
label: "Title",
unique: 1
}
unique: 1,
},
],
links: [],
istable: 1,
Expand All @@ -24,7 +24,7 @@ export default {
naming_rule: "By fieldname",
owner: "Administrator",
permissions: [],
sort_field: 'modified',
sort_order: 'ASC',
track_changes: 1
};
sort_field: "modified",
sort_order: "ASC",
track_changes: 1,
};
22 changes: 11 additions & 11 deletions cypress/fixtures/child_table_doctype_1.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,38 +12,38 @@ export default {
fieldname: "data",
fieldtype: "Data",
in_list_view: 1,
label: "Data"
label: "Data",
},
{
fieldname: "barcode",
fieldtype: "Barcode",
in_list_view: 1,
label: "Barcode"
label: "Barcode",
},
{
fieldname: "check",
fieldtype: "Check",
in_list_view: 1,
label: "Check"
label: "Check",
},
{
fieldname: "rating",
fieldtype: "Rating",
in_list_view: 1,
label: "Rating"
label: "Rating",
},
{
fieldname: "duration",
fieldtype: "Duration",
in_list_view: 1,
label: "Duration"
label: "Duration",
},
{
fieldname: "date",
fieldtype: "Date",
in_list_view: 1,
label: "Date"
}
label: "Date",
},
],
links: [],
istable: 1,
Expand All @@ -53,7 +53,7 @@ export default {
naming_rule: "By fieldname",
owner: "Administrator",
permissions: [],
sort_field: 'modified',
sort_order: 'ASC',
track_changes: 1
};
sort_field: "modified",
sort_order: "ASC",
track_changes: 1,
};
54 changes: 27 additions & 27 deletions cypress/fixtures/custom_submittable_doctype.js
Original file line number Diff line number Diff line change
@@ -1,53 +1,53 @@
export default {
name: 'Custom Submittable DocType',
name: "Custom Submittable DocType",
custom: 1,
actions: [],
is_submittable: 1,
creation: '2019-12-10 06:29:07.215072',
doctype: 'DocType',
creation: "2019-12-10 06:29:07.215072",
doctype: "DocType",
editable_grid: 1,
engine: 'InnoDB',
engine: "InnoDB",
fields: [
{
fieldname: 'enabled',
fieldtype: 'Check',
label: 'Enabled',
fieldname: "enabled",
fieldtype: "Check",
label: "Enabled",
allow_on_submit: 1,
reqd: 1
reqd: 1,
},
{
fieldname: 'title',
fieldtype: 'Data',
label: 'title',
reqd: 1
fieldname: "title",
fieldtype: "Data",
label: "title",
reqd: 1,
},
{
fieldname: 'description',
fieldtype: 'Text Editor',
label: 'Description'
}
fieldname: "description",
fieldtype: "Text Editor",
label: "Description",
},
],
links: [],
modified: '2019-12-10 14:40:53.127615',
modified_by: 'Administrator',
module: 'Custom',
owner: 'Administrator',
modified: "2019-12-10 14:40:53.127615",
modified_by: "Administrator",
module: "Custom",
owner: "Administrator",
permissions: [
{
create: 1,
delete: 1,
email: 1,
print: 1,
read: 1,
role: 'System Manager',
role: "System Manager",
share: 1,
write: 1,
submit: 1,
cancel: 1
}
cancel: 1,
},
],
quick_entry: 1,
sort_field: 'modified',
sort_order: 'ASC',
track_changes: 1
};
sort_field: "modified",
sort_order: "ASC",
track_changes: 1,
};
74 changes: 37 additions & 37 deletions cypress/fixtures/data_field_validation_doctype.js
Original file line number Diff line number Diff line change
@@ -1,65 +1,65 @@
export default {
name: 'Validation Test',
name: "Validation Test",
custom: 1,
actions: [],
creation: '2019-03-15 06:29:07.215072',
doctype: 'DocType',
creation: "2019-03-15 06:29:07.215072",
doctype: "DocType",
editable_grid: 1,
engine: 'InnoDB',
engine: "InnoDB",
fields: [
{
fieldname: 'email',
fieldtype: 'Data',
label: 'Email',
options: 'Email'
fieldname: "email",
fieldtype: "Data",
label: "Email",
options: "Email",
},
{
fieldname: 'URL',
fieldtype: 'Data',
label: 'URL',
options: 'URL'
fieldname: "URL",
fieldtype: "Data",
label: "URL",
options: "URL",
},
{
fieldname: 'Phone',
fieldtype: 'Data',
label: 'Phone',
options: 'Phone'
fieldname: "Phone",
fieldtype: "Data",
label: "Phone",
options: "Phone",
},
{
fieldname: 'person_name',
fieldtype: 'Data',
label: 'Person Name',
options: 'Name'
fieldname: "person_name",
fieldtype: "Data",
label: "Person Name",
options: "Name",
},
{
fieldname: 'read_only_url',
fieldtype: 'Data',
label: 'Read Only URL',
options: 'URL',
read_only: '1',
default: 'https://frappe.io'
}
fieldname: "read_only_url",
fieldtype: "Data",
label: "Read Only URL",
options: "URL",
read_only: "1",
default: "https://frappe.io",
},
],
issingle: 1,
links: [],
modified: '2021-04-19 14:40:53.127615',
modified_by: 'Administrator',
module: 'Custom',
owner: 'Administrator',
modified: "2021-04-19 14:40:53.127615",
modified_by: "Administrator",
module: "Custom",
owner: "Administrator",
permissions: [
{
create: 1,
delete: 1,
email: 1,
print: 1,
read: 1,
role: 'System Manager',
role: "System Manager",
share: 1,
write: 1
}
write: 1,
},
],
quick_entry: 1,
sort_field: 'modified',
sort_order: 'ASC',
track_changes: 1
sort_field: "modified",
sort_order: "ASC",
track_changes: 1,
};
48 changes: 24 additions & 24 deletions cypress/fixtures/datetime_doctype.js
Original file line number Diff line number Diff line change
@@ -1,48 +1,48 @@
export default {
name: 'DateTime Test',
name: "DateTime Test",
custom: 1,
actions: [],
creation: '2019-03-15 06:29:07.215072',
doctype: 'DocType',
creation: "2019-03-15 06:29:07.215072",
doctype: "DocType",
editable_grid: 1,
engine: 'InnoDB',
engine: "InnoDB",
fields: [
{
fieldname: 'date',
fieldtype: 'Date',
label: 'Date'
fieldname: "date",
fieldtype: "Date",
label: "Date",
},
{
fieldname: 'time',
fieldtype: 'Time',
label: 'Time'
fieldname: "time",
fieldtype: "Time",
label: "Time",
},
{
fieldname: 'datetime',
fieldtype: 'Datetime',
label: 'Datetime'
}
fieldname: "datetime",
fieldtype: "Datetime",
label: "Datetime",
},
],
issingle: 1,
links: [],
modified: '2019-12-09 14:40:53.127615',
modified_by: 'Administrator',
module: 'Custom',
owner: 'Administrator',
modified: "2019-12-09 14:40:53.127615",
modified_by: "Administrator",
module: "Custom",
owner: "Administrator",
permissions: [
{
create: 1,
delete: 1,
email: 1,
print: 1,
read: 1,
role: 'System Manager',
role: "System Manager",
share: 1,
write: 1
}
write: 1,
},
],
quick_entry: 1,
sort_field: 'modified',
sort_order: 'ASC',
track_changes: 1
sort_field: "modified",
sort_order: "ASC",
track_changes: 1,
};
Loading

0 comments on commit 40f27f9

Please sign in to comment.