Add base eslint/prettier config
Do not use public/private as properties
Fix eqeqeq
Fix dot notation
Fix no-else-return
Fix strict
Fix prefer-template
Fix prefer-arrow-callback
Fix object-shorthand
Fix no-var
Fix no-lonely-if
Make eslint up to date
Differential D362
ESLint config and error fixes Authored by bartosz-gordon on Sep 30 2018, 11:29. Tags Referenced Files
Subscribers None
Details
Add base eslint/prettier config Do not use public/private as properties Fix eqeqeq Fix dot notation Fix no-else-return Fix strict Fix prefer-template Fix prefer-arrow-callback Fix object-shorthand Fix no-var Fix no-lonely-if Make eslint up to date
Diff Detail
Event TimelineComment Actions Checklista diffów do sealiousa:
Comment Actions
Comment Actions
Comment Actions @kuba-orlik Chciałbym, żebyś zerknął na zakomentowane linie oznaczone jako TO DISCUSS i każdą z nich odkomentował i puścił npm run lint. Wtedy możemy ocenić, czy warto zmieniać te rzeczy w Sealiousie :) Comment Actions O ile pamiętam, to planowaliśmy wrzucić ten konfig jako reużywalny sealcode'owy - tak, aby w .exlintrc wystarczyło podać "sealcode" - czy planujesz to zrobić w ramach tego diffa?
Comment Actions Zapomniałem o tym, zrobię to ;)
Comment Actions Przejrałem pliki wyrywkowo i nie znalazałem nieprawidłowości. Testy przechodzą, program do zarządzania magazynami działa (zarówno TEST jak i POPULATE) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||