lint common

This commit is contained in:
Matteo Pagliazzi
2019-10-09 20:08:36 +02:00
parent 0c27fb24a5
commit e0e9811ab6
330 changed files with 6885 additions and 7668 deletions

View File

@@ -46,9 +46,10 @@ const rtlLanguages = [
'ur', /* 'اردو', Urdu */
'yi', /* 'ייִדיש', Yiddish */
];
for (const key in weapon) {
for (const key of Object.keys(weapon)) {
const set = weapon[key];
for (const weaponKey in set) {
for (const weaponKey of Object.keys(set)) {
const item = set[weaponKey];
const oldnotes = item.notes;
item.notes = lang => {