Make sure translation tools are lint checked
They do not have a .js suffix so eslint isn't finding them automatically.
This commit is contained in:
parent
776024a008
commit
90d463f969
|
@ -19,7 +19,7 @@
|
||||||
"vendor/pako"
|
"vendor/pako"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "eslint app core po tests utils",
|
"lint": "eslint app core po/po2js po/xgettext-html tests utils",
|
||||||
"test": "karma start karma.conf.js",
|
"test": "karma start karma.conf.js",
|
||||||
"prepublish": "node ./utils/use_require.js --as commonjs --clean"
|
"prepublish": "node ./utils/use_require.js --as commonjs --clean"
|
||||||
},
|
},
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"env": {
|
||||||
|
"node": true,
|
||||||
|
},
|
||||||
|
}
|
Loading…
Reference in New Issue