eslint-plugin-no-this-this
v1.0.1
Published
Custom ESLint rules for guarding against this.this
Downloads
59
Maintainers
Readme
eslint-no-this-this
This ESLint plugin provides a rule to enforce not using this.this
in your code.
Installation
You can install this plugin using npm:
npm install eslint-no-this-this --save-dev
Then use it in your eslintrc file:
module.exports = {
plugins: [
// other plugins...
"no-this-this" // Just use the suffix after eslint-plugin-
],
rules: {
// other rules...
"no-this-this/no-this-this": "error",
},
};