Skip to content

Commit f3a6f3b

Browse files
authored
Merge pull request #45 from kturney/typo-fixes
Typo Fixes
2 parents 118a168 + 93505eb commit f3a6f3b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

lib/rules/no-attrs-snapshot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function hasAttrsSnapShot(node) {
1919
return (methodName === 'didReceiveAttrs' || methodName === 'didUpdateAttrs') && hasParams;
2020
}
2121

22-
const MESSAGE = 'Do not use the attrs snapshot that is passed in `didReceiveAttrs` and `didUpdateAttrs`. Please see the following guide for more infromation: https://github.com/chadhietala/ember-best-practices/blob/master/guides/rules/no-attrs-snapshot.md';
22+
const MESSAGE = 'Do not use the attrs snapshot that is passed in `didReceiveAttrs` and `didUpdateAttrs`. Please see the following guide for more information: https://github.com/chadhietala/ember-best-practices/blob/master/guides/rules/no-attrs-snapshot.md';
2323

2424
module.exports = {
2525
docs: {

lib/rules/no-attrs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function isAttrs(node) {
1313
return node.property.name === 'attrs' && node.object.type === 'ThisExpression';
1414
}
1515

16-
const MESSAGE = 'Do not use this.attrs. Please see the following guide for more infromation: https://github.com/chadhietala/ember-best-practices/blob/master/guides/rules/no-attrs.md';
16+
const MESSAGE = 'Do not use this.attrs. Please see the following guide for more information: https://github.com/chadhietala/ember-best-practices/blob/master/guides/rules/no-attrs.md';
1717

1818
module.exports = {
1919
docs: {

lib/rules/no-global-jquery.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ function isGlobalJquery(node) {
1313
return node.callee && node.callee.name === '$';
1414
}
1515

16-
const MESSAGE = 'Do not use global `$`. Use `Ember.$` instead. Please see the following guide for more infromation: https://github.com/chadhietala/ember-best-practices/blob/master/guides/rules/no-global-jquery.md';
16+
const MESSAGE = 'Do not use global `$`. Use `Ember.$` instead. Please see the following guide for more information: https://github.com/chadhietala/ember-best-practices/blob/master/guides/rules/no-global-jquery.md';
1717

1818
module.exports = {
1919
docs: {

lib/rules/no-side-effect-cp.js

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

1111
let SIDE_EFFECTS = ['this.send', 'this.sendAction', 'this.sendEvent', 'Em.sendEvent', 'Ember.sendEvent', 'this.trigger', 'this.set', 'Ember.set', 'Em.set', 'this.setProperties', 'Ember.setProperties', 'Em.setProperties'];
1212

13-
const MESSAGE = 'Do not send events or actions in Computed Properties. This will cause data flow issues in the application, where the accessing of a property causes some side-effect. You should only send actions on behalf of user initiated events. Please see the following guide for more infromation: https://github.com/chadhietala/ember-best-practices/blob/master/guides/rules/no-side-effect-cp.md';
13+
const MESSAGE = 'Do not send events or actions in Computed Properties. This will cause data flow issues in the application, where the accessing of a property causes some side-effect. You should only send actions on behalf of user initiated events. Please see the following guide for more information: https://github.com/chadhietala/ember-best-practices/blob/master/guides/rules/no-side-effect-cp.md';
1414

1515
module.exports = {
1616
docs: {

0 commit comments

Comments
 (0)