diff options
author | Michal Čihař <mcihar@suse.cz> | 2013-04-15 18:09:16 +0400 |
---|---|---|
committer | Michal Čihař <mcihar@suse.cz> | 2013-04-15 18:20:04 +0400 |
commit | b044cfc3b2b3c1a92d1bf61d00d23edf107d5534 (patch) | |
tree | fb21f45adf61cf74561b39c9a5099139de7aac45 /.jshintrc | |
parent | 505a5a36566f57456303552936fdb55abec6ebef (diff) |
Use own jshint configuration
Diffstat (limited to '.jshintrc')
-rw-r--r-- | .jshintrc | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.jshintrc b/.jshintrc new file mode 100644 index 0000000000..1e6437042d --- /dev/null +++ b/.jshintrc @@ -0,0 +1,19 @@ +{ + // Globals + "jquery" : true, + + // Stricter checking + "curly" : true, + "immed" : true, + "indent" : 4, + "latedef" : true, + "noarg" : true, + "noempty" : true, + "unused" : true, + "trailing" : true, + + // Relaxing rules + "sub" : false, + "funcscope" : false, + "laxbreak" : false +} |