File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -180,9 +180,11 @@ grunt.initConfig({
180180```
181181
182182``` 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
186188
187- if (age > 80 ) var reachingEol = true ; // invalid
189+ var mx = Math . max ( 5 , 0 ) ; // invalid
188190```
Original file line number Diff line number Diff line change 137137 * ```
138138 *
139139 * ```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
143145 *
144- * if (age > 80) var reachingEol = true ; // invalid
146+ * var mx = Math.max(5, 0) ; // invalid
145147 * ```
146148 */
147149
You can’t perform that action at this time.
0 commit comments