Skip to content

Commit

Permalink
Link to rule source in docs (#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
edg2s authored and jdforrester committed Oct 15, 2019
1 parent ee5fbce commit 693e81f
Show file tree
Hide file tree
Showing 92 changed files with 276 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/no-ajax-events.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,6 @@ form.on( 'ajaxSend' );
form.ajaxSend();
$.ajaxSend();
```
## Rule source

* [rules/no-ajax-events.js](../rules/no-ajax-events.js)
3 changes: 3 additions & 0 deletions docs/no-ajax.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,6 @@ post();
div.post();
div.post;
```
## Rule source

* [rules/no-ajax.js](../rules/no-ajax.js)
3 changes: 3 additions & 0 deletions docs/no-and-self.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,6 @@ $( 'div' ).andSelf( '.foo' ); /* → */ $( 'div' ).addBack( '.foo' );
$div.andSelf( '.foo' ); /**/ $div.addBack( '.foo' );
$( 'div' ).first().andSelf(); /**/ $( 'div' ).first().addBack();
```
## Rule source

* [rules/no-and-self.js](../rules/no-and-self.js)
3 changes: 3 additions & 0 deletions docs/no-animate-toggle.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,6 @@ $div.toggle( getBoolean() );
$( 'div' ).toggle();
$( 'div' ).toggle;
```
## Rule source

* [rules/no-animate-toggle.js](../rules/no-animate-toggle.js)
3 changes: 3 additions & 0 deletions docs/no-animate.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,6 @@ $div.animate( { scrollTop: 100 } );
$div.animate( { scrollLeft: 200 } );
$div.animate( { scrollTop: 100, scrollLeft: 200 } );
```
## Rule source

* [rules/no-animate.js](../rules/no-animate.js)
3 changes: 3 additions & 0 deletions docs/no-attr.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,6 @@ div.attr;
removeAttr();
div.removeAttr;
```
## Rule source

* [rules/no-attr.js](../rules/no-attr.js)
3 changes: 3 additions & 0 deletions docs/no-bind.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ div.bind();
div.bind;
$div.remove.bind( $div );
```
## Rule source

* [rules/no-bind.js](../rules/no-bind.js)
3 changes: 3 additions & 0 deletions docs/no-box-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ a.boxModel;
boxModel.foo;
a.boxModel.foo;
```
## Rule source

* [rules/no-box-model.js](../rules/no-box-model.js)
3 changes: 3 additions & 0 deletions docs/no-browser.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ a.browser;
browser.foo;
a.browser.foo;
```
## Rule source

* [rules/no-browser.js](../rules/no-browser.js)
3 changes: 3 additions & 0 deletions docs/no-camel-case.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ camelCase();
myClass.camelCase();
$div.camelCase();
```
## Rule source

* [rules/no-camel-case.js](../rules/no-camel-case.js)
3 changes: 3 additions & 0 deletions docs/no-class-state.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,6 @@ div.toggleClass;
$div.toggleClass( 'myClass', true );
$div.toggleClass( 'myClass', false );
```
## Rule source

* [rules/no-class-state.js](../rules/no-class-state.js)
3 changes: 3 additions & 0 deletions docs/no-class.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,6 @@ toggleClass();
div.toggleClass();
div.toggleClass;
```
## Rule source

* [rules/no-class.js](../rules/no-class.js)
3 changes: 3 additions & 0 deletions docs/no-clone.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ $div.prop.clone();
$div.prop.clone();
$div[ 0 ].clone();
```
## Rule source

* [rules/no-clone.js](../rules/no-clone.js)
3 changes: 3 additions & 0 deletions docs/no-closest.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ closest();
div.closest();
div.closest;
```
## Rule source

* [rules/no-closest.js](../rules/no-closest.js)
3 changes: 3 additions & 0 deletions docs/no-constructor-attributes.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ $( '<div>', ownerDocument );
$( '<div/>', ownerDocument );
$div.add( '<div>', context );
```
## Rule source

* [rules/no-constructor-attributes.js](../rules/no-constructor-attributes.js)
3 changes: 3 additions & 0 deletions docs/no-contains.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ contains();
myClass.contains();
$div.contains();
```
## Rule source

* [rules/no-contains.js](../rules/no-contains.js)
3 changes: 3 additions & 0 deletions docs/no-context-prop.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,6 @@ $div.prop.context;
$div.context();
$div.context( arg );
```
## Rule source

* [rules/no-context-prop.js](../rules/no-context-prop.js)
3 changes: 3 additions & 0 deletions docs/no-css.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ css();
div.css();
div.css;
```
## Rule source

* [rules/no-css.js](../rules/no-css.js)
3 changes: 3 additions & 0 deletions docs/no-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ removeData();
div.removeData();
div.removeData;
```
## Rule source

* [rules/no-data.js](../rules/no-data.js)
3 changes: 3 additions & 0 deletions docs/no-deferred.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ new Deferred();
'test'.Deferred();
'test'.Deferred;
```
## Rule source

* [rules/no-deferred.js](../rules/no-deferred.js)
3 changes: 3 additions & 0 deletions docs/no-delegate.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ delegate();
div.delegate();
div.delegate;
```
## Rule source

* [rules/no-delegate.js](../rules/no-delegate.js)
3 changes: 3 additions & 0 deletions docs/no-die.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ die();
div.die();
div.die;
```
## Rule source

* [rules/no-die.js](../rules/no-die.js)
3 changes: 3 additions & 0 deletions docs/no-each-collection.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ div.each();
div.each;
$.each();
```
## Rule source

* [rules/no-each-collection.js](../rules/no-each-collection.js)
3 changes: 3 additions & 0 deletions docs/no-each-util.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ $div.each();
$( 'div' ).first().each();
$( 'div' ).append( $( 'input' ).each() );
```
## Rule source

* [rules/no-each-util.js](../rules/no-each-util.js)
3 changes: 3 additions & 0 deletions docs/no-each.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ each();
div.each();
div.each;
```
## Rule source

* [rules/no-each.js](../rules/no-each.js)
3 changes: 3 additions & 0 deletions docs/no-error-shorthand.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,6 @@ $.error();
$( 'div' ).error( handler ); /**/ $( 'div' ).on( 'error', handler );
$div.error(); /**/ $div.trigger( 'error' );
```
## Rule source

* [rules/no-error-shorthand.js](../rules/no-error-shorthand.js)
3 changes: 3 additions & 0 deletions docs/no-error.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ nodeName();
myClass.nodeName();
$div.nodeName();
```
## Rule source

* [rules/no-error.js](../rules/no-error.js)
3 changes: 3 additions & 0 deletions docs/no-event-shorthand.md
Original file line number Diff line number Diff line change
Expand Up @@ -497,3 +497,6 @@ this.prop.$div.ajaxSend( handler ); /* → */ this.prop.$div.on( '
$( 'div' ).first().ajaxSend(); /**/ $( 'div' ).first().trigger( 'ajaxSend' );
$( 'div' ).append( $( 'input' ).ajaxSend() ); /**/ $( 'div' ).append( $( 'input' ).trigger( 'ajaxSend' ) );
```
## Rule source

* [rules/no-event-shorthand.js](../rules/no-event-shorthand.js)
3 changes: 3 additions & 0 deletions docs/no-extend.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,6 @@ myMethod.extend;
```js
$.extend( true, {}, foo );
```
## Rule source

* [rules/no-extend.js](../rules/no-extend.js)
3 changes: 3 additions & 0 deletions docs/no-fade.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,6 @@ fadeToggle();
div.fadeToggle();
div.fadeToggle;
```
## Rule source

* [rules/no-fade.js](../rules/no-fade.js)
3 changes: 3 additions & 0 deletions docs/no-filter.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ filter();
div.filter();
div.filter;
```
## Rule source

* [rules/no-filter.js](../rules/no-filter.js)
3 changes: 3 additions & 0 deletions docs/no-find.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ div.find;
$.extend().find();
$div.myPlugin( 'foo' ).find();
```
## Rule source

* [rules/no-find.js](../rules/no-find.js)
3 changes: 3 additions & 0 deletions docs/no-fx-interval.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ $.interval;
a.fx.interval;
$.fx;
```
## Rule source

* [rules/no-fx-interval.js](../rules/no-fx-interval.js)
3 changes: 3 additions & 0 deletions docs/no-global-eval.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ globalEval();
'test'.globalEval();
'test'.globalEval;
```
## Rule source

* [rules/no-global-eval.js](../rules/no-global-eval.js)
3 changes: 3 additions & 0 deletions docs/no-global-selector.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,6 @@ $( undefined );
$( false );
$( '#' );
```
## Rule source

* [rules/no-global-selector.js](../rules/no-global-selector.js)
3 changes: 3 additions & 0 deletions docs/no-grep.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ grep();
'test'.grep();
'test'.grep;
```
## Rule source

* [rules/no-grep.js](../rules/no-grep.js)
3 changes: 3 additions & 0 deletions docs/no-has.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ has();
div.has();
div.has;
```
## Rule source

* [rules/no-has.js](../rules/no-has.js)
3 changes: 3 additions & 0 deletions docs/no-hide.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ hide();
div.hide();
div.hide;
```
## Rule source

* [rules/no-hide.js](../rules/no-hide.js)
3 changes: 3 additions & 0 deletions docs/no-hold-ready.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ holdReady();
'test'.holdReady();
'test'.holdReady;
```
## Rule source

* [rules/no-hold-ready.js](../rules/no-hold-ready.js)
3 changes: 3 additions & 0 deletions docs/no-html.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ html();
div.html();
div.html;
```
## Rule source

* [rules/no-html.js](../rules/no-html.js)
3 changes: 3 additions & 0 deletions docs/no-in-array.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ inArray();
'test'.inArray();
'test'.inArray;
```
## Rule source

* [rules/no-in-array.js](../rules/no-in-array.js)
3 changes: 3 additions & 0 deletions docs/no-is-array.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ isArray();
```js
$.isArray( [] ); /**/ Array.isArray( [] );
```
## Rule source

* [rules/no-is-array.js](../rules/no-is-array.js)
3 changes: 3 additions & 0 deletions docs/no-is-empty-object.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ isEmptyObject();
myClass.isEmptyObject();
$div.isEmptyObject();
```
## Rule source

* [rules/no-is-empty-object.js](../rules/no-is-empty-object.js)
3 changes: 3 additions & 0 deletions docs/no-is-function.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ isFunction();
myClass.isFunction();
$div.isFunction();
```
## Rule source

* [rules/no-is-function.js](../rules/no-is-function.js)
3 changes: 3 additions & 0 deletions docs/no-is-numeric.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ isNumeric();
myClass.isNumeric();
$div.isNumeric();
```
## Rule source

* [rules/no-is-numeric.js](../rules/no-is-numeric.js)
3 changes: 3 additions & 0 deletions docs/no-is-plain-object.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ isPlainObject();
myClass.isPlainObject();
$div.isPlainObject();
```
## Rule source

* [rules/no-is-plain-object.js](../rules/no-is-plain-object.js)
3 changes: 3 additions & 0 deletions docs/no-is-window.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ $.isWindow();
isWindow();
myClass.isWindow();
```
## Rule source

* [rules/no-is-window.js](../rules/no-is-window.js)
3 changes: 3 additions & 0 deletions docs/no-is.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ is();
div.is();
div.is;
```
## Rule source

* [rules/no-is.js](../rules/no-is.js)
3 changes: 3 additions & 0 deletions docs/no-live.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ live();
div.live();
div.live;
```
## Rule source

* [rules/no-live.js](../rules/no-live.js)
3 changes: 3 additions & 0 deletions docs/no-load-shorthand.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,6 @@ $div.load( couldBeUrl );
$( 'div' ).load( function () {} ); /**/ $( 'div' ).on( 'load', function () {} );
$div.load(); /**/ $div.trigger( 'load' );
```
## Rule source

* [rules/no-load-shorthand.js](../rules/no-load-shorthand.js)
3 changes: 3 additions & 0 deletions docs/no-load.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@ div.load();
div.load;
$.load();
```
## Rule source

* [rules/no-load.js](../rules/no-load.js)
3 changes: 3 additions & 0 deletions docs/no-map-collection.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ div.map;
$.map();
$( 'select' ).val().map();
```
## Rule source

* [rules/no-map-collection.js](../rules/no-map-collection.js)
3 changes: 3 additions & 0 deletions docs/no-map-util.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,6 @@ $( 'div' ).first().map();
$( 'div' ).append( $( 'input' ).map() );
$( 'select' ).val().map();
```
## Rule source

* [rules/no-map-util.js](../rules/no-map-util.js)
3 changes: 3 additions & 0 deletions docs/no-map.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,6 @@ div.map;
$( 'div' ).toArray().map();
$( 'select' ).val().map();
```
## Rule source

* [rules/no-map.js](../rules/no-map.js)
3 changes: 3 additions & 0 deletions docs/no-merge.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ merge();
'test'.merge();
'test'.merge;
```
## Rule source

* [rules/no-merge.js](../rules/no-merge.js)
3 changes: 3 additions & 0 deletions docs/no-node-name.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,6 @@ nodeName();
myClass.nodeName();
$div.nodeName();
```
## Rule source

* [rules/no-node-name.js](../rules/no-node-name.js)
3 changes: 3 additions & 0 deletions docs/no-noop.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ foo.noop( bar );
$.noop; /* → */ ( function () {} );
$.noop(); /* → */ ( function () {}() );
```
## Rule source

* [rules/no-noop.js](../rules/no-noop.js)
Loading

0 comments on commit 693e81f

Please sign in to comment.