Skip to content

Commit

Permalink
Make sure translation tools are lint checked
Browse files Browse the repository at this point in the history
They do not have a .js suffix so eslint isn't finding them
automatically.
  • Loading branch information
CendioOssman committed Aug 19, 2019
1 parent 776024a commit 90d463f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down
5 changes: 5 additions & 0 deletions po/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"env": {
"node": true,
},
}

0 comments on commit 90d463f

Please sign in to comment.