-
- Downloads
Merge pull request #2116 from ProjectMirador/simple-i18n-lint
Add a simple i18n lint that prints warnings during our build
No related branches found
No related tags found
... | ... | @@ -7,7 +7,7 @@ |
"dist" | ||
], | ||
"scripts": { | ||
"lint": "node_modules/.bin/eslint ./ && node_modules/.bin/sass-lint -v ./src/styles/**/*", | ||
"lint": "node_modules/.bin/eslint ./ && node_modules/.bin/sass-lint -v ./src/styles/**/* && node ./scripts/i18n-lint.js", | ||
"server": "node_modules/.bin/http-server", | ||
"test": "npm run build && npm run lint && npm run size && jest -c jest.json", | ||
"test:watch": "jest -c jest.json --watch", | ||
... | ... | @@ -71,6 +71,7 @@ |
"babel-eslint": "10.0.1", | ||
"babel-jest": "^24.1.0", | ||
"babel-loader": "^8.0.4", | ||
"chalk": "^2.4.2", | ||
"codecov": "^3.1.0", | ||
"concurrently": "^4.0.1", | ||
"css-loader": "^2.1.0", | ||
... | ... | @@ -85,6 +86,7 @@ |
"eslint-plugin-jest": "^22.2.2", | ||
"eslint-plugin-jsx-a11y": "^6.2.0", | ||
"eslint-plugin-react": "^7.12.4", | ||
"glob": "^7.1.3", | ||
"http-server": "^0.11.1", | ||
"jest": "^24.1.0", | ||
"jest-fetch-mock": "^2.1.1", | ||
... | ... |
scripts/i18n-lint.js
0 → 100644
Please register or sign in to comment