Code Improvements, part 1:

Static Code analysis

Why?

team is growing 📈

⬇️

 💻 more code 💻

⬇️

🤯 harder to maintain 🥵

⬇️

🐛 more bugs 💩

⬇️

 🐢 slow development 🐌

⬇️

😵😵😵

ESLint

.eslintrc

.eslintrc rules

0 = ok

1 = warning

2 = error

Demo Time

Static Code Analysis

ESlint 

Husky 

Lint-staged

esplint

eslint-plugin-prettier

🌝 Flow/TypeScript

ZERO

Static Code A

By Sergey Tyan

Static Code A

  • 12