2.0.0 β€’ Published 1 month ago

@putout/plugin-apply-dot-notation v2.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

@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

LinterRuleFix
🐊 Putoutapply-dot-notationβœ…
⏣ ESLintdot-notationβœ…
πŸ“– BlogConverting-Bracket-Notation-Dot-Notationβœ…

License

MIT

2.0.0

1 month ago

1.1.0

7 months ago

1.0.0

7 months ago