5.2.0 β€’ Published 3 months ago

@putout/plugin-remove-useless-escape v5.2.0

Weekly downloads
13,577
License
MIT
Repository
github
Last release
3 months ago

@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\'`;
const reg = /\w\:/g;

βœ… Example of correct code

const t = 'hello "world"';
const s1 = `hello "world"`;
const s = `hello 'world'`;
const reg = /\w:/g;

Comparison

LinterRuleFix
🐊 Putoutremove-useless-escapeβœ…
⏣ ESLintno-useless-escape❌

License

MIT

5.2.0

3 months ago

5.1.0

4 months ago

5.0.0

4 months ago

4.0.0

5 months ago

3.2.0

2 years ago

3.1.1

2 years ago

3.1.0

2 years ago

3.0.0

2 years ago

1.7.0

2 years ago

2.1.0

2 years ago

2.0.0

2 years ago

1.6.0

3 years ago

1.5.0

3 years ago

1.4.0

3 years ago

1.3.0

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.2

3 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.3

4 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago