-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IN-65][Preprints] Add ESlint, Fix Errors (#565)
* merge Enable Eslint First eslint pass Fix eslint issues Undo lint fix and disable * Fix merge issues * Use latest ember-osf * Add coverage.js and bump ember-cli-code-coverage version * Fix more ESlint, packages, and remove unneeded comments * Fix sendAction issue, toggles, and css * Add daterangepicker back to ember-cli-build
- Loading branch information
1 parent
1222452
commit 8b38417
Showing
151 changed files
with
3,780 additions
and
3,259 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 |
---|---|---|
@@ -1,16 +1,7 @@ | ||
module.exports = { | ||
root: true, | ||
parserOptions: { | ||
ecmaVersion: 6, | ||
sourceType: 'module' | ||
}, | ||
extends: 'eslint:recommended', | ||
env: { | ||
browser: true, | ||
es6: true | ||
}, | ||
extends: '@centerforopenscience/eslint-config/ember', | ||
globals: { | ||
MathJax: true | ||
MathJax: true, | ||
}, | ||
rules: {} | ||
}; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ export default Component.extend(Analytics, { | |
classNames: ['preprint-header', 'preprint-header-error'], | ||
label: '', | ||
translationKey: '', | ||
supportEmail: computed('theme.isProvider', 'theme.provider.emailSupport', function() { | ||
supportEmail: computed('theme.{isProvider,provider.emailSupport}', function() { | ||
return this.get('theme.isProvider') ? this.get('theme.provider.emailSupport') : '[email protected]'; | ||
}) | ||
}), | ||
}); |
Oops, something went wrong.