forked from openemr/openemr
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(eslint): ESLint setup (openemr#6708)
* chore(eslint): ESLint setup * fix(portal): fix lint error in signer_api * fix(library): disable no-constant-condition error in textformat * fix(library): disable no-cond-assign error in validate_extend * fix(library): disable no-inner-declarations error in utility * fix(library): fix lint error in html * fix(library): fix lint errors in clickmap * fix(library): fix lint errors in ajax_functions_writer * fix(library): fix lint errors in dialog * fix(interface): fix lint errors in product_registration_service * fix(interface): disable no-unused-labels in autosuggest * fix(interface): fix lint errors in sendTo * fix(interface): fix lint errors in oe-module-comlink-telehealth * fix(interface): fix lint errors in tabs * fix(interface): fix lint errors in fee_sheet_core * fix(gulp): fix lint errors in gulpfile * fix(ccdaservice): fix lint errors * chore(eslint): pin package versions * chore(interface): rebuild telehealth.min.js * feat(ci): add step for ESLint
- Loading branch information
1 parent
e05dd26
commit 7de6b61
Showing
34 changed files
with
2,042 additions
and
136 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,21 @@ | ||
node_modules | ||
interface/forms/eye_mag/js | ||
interface/forms/questionnaire_assessments/lforms | ||
interface/main/calendar/modules/PostCalendar/pnincludes/*.js | ||
interface/modules/custom_modules/oe-module-comlink-telehealth/public/assets/js/dist | ||
interface/modules/custom_modules/oe-module-comlink-telehealth/public/assets/js/src/cvb.min.js | ||
interface/modules/zend_modules/public/js/lib/**/*.js | ||
interface/super/rules/www/js/cdr-multiselect | ||
interface/super/rules/www/js/jQuery.autocomplete.js | ||
interface/super/rules/www/js/jQuery.fn.sortElements.js | ||
library/ESign/js/jquery.esign.js | ||
library/js/vendors/validate/validate_modified.js | ||
library/js/xl/**/*.js | ||
library/js/u2f-api.js | ||
library/js/SearchHighlight.js | ||
library/js/DocumentTreeMenu.js | ||
library/js/CategoryTreeMenu.js | ||
portal/sign/assets/signature_pad.umd.js | ||
portal/patient/scripts | ||
public/assets | ||
swagger |
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,24 @@ | ||
{ | ||
"env": { | ||
"browser": true, | ||
"commonjs": true, | ||
"es6": true, | ||
"jquery": true | ||
}, | ||
"extends": ["eslint:recommended"], | ||
"globals": { | ||
"Atomics": "readonly", | ||
"SharedArrayBuffer": "readonly" | ||
}, | ||
"parserOptions": { | ||
"ecmaVersion": "latest", | ||
"sourceType": "module" | ||
}, | ||
"rules": { | ||
"no-undef": "warn", | ||
"no-unused-vars": "warn", | ||
"no-redeclare": "warn", | ||
"no-useless-escape": "warn", | ||
"no-mixed-spaces-and-tabs": "warn" | ||
} | ||
} |
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
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
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
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
Oops, something went wrong.