Best Practice
(1)use prettier to auto format, setup the vscode configuration
(2)use eslint to do the auto lint. eslint has many rules. But it makes code better
(3)we use webpack and babel for compiling(do we really need babel, shall we use ts-loader. nowadays many browsers are supporting model syntaxes. And babel configuration to be honest makes things complicated) Microsoft is having better support for the eco-system
CSS Coding Guideline
(1) block__element--modifier(BOM)
(2) single dash to for name such as "community-page"
Best Practice (1)use prettier to auto format, setup the vscode configuration (2)use eslint to do the auto lint. eslint has many rules. But it makes code better (3)we use webpack and babel for compiling(do we really need babel, shall we use ts-loader. nowadays many browsers are supporting model syntaxes. And babel configuration to be honest makes things complicated) Microsoft is having better support for the eco-system
CSS Coding Guideline (1) block__element--modifier(BOM) (2) single dash to for name such as "community-page"