1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-26 12:29:06 +01:00
metamask-extension/app/_locales
Mark Stacey 04ae92a2c0
Lint .json files (#6852)
We've been using the `eslint-plugin-json` plugin for some time, but we
haven't been visiting `.json` files in the lint script. The lint script
has now been updated to incude `.json` files, which means any invalid
JSON will result in a lint error.

Unfortunately this JSON plugin doesn't seem to apply the other eslint
rules (such as `key-spacing`) to the JSON files. I wasn't able to find a
way to get that to work. Instead I manually auto-formatted each of the
locale `message.json` files, which fixed many whitespace
inconsistencies.

The `states.json` file was deleted completely, as it appears to be
unused. It wasn't a valid JSON file anyway, it was JavaScript. It looks
like a `states.js` file is automatically generated, but an old copy was
accidentally saved as `states.json` and included in the repo.

Many duplicate key errors were found and fixed in the
`development/states/` JSON files.

`package-lock.json` was added to `.eslintignore` because it was very
slow to lint, and linting it doesn't provide much value.
2019-07-15 11:03:22 -03:00
..
cs Remove shapeshift deposit form (#6746) 2019-06-24 14:17:48 -02:30
de Remove shapeshift deposit form (#6746) 2019-06-24 14:17:48 -02:30
en Lint .json files (#6852) 2019-07-15 11:03:22 -03:00
es Lint .json files (#6852) 2019-07-15 11:03:22 -03:00
fr Remove shapeshift deposit form (#6746) 2019-06-24 14:17:48 -02:30
hn Remove shapeshift deposit form (#6746) 2019-06-24 14:17:48 -02:30
ht Remove shapeshift deposit form (#6746) 2019-06-24 14:17:48 -02:30
it Remove shapeshift deposit form (#6746) 2019-06-24 14:17:48 -02:30
ja Remove shapeshift deposit form (#6746) 2019-06-24 14:17:48 -02:30
ko Remove shapeshift deposit form (#6746) 2019-06-24 14:17:48 -02:30
nl Remove shapeshift deposit form (#6746) 2019-06-24 14:17:48 -02:30
ph Lint .json files (#6852) 2019-07-15 11:03:22 -03:00
pl Remove shapeshift deposit form (#6746) 2019-06-24 14:17:48 -02:30
pt Remove shapeshift deposit form (#6746) 2019-06-24 14:17:48 -02:30
ru Remove shapeshift deposit form (#6746) 2019-06-24 14:17:48 -02:30
sk Remove shapeshift deposit form (#6746) 2019-06-24 14:17:48 -02:30
sl Lint .json files (#6852) 2019-07-15 11:03:22 -03:00
th Remove shapeshift deposit form (#6746) 2019-06-24 14:17:48 -02:30
tml Remove shapeshift deposit form (#6746) 2019-06-24 14:17:48 -02:30
tr Remove shapeshift deposit form (#6746) 2019-06-24 14:17:48 -02:30
vi Lint .json files (#6852) 2019-07-15 11:03:22 -03:00
zh_CN Remove shapeshift deposit form (#6746) 2019-06-24 14:17:48 -02:30
zh_TW Lint .json files (#6852) 2019-07-15 11:03:22 -03:00
index.json Slovenian and slovak fixes (#5730) 2018-11-12 11:15:55 -05:00