File tree Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Expand file tree Collapse file tree 2 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -180,9 +180,11 @@ grunt.initConfig({
180
180
```
181
181
182
182
``` js
183
- // jscs:allowNamesAsIdentifiers EOL
184
- var EOL = require (' os' ).EOL ;
185
- // jscs:disallowNamesAsIdentifiers EOL
183
+ // jscs:allowWords mx
184
+ dsn .resolveMx (' example.com' , function (error , addresses ) {
185
+ var mx = addresses[0 ];
186
+ });
187
+ // jscs:disallowWords mx
186
188
187
- if (age > 80 ) var reachingEol = true ; // invalid
189
+ var mx = Math . max ( 5 , 0 ) ; // invalid
188
190
```
Original file line number Diff line number Diff line change 137
137
* ```
138
138
*
139
139
* ```js
140
- * // jscs:allowNamesAsIdentifiers EOL
141
- * var EOL = require('os').EOL;
142
- * // jscs:disallowNamesAsIdentifiers EOL
140
+ * // jscs:allowWords mx
141
+ * dsn.resolveMx('example.com', function (error, addresses) {
142
+ * var mx = addresses[0];
143
+ * });
144
+ * // jscs:disallowWords mx
143
145
*
144
- * if (age > 80) var reachingEol = true ; // invalid
146
+ * var mx = Math.max(5, 0) ; // invalid
145
147
* ```
146
148
*/
147
149
You can’t perform that action at this time.
0 commit comments