@putout/plugin-apply-dot-notation
🐊Putout plugin applies dot notation
Last updated a year ago by coderaiser .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install @putout/plugin-apply-dot-notation 
SYNC missed versions from official npm registry.

@putout/plugin-apply-dot-notation NPM version

🐊Putout plugin adds ability to apply dot notation. Checkout out in 🐊Putout Editor.

Property accessors provide access to an object's properties by using the dot notation or the bracket notation.

(c) MDN

Install

npm i @putout/plugin-apply-dot-notation

Rule

{
    "rules": {
        "apply-dot-notation": "on"
    }
}

❌ Example of incorrect code

a.hello['world'];

βœ… Example of correct code

a.hello.world;
a[1];

Comparison

Linter Rule Fix
🐊 Putout apply-dot-notation βœ…
⏣ ESLint dot-notation βœ…
πŸ“– Blog Converting-Bracket-Notation-Dot-Notation βœ…

License

MIT

Current Tags

  • 3.0.0                                ...           latest (a year ago)

4 Versions

  • 3.0.0                                ...           a year ago
  • 2.0.0                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Total 1
Today 0
This Week 1
This Month 1
Last Day 1
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (8)
Dependents (1)

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