Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lint upgrade and remove TypeScript for @finos/perspective-jupyterlab #1537

Merged
merged 4 commits into from
Sep 12, 2021

Conversation

texodus
Copy link
Member

@texodus texodus commented Sep 12, 2021

Upgrades eslint, prettier and associated extensions to their latest versions, such that linting will work consistently and correctly across git clients, IDEs, CI environments and such.

While perspective has had comprehensive enforced lint for a while, it had bit-rotted due to various accumulated incompatibilities and developer grievances. Some paths were excluded, and some errors had become warnings or disabled entirely. In this PR, lint is restored to a CI requirement, PRs will fail if they do not pass clean lint. All lint autofix rules have been applied for ~15k lines updated (as user "no author").

As a consequence of these new development restrictions, the technical debt associated with @finos/perspective-jupyterlab has come to a head, and so this PR also ports this package from TypeScript to JavaScript. The type topography of this package was ill-conceived and required multiple hacks that now fail lint, and I'm not interested in fixing them (IMO we should re-write this package completely with a goal of simplicity, 1:1 correspondance with the perspective API, and a bespoke data transport to overcome the performance issues associated with traits). Supercedes #1344

@texodus texodus mentioned this pull request Sep 12, 2021
@texodus texodus added the internal Internal refactoring and code quality improvement label Sep 12, 2021
@texodus texodus marked this pull request as ready for review September 12, 2021 21:03
@texodus texodus merged commit d904381 into master Sep 12, 2021
@texodus texodus deleted the eslint-update branch September 12, 2021 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Internal refactoring and code quality improvement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant