You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The automatic linting is extremely useful for consistent code, and it also teaches how to write good ES6/react code. Currently there are many inconsistencies (mixing different quotes, 2 and 4 spaces, jsx extension for files without JSX, unused imports and variables, etc. - just see what the linter says). (Side note: I would also avoid inconsistent names for different thing, e.g. sthEnv vs. sthEnvironment, pick one and stick with that.)
The text was updated successfully, but these errors were encountered:
For setup and rules, see https://github.com/adaptive-learning/flocs-visual-components (package.json, webpack config and .eslintrc.json).
The automatic linting is extremely useful for consistent code, and it also teaches how to write good ES6/react code. Currently there are many inconsistencies (mixing different quotes, 2 and 4 spaces, jsx extension for files without JSX, unused imports and variables, etc. - just see what the linter says). (Side note: I would also avoid inconsistent names for different thing, e.g. sthEnv vs. sthEnvironment, pick one and stick with that.)
The text was updated successfully, but these errors were encountered: