1.0.1 • Published 5 years ago

tslint-rule-sorted-lines v1.0.1

Weekly downloads
2
License
ISC
Repository
github
Last release
5 years ago

tslint-rule-sorted-lines

Ensure that a range of lines is in alphabetical order. If they aren't, run tslint --fix to fix them. Nice!

Example:

// BEGIN SORTED BLOCK
const a = "a";
const b = "b";
const c = "c";
// END SORTED BLOCK

Example tsconfig:

{
  "extends": ["tslint-rule-sorted-lines"],
  "rules": {
    "sortedLines": true
  }
}
1.0.1

5 years ago

1.0.0

5 years ago