eslint-plugin-no-this-this

1.0.1 • Public • Published

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",
  },
};

Package Sidebar

Install

npm i eslint-plugin-no-this-this

Weekly Downloads

15

Version

1.0.1

License

none

Unpacked Size

1.48 kB

Total Files

4

Last publish

Collaborators

  • milindalvares