This is an ESLint plugin to disable JavaScript.
npm install eslint-plugin-no-js --save-dev
There's no reason to use JavaScript.
JSX is for PHP-lovers. We don't need that!
Here's a sample ESLint configuration file that activates these rules:
{
"plugins": [
"no-js"
],
"rules": {
"no-js/no-js": 2,
"no-js/no-jsx": 2
}
}