Update eslint and other devDependencies (#391)
* Update eslint and other devDependencies * Lint JS in examples/ using eslint-plugin-html (#392)
This commit is contained in:
17
examples/.eslintrc.json
Normal file
17
examples/.eslintrc.json
Normal file
@@ -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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user