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
TSLint is (unfortunately) no longer maintained and framework linting should be migrated to ESLint.
This was done four years ago in this PR for projects generated with Foal. This means that, when executing the createapp command, new projects generated with this command use ESLint.
But the framework monorepo itself has not yet been migrated to ESLint. This is a technical debt that should be resolved.
Guidelines
If this PR, which updates the way dependencies are managed in monorepo, has not yet been merged, the new branch should be created from v4-5-0. Otherwise, it should be created from master. Not only will this facilitate the migration to ESLint, it will also avoid the need for additional work later on to manage ESLint dependencies with the new dependency system.
Migration to ESLint should not change the style of the framework code (we don't want thousands of line changes to commit). A lot of work had been done at the time in this PR to make ESLint rules consistent with TSLint rules. There's probably a lot to be learned from this PR.
When opening the framework repository with VSCode with the ESLint plugin enabled, VSCode should correctly highlight ESLint errors and correct them when saving (if the plugin is configurer to do so).
The files packages/cli/src/generate/specs/app/.eslintrc.js and packages/cli/src/generate/templates/app/.eslintrc.js used by foal createapp to generate new projects may cause problems.
The text was updated successfully, but these errors were encountered:
Perhaps. I have never migrated a project from TSLint to ESLint myself. But this has already be done in this PR to migrate the applications generated by createapp form TSLint to ESLint. The TSLint rules that were used by createapp are the same that the ones currently used for the framework linting.
Issue
TSLint is (unfortunately) no longer maintained and framework linting should be migrated to ESLint.
This was done four years ago in this PR for projects generated with Foal. This means that, when executing the
createapp
command, new projects generated with this command use ESLint.But the framework monorepo itself has not yet been migrated to ESLint. This is a technical debt that should be resolved.
Guidelines
If this PR, which updates the way dependencies are managed in monorepo, has not yet been merged, the new branch should be created fromv4-5-0
. Otherwise, it should be created frommaster
. Not only will this facilitate the migration to ESLint, it will also avoid the need for additional work later on to manage ESLint dependencies with the new dependency system.Notes
packages/cli/src/generate/specs/app/.eslintrc.js
andpackages/cli/src/generate/templates/app/.eslintrc.js
used byfoal createapp
to generate new projects may cause problems.The text was updated successfully, but these errors were encountered: