Граф коммитов

5 Коммитов

Автор SHA1 Сообщение Дата
Jon Thysell d0c7fa8199
Fix repo linting with up-to-date eslint and prettier configuration (#13993)
## Description
This fixes the broken eslint/prettier configuration in our repo and fixes all linting errors that have crept in over the past several months.

### Type of Change
- Bug fix (non-breaking change which fixes an issue)

### Why
What is the motivation for this change? Add a few sentences describing the context and overall goals of the pull request's commits.

Resolves #13989

### What
* Updates all eslint and related packages to the correct versions aligning with upstream RN
* Updates all other package versions that were out of date
* Adds new prettier tasks to just-task since they don't run with eslint anymore
* Fixed all linting errors

## Screenshots
N/A

## Testing
`yarn lint` comes back clean.

## Changelog
Should this change be included in the release notes: _no_
2024-10-18 16:06:59 -07:00
Eric Rozell ee76145dbc
Use prettier-plugin-hermes-parser to match upstream settings (#12599)
* Use prettier-plugin-hermes-parser to match upstream settings

In order to minimize the delta between platform override files in react-native-windows and upstream facebook/react-native files, switch to prettier-plugin-hermes-parser. The same change was made in dc2037c0f1

* Change files

* linting

* Change files

---------

Co-authored-by: Marlene Cota <mcota@microsoft.com>
Co-authored-by: Andrew <30809111+acoates-ms@users.noreply.github.com>
2024-06-04 19:40:48 +00:00
Danny van Velzen e18db30cd3
Standardize on the repository field in package.json (#10981)
* Standardize on the repository field in package.json

* Change files

* Undo removal of newline by vscode
2022-12-12 21:47:07 +00:00
Chiara Mooney 938b09653f
Adjust Prettier Config to Match react-native (#9819)
Adjust prettier arrowParens configuration to match react-native. Should be set to 'avoid'. Remove forked files in List testing, now that upstream has resolved the linting errors in these files.

Resolves https://github.com/microsoft/react-native-windows/issues/9217

Co-authored-by: Jon Thysell <jthysell@microsoft.com>
2022-04-11 17:34:40 -07:00
acoates-ms 388743e157
Hook up some basic formatting configuration for vscode (#2655)
* Hook up some basic formatting configuration for vscode

* Replace tslint with eslint

* Format on save

* Fix a bunch of eslint errors

* Dont run lint on already build files

* lint now enforces LF to match community
2019-07-01 12:38:12 -07:00