Logo
Explore Help
Sign In
IntenseWebs/discourse
3
0
Fork 0
You've already forked discourse
mirror of https://github.com/discourse/discourse.git synced 2025-02-25 18:55:32 -06:00
Code Issues Packages Projects Releases Wiki Activity
Files
5ce006aea1c1c24595dbeea04f0c2a15cfac6501
discourse/.eslintrc

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
243 B
Plaintext
Raw Normal View History

Ember 1.12 support
2015-08-11 17:34:02 -04:00
{
DEV: Ember linting - disallow Ember.* variable usage (#8782)
2020-02-05 10:14:42 -06:00
"extends": "eslint-config-discourse",
"rules": {
"discourse-ember/global-ember": 2
REFACTOR: Import `QUnit` and related helpers rather than globals We used many global functions to handle tests when they should be imported like other libraries in our application. This also gets us closer to the way Ember CLI prefers our tests to be laid out.
2020-10-06 12:54:05 -04:00
},
"globals": {
"moduleFor": "off",
"moduleForComponent": "off",
"testStart": "off",
REFACTOR: Use imports for `sinon` and `setResolver` I also took the opportunity with this commit to move some test specific stuff out of `discourse-loader` which is loaded on the front end of the application. The test module building now happens in the `test_helper` bundle.
2020-10-09 12:00:46 -04:00
"testDone": "off",
REFACTOR: Import `visit` helper rather than using a global variable
2020-10-14 16:10:38 -04:00
"sinon": "off",
DEV: Ember linting - disallow Ember.* variable usage (#8782)
2020-02-05 10:14:42 -06:00
}
Ember 1.12 support
2015-08-11 17:34:02 -04:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 183ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API