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:
Pierre Ossman 2019-08-15 15:53:10 +02:00
parent 776024a008
commit 90d463f969
2 changed files with 6 additions and 1 deletions

View File

@ -19,7 +19,7 @@
"vendor/pako"
],
"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",
"prepublish": "node ./utils/use_require.js --as commonjs --clean"
},

5
po/.eslintrc Normal file
View File

@ -0,0 +1,5 @@
{
"env": {
"node": true,
},
}