Skip to content

Commit 557a0a9

Browse files
committed
Removing instructions on how to fix no-global-jquery
1 parent f3994db commit 557a0a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

guides/rules/no-global-jquery.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# No Global jQuery
22

3-
**TL;DR** Do not use global `$` or `jQuery`. Use `Ember.$` instead.
3+
**TL;DR** Do not use global `$` or `jQuery`.
44

55
In general, we want application code to reference the version of jQuery that's been directly pinned
66
to the version of Ember used. This helps avoid version conflicts, and ensures that code inside modules

lib/rules/no-global-jquery.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
const { getEmberImportBinding } = require('../utils/imports');
77
const { collectObjectPatternBindings } = require('../utils/destructed-binding');
88

9-
const MESSAGE = 'Do not use global `$` or `jQuery`. Use `Ember.$` instead. Please see the following guide for more information: https://github.com/ember-best-practices/eslint-plugin-ember-best-practices/blob/master/guides/rules/no-global-jquery.md';
9+
const MESSAGE = 'Do not use global `$` or `jQuery`.';
1010
const ALIASES = ['$', 'jQuery'];
1111

1212
/**

0 commit comments

Comments
 (0)