diff --git a/Gruntfile.js b/Gruntfile.js
index c72b031..71d014b 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -10,14 +10,13 @@ module.exports = function ( grunt ) {
grunt.initConfig( {
eslint: {
options: {
- extensions: [ '.js', '.json' ],
cache: true
},
all: [
- '**/*.{js,json}',
+ '**/*.{js,json,html}',
'!src/jquery.uls.data.js',
'!scripts/jquery.uls.data.template.js',
- '!examples/**',
+ '!examples/resources/*.min.js',
'!node_modules/**',
'!vendor/**'
]
diff --git a/examples/.eslintrc.json b/examples/.eslintrc.json
new file mode 100644
index 0000000..d136f44
--- /dev/null
+++ b/examples/.eslintrc.json
@@ -0,0 +1,17 @@
+{
+ "root": true,
+ "extends": [
+ "wikimedia/client",
+ "wikimedia/jquery"
+ ],
+ "rules": {
+ "no-jquery/no-global-selector": "off"
+ },
+ "plugins": [
+ "html"
+ ],
+ "settings": {
+ "html/indent": "+tab",
+ "html/report-bad-indent": "error"
+ }
+}
diff --git a/examples/decorator.html b/examples/decorator.html
index 95293f6..fb1f341 100644
--- a/examples/decorator.html
+++ b/examples/decorator.html
@@ -18,7 +18,7 @@
diff --git a/examples/index-i18n.html b/examples/index-i18n.html
index 673882c..1254cd4 100644
--- a/examples/index-i18n.html
+++ b/examples/index-i18n.html
@@ -19,16 +19,16 @@
diff --git a/examples/index-mobile.html b/examples/index-mobile.html
index d63426a..03314a7 100644
--- a/examples/index-mobile.html
+++ b/examples/index-mobile.html
@@ -29,20 +29,21 @@
diff --git a/examples/index-narrow.html b/examples/index-narrow.html
index 965beaa..0cf7e5f 100644
--- a/examples/index-narrow.html
+++ b/examples/index-narrow.html
@@ -18,23 +18,23 @@
diff --git a/examples/index.html b/examples/index.html
index 4f1d211..92fc49a 100644
--- a/examples/index.html
+++ b/examples/index.html
@@ -28,13 +28,13 @@
diff --git a/examples/limitedLanguageList.html b/examples/limitedLanguageList.html
index dfc96f2..36c8eaf 100644
--- a/examples/limitedLanguageList.html
+++ b/examples/limitedLanguageList.html
@@ -21,21 +21,22 @@