GitXplorerGitXplorer
e

eslint-plugin-no-useless-assign

public
4 stars
0 forks
0 issues

Commits

List of commits on branch master.
Verified
d4cfa0dda12a28deb8b490f908faae5c6d749f35

Merge pull request #12 from erikdesjardins/ghact

eerikdesjardins committed 5 years ago
Unverified
d8822487494582b686d50ebd5ec838d9a5309990

use github actions, update devdeps

eerikdesjardins committed 5 years ago
Verified
db6927a7967c635bbbf339900c56f344008426f6

Merge pull request #10 from erikdesjardins/id-error

eerikdesjardins committed 5 years ago
Unverified
13ee65e16c5c99739302dafad71a147710696271

1.0.3

eerikdesjardins committed 5 years ago
Unverified
0ea38bb096550cf1709e4528fe418a9ba13697ab

test on node 10

eerikdesjardins committed 5 years ago
Unverified
97383e434ae0f8c718c0b9b8e6785dfca85df2dd

update deploy key

eerikdesjardins committed 5 years ago

README

The README file for this repository.

eslint-plugin-no-useless-assign

Prevent useless assignment of the form:

var foo = bar;
return foo;
var foo;
// ...
foo = bar;
return foo;

Usage

npm i --save-dev eslint-plugin-no-useless-assign

{
  "plugins": [
    "no-useless-assign"
  ],
  "rules": {
    "no-useless-assign/no-useless-assign": 2
  }
}