@putout/plugin-remove-useless-escape
🐊Putout plugin adds ability to find and remove useless escape
Last updated 10 months ago by coderaiser .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install @putout/plugin-remove-useless-escape 
SYNC missed versions from official npm registry.

@putout/plugin-remove-useless-escape NPM version

🐊Putout plugin adds ability to find and remove useless escape.

Install

npm i @putout/plugin-remove-useless-escape

Rule

{
    "rules": {
        "remove-useless-escape": "on"
    }
}

❌ Example of incorrect code

const t = 'hello \"world\"';
const s1 = `hello \"world\"`;
const s = `hello \'world\'`;

✅ Example of correct code

const t = 'hello "world"';
const s1 = `hello "world"`;
const s = `hello 'world'`;

Comparison

Linter Rule Fix
🐊 Putout remove-useless-escape ✅
⏣ ESLint no-useless-escape ❌

License

MIT

Current Tags

  • 10.2.2                                ...           latest (2 months ago)

37 Versions

  • 10.2.2                                ...           2 months ago
  • 10.2.1                                ...           7 months ago
  • 10.2.0                                ...           7 months ago
  • 10.1.1                                ...           7 months ago
  • 10.1.0                                ...           7 months ago
  • 10.0.0                                ...           8 months ago
  • 9.2.0                                ...           10 months ago
  • 9.1.0                                ...           10 months ago
  • 9.0.0                                ...           a year ago
  • 8.0.0                                ...           2 years ago
  • 7.0.0                                ...           2 years ago
  • 6.0.0                                ...           3 years ago
  • 5.2.0                                ...           3 years ago
  • 5.1.0                                ...           3 years ago
  • 5.0.0                                ...           3 years ago
  • 4.0.0                                ...           3 years ago
  • 3.2.0                                ...           4 years ago
  • 3.1.1                                ...           5 years ago
  • 3.1.0                                ...           5 years ago
  • 3.0.0                                ...           5 years ago
  • 2.1.0                                ...           5 years ago
  • 2.0.0                                ...           5 years ago
  • 1.7.0                                ...           5 years ago
  • 1.6.0                                ...           5 years ago
  • 1.5.0                                ...           5 years ago
  • 1.4.0                                ...           6 years ago
  • 1.3.0                                ...           6 years ago
  • 1.2.2                                ...           6 years ago
  • 1.2.1                                ...           6 years ago
  • 1.2.0                                ...           6 years ago
  • 1.1.2                                ...           6 years ago
  • 1.1.1                                ...           6 years ago
  • 1.1.0                                ...           6 years ago
  • 1.0.3                                ...           7 years ago
  • 1.0.2                                ...           7 years ago
  • 1.0.1                                ...           7 years ago
  • 1.0.0                                ...           7 years ago
Maintainers (1)
Downloads
Total 55
Today 2
This Week 5
This Month 48
Last Day 3
Last Week 42
Last Month 4
Dependencies (1)
Dev Dependencies (9)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE