Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jakubmazanec
· 3y ago · 0 comments
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
.
Comments
[–]
usrusr
3y ago
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
OP
3y ago
True. I always thought that we should have additional mode stricter than
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
.