Various usages of no-restricted-syntax via ruleOptionsUtil.js to be replaced by specific plugin rules.
I don't remember why I ever wrote a custom rule for this, maybe to only use the underlying plugin where necessary. This plugin can't stand without that plugin, so may as well go all-in.
Various usages of
no-restricted-syntax
viaruleOptionsUtil.js
to be replaced by specific plugin rules.I don't remember why I ever wrote a custom rule for this, maybe to only use the underlying plugin where necessary. This plugin can't stand without that plugin, so may as well go all-in.
https://eslint-plugin-es.mysticatea.dev/#the-aggressive-mode needs enabling on a per-rule basis, as done for some of the ES2023 rules.
2022: https://eslint-community.github.io/eslint-plugin-es-x/rules/no-array-string-prototype-at.html
2021: https://eslint-community.github.io/eslint-plugin-es-x/rules/no-string-prototype-replaceall.html
2020: https://eslint-community.github.io/eslint-plugin-es-x/rules/no-string-prototype-matchall.html
2019: https://eslint-community.github.io/eslint-plugin-es-x/rules/no-array-prototype-flat.html https://eslint-community.github.io/eslint-plugin-es-x/rules/no-string-prototype-trimstart-trimend.html https://eslint-community.github.io/eslint-plugin-es-x/rules/no-symbol-prototype-description.html
2018: https://eslint-community.github.io/eslint-plugin-es-x/rules/no-promise-prototype-finally.html
2017: https://eslint-community.github.io/eslint-plugin-es-x/rules/no-string-prototype-padstart-padend.html
2016: https://eslint-community.github.io/eslint-plugin-es-x/rules/no-array-prototype-includes.html