seegno / jscs-config-seegno

Seegno-flavored JSCS config
2 stars 0 forks source link

Fix object key order validation rule #5

Closed nunofgs closed 8 years ago

nunofgs commented 8 years ago

With asc, the INVALID_FIELD in the following example would need to be at the bottom:

Object keys must be in ascending order at ./src/constants.js :
   499 |  INVALID_EXTENSION: '21035',
   500 |  INVALID_FIELD: '30000',
   501 |  INVALID_FIELD_SELECTED: '21027',
----------^
   502 |  INVALID_FIELDS_SPECIFIED_IN_REQUEST: '10600',

R=@ruiquelhas