0.3.0 • Published 8 years ago

tslint-object-literal-smart-keys v0.3.0

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

object-literal-smart-keys

TSLint rule for ordering object literal keys like in corresponding type of interface.

See tests for info about provided checkings.

Install

npm i -D tslint-object-literal-smart-keys

Example tslint.json

{
    "rulesDirectory": [
        "./node_modules/tslint-object-literal-smart-keys/rules"
    ],
    "rules" {
        "object-literal-sort-keys": false, // don't forget disable it!
        "object-literal-smart-keys": true
    }
}

Roadmap

  • Complicated cases
0.3.0

8 years ago

0.2.0

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago