Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

Misc: remove deprecated values #2110

Merged
merged 1 commit into from
Jan 30, 2016
Merged

Conversation

hzoo
Copy link
Member

@hzoo hzoo commented Jan 30, 2016

{
  "disallowQuotedKeysInObjects": "allButReserved",
  // to
  "disallowQuotedKeysInObjects": { "allExcept": ["reserved"] },

  "disallowSpaceAfterObjectKeys": "ignoreSingleLine",
  "disallowSpaceAfterObjectKeys": "ignoreMultiLine",
  // to
  "disallowSpaceAfterObjectKeys": { "allExcept": ["singleline"] },
  "disallowSpaceAfterObjectKeys": { "allExcept": ["multiline"] },

  "maximumLineLength": "allowRegex",
  "maximumLineLength": "allowComments",
  "maximumLineLength": "allowUrlComments",
  // to
  "maximumLineLength": { "allExcept": ["regex"] },
  "maximumLineLength": { "allExcept": ["comments"] },
  "maximumLineLength": { "allExcept": ["urlComments"] },

  "requireCamelCaseOrUpperCaseIdentifiers": "ignoreProperties",
  // to
  "requireCamelCaseOrUpperCaseIdentifiers": { "ignoreProperties" },

  "requireDotNotation": "except_snake_case",
  // to
  "requireDotNotation": { "allExcept": ["snake_case"] },

  "requireSpaceAfterLineComment": "allowSlash",
  // to
  "requireSpaceAfterLineComment": { "allExcept": ["/"] },

  "validateIndentation": { "value": "\t", "includeEmptyLines": true },
  // to
  "validateIndentation": { "value": "\t", "allExcept": { "emptyLines": true } },
}

@hzoo hzoo force-pushed the remove-deprecated branch from 4f60bfe to 9a5fa68 Compare January 30, 2016 16:15
@hzoo hzoo merged commit 9a5fa68 into jscs-dev:master Jan 30, 2016
@mdevils mdevils mentioned this pull request Jan 30, 2016
16 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant