Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add note about file-specific rules, ref #9

  • Loading branch information...
commit a2c7d19a4ad98e871e7f93e845444ef0e203affb 1 parent 2f186ab
@magnars authored
Showing with 12 additions and 0 deletions.
  1. +12 −0 README.md
View
12 README.md
@@ -206,6 +206,18 @@ For jshint:
}
};
+The rules in autolint.js are project-wide, but yYou can still have file and function specific rules, like this:
+
+ /*jslint bitwise:true*/
+
+Adding it to the top of the file will allow bitwise operators in the entire file, or you can add it to a single function:
+
+ function justHere() {
+ /*jslint bitwise:true*/
+ return 1 << 1;
+ }
+
+
Contribute
----------
If you want to help out with features or bug fixes, that's awesome.
Please sign in to comment.
Something went wrong with that request. Please try again.