-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #332 from blaggacao/refactor-formatting
refactor formatting
- Loading branch information
Showing
82 changed files
with
1,230 additions
and
986 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,130 @@ | ||
{ | ||
"env": { | ||
"browser": true, | ||
"node": true, | ||
"es2022": true | ||
}, | ||
"parserOptions": { | ||
"sourceType": "module" | ||
}, | ||
"extends": "eslint:recommended", | ||
"rules": { | ||
"indent": "off", | ||
"brace-style": "off", | ||
"no-mixed-spaces-and-tabs": "off", | ||
"no-useless-escape": "off", | ||
"space-unary-ops": ["error", { "words": true }], | ||
"linebreak-style": "off", | ||
"quotes": ["off"], | ||
"semi": "off", | ||
"camelcase": "off", | ||
"no-unused-vars": "off", | ||
"no-console": ["warn"], | ||
"no-extra-boolean-cast": ["off"], | ||
"no-control-regex": ["off"] | ||
}, | ||
"root": true, | ||
"globals": { | ||
"frappe": true, | ||
"Vue": true, | ||
"SetVueGlobals": true, | ||
"erpnext": true, | ||
"hub": true, | ||
"$": true, | ||
"jQuery": true, | ||
"moment": true, | ||
"hljs": true, | ||
"Awesomplete": true, | ||
"CalHeatMap": true, | ||
"Sortable": true, | ||
"Showdown": true, | ||
"Taggle": true, | ||
"Gantt": true, | ||
"Slick": true, | ||
"PhotoSwipe": true, | ||
"PhotoSwipeUI_Default": true, | ||
"fluxify": true, | ||
"io": true, | ||
"c3": true, | ||
"__": true, | ||
"_p": true, | ||
"_f": true, | ||
"repl": true, | ||
"Class": true, | ||
"locals": true, | ||
"cint": true, | ||
"cstr": true, | ||
"cur_frm": true, | ||
"cur_dialog": true, | ||
"cur_page": true, | ||
"cur_list": true, | ||
"cur_tree": true, | ||
"cur_pos": true, | ||
"msg_dialog": true, | ||
"is_null": true, | ||
"in_list": true, | ||
"has_common": true, | ||
"posthog": true, | ||
"has_words": true, | ||
"validate_email": true, | ||
"open_web_template_values_editor": true, | ||
"get_number_format": true, | ||
"format_number": true, | ||
"format_currency": true, | ||
"round_based_on_smallest_currency_fraction": true, | ||
"roundNumber": true, | ||
"comment_when": true, | ||
"replace_newlines": true, | ||
"open_url_post": true, | ||
"toTitle": true, | ||
"lstrip": true, | ||
"strip": true, | ||
"strip_html": true, | ||
"replace_all": true, | ||
"flt": true, | ||
"precision": true, | ||
"md5": true, | ||
"CREATE": true, | ||
"AMEND": true, | ||
"CANCEL": true, | ||
"copy_dict": true, | ||
"get_number_format_info": true, | ||
"print_table": true, | ||
"Layout": true, | ||
"web_form_settings": true, | ||
"$c": true, | ||
"$a": true, | ||
"$i": true, | ||
"$bg": true, | ||
"$y": true, | ||
"$c_obj": true, | ||
"$c_obj_csv": true, | ||
"refresh_many": true, | ||
"refresh_field": true, | ||
"toggle_field": true, | ||
"get_field_obj": true, | ||
"get_query_params": true, | ||
"unhide_field": true, | ||
"hide_field": true, | ||
"set_field_options": true, | ||
"getCookie": true, | ||
"getCookies": true, | ||
"get_url_arg": true, | ||
"get_server_fields": true, | ||
"set_multiple": true, | ||
"QUnit": true, | ||
"Chart": true, | ||
"Cypress": true, | ||
"cy": true, | ||
"describe": true, | ||
"expect": true, | ||
"it": true, | ||
"context": true, | ||
"before": true, | ||
"beforeEach": true, | ||
"onScan": true, | ||
"extend_cscript": true, | ||
"localforage": true, | ||
"Plaid": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Any python files modifed but no test files modified | ||
needs-tests: | ||
- any: ['hrms/**/*.py'] | ||
all: ['!hrms/**/test*.py'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
name: "Pull Request Labeler" | ||
on: | ||
pull_request_target: | ||
types: [opened, reopened] | ||
|
||
jobs: | ||
triage: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/labeler@v4 | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,7 @@ | |
*.egg-info | ||
*.swp | ||
tags | ||
ecommerce_integrations/docs/current | ||
ecommerce_integrations/docs/current | ||
|
||
.aider* | ||
.helix |
Oops, something went wrong.