react/compiler/scripts
lauren 60d9b9740d
[compiler] Derive ErrorSeverity from ErrorCategory (#34401)
With #34176 we now have granular lint rules created for each compiler
ErrorCategory. However, we had remnants of our old error severities
still in use which makes reporting errors quite clunky. Previously you
would need to specify both a category and severity which often ended up
being the same.

This PR moves severity definition into our rules which are generated
from our categories. For now I decided to defer "upgrading" categories
from a simple string to a sum type since we are only using severities to
map errors to eslint severity.

---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com). Best reviewed
with [ReviewStack](https://reviewstack.dev/facebook/react/pull/34401).
* #34409
* #34404
* #34403
* #34402
* __->__ #34401
2025-09-06 12:41:29 -04:00
..
release [compiler] Stop publishing eslint-plugin-react-compiler to npm (#34228) 2025-08-18 11:34:55 -04:00
anonymize.js [compiler] Stay in SSA form through entire pipeline 2024-08-06 12:02:50 -07:00
build-eslint-docs.js [compiler] Derive ErrorSeverity from ErrorCategory (#34401) 2025-09-06 12:41:29 -04:00
copyright.js [compiler] Fix copyright script (#33003) 2025-04-23 21:55:24 -04:00
hash.sh Update copyrights to reference Meta instead of Facebook 2024-04-03 08:43:36 -07:00
update-commit-message.js Compiler: unfork prettier config (#30205) 2024-07-18 17:00:24 -04:00