Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jakubmazanec
on Aug 18, 2023
|
parent
|
context
|
favorite
| on:
TypeScript is surprisingly ok for compilers
You already can kinda do that using ESLint and rules like
https://eslint.org/docs/latest/rules/no-restricted-syntax
,
https://eslint.org/docs/latest/rules/no-restricted-propertie...
or
https://eslint.org/docs/latest/rules/no-restricted-imports
.
usrusr
on Aug 18, 2023
[–]
Sure, but that's still seems quite mix and match, anything goes, choose your own adventure. There are many positives about this approach, but as a learner a little more common ground between codebases would certainly be appreciated.
jakubmazanec
on Aug 19, 2023
|
parent
[–]
True. I always thought that we should have additional mode stricter than
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: