Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpmyadmin/phpmyadmin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Čihař <mcihar@suse.cz>2013-04-15 18:09:16 +0400
committerMichal Čihař <mcihar@suse.cz>2013-04-15 18:20:04 +0400
commitb044cfc3b2b3c1a92d1bf61d00d23edf107d5534 (patch)
treefb21f45adf61cf74561b39c9a5099139de7aac45 /.jshintrc
parent505a5a36566f57456303552936fdb55abec6ebef (diff)
Use own jshint configuration
Diffstat (limited to '.jshintrc')
-rw-r--r--.jshintrc19
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
+}