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

Support #35523 - Migrate from tslint to eslint #1497

Merged
merged 14 commits into from
Jan 13, 2025

Conversation

brandonandre
Copy link
Contributor

No description provided.

…ntext function

- Updates tests using mount directly (not using context) to use react testing library instead.
- Removed the deprecated mountWithAppContext.
- Removed Enzyme jest setup.
…ntext function

- Remove enzyme dependencies and rebuilt yarn lock.
- Removed unused import
…ntext function

- Removed duplicate mock_app_context file, now it's only one.
- Renamed all mountWithAppContext2 to mountWithAppContext since it's the only one now.
…ntext function

- Fixed a bunch of imports, now it's just "common-ui" for the mock context.
…ntext function

- Fixed snapshots, now it's properly using the correct localization so it changes what is displayed as text.
- Fixed import
- Added eslint to the project using the eslint installer.
- Changed the lint scripts to use eslint.
- Upgraded typescript to a supported version.
- Currently I have no rules being applied, next I will be bringing over all the rules form the tslint configuration.
- Updated the eslint configuration to be include most of the tslint rules
- Added ignores to not scan through node_modules or next.js specific files.
- Added prettier support for eslint.
- Removed tslint dependencies.
- Changed lint-staged to use eslint instead.
- Removed all tslint ignore rules for now, will add the eslint ones if required.
- Fixed issue with vscode not detecting the config file since it's looking in the packages folders.
- Updated the docs to include the eslint extension.
- Also included in the .vscode/extensions so vscode will recommend installing it.
@johnphan96 johnphan96 merged commit f6751cb into dev Jan 13, 2025
12 checks passed
@johnphan96 johnphan96 deleted the Support-35523-Migrate-from-tslint-to-eslint branch January 13, 2025 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants