2a5a680a3f6a4bea0dddc63c7e12535dc5a5acc3.svn-base 3.93 KB
/*
 * Copy this file and use it as a starting point for your redeyed config.
 * Just fill in the tokens you want to surround/replace.
 * Keep in mind that more specific configurations override less specific ones.
 */

module.exports = {

    'Boolean': {
      'true'   :  undefined
    , 'false'  :  undefined
    , _default :  undefined
    }

  , 'Identifier': {
      _default: undefined
    }

  , 'Null': {
      _default: undefined
    }

  , 'Numeric': {
      _default: undefined
    }

  , 'String': {
      _default: undefined
    }

  , 'Keyword': {
      'break'       :  undefined

    , 'case'        :  undefined
    , 'catch'       :  undefined
    , 'class'       :  undefined
    , 'const'       :  undefined
    , 'continue'    :  undefined

    , 'debugger'    :  undefined
    , 'default'     :  undefined
    , 'delete'      :  undefined
    , 'do'          :  undefined

    , 'else'        :  undefined
    , 'enum'        :  undefined
    , 'export'      :  undefined
    , 'extends'     :  undefined

    , 'finally'     :  undefined
    , 'for'         :  undefined
    , 'function'    :  undefined

    , 'if'          :  undefined
    , 'implements'  :  undefined
    , 'import'      :  undefined
    , 'in'          :  undefined
    , 'instanceof'  :  undefined
    , 'interface'   :  undefined
    , 'let'         :  undefined
    , 'new'         :  undefined

    , 'package'     :  undefined
    , 'private'     :  undefined
    , 'protected'   :  undefined
    , 'public'      :  undefined

    , 'return'      :  undefined
    , 'static'      :  undefined
    , 'super'       :  undefined
    , 'switch'      :  undefined

    , 'this'        :  undefined
    , 'throw'       :  undefined
    , 'try'         :  undefined
    , 'typeof'      :  undefined

    , 'var'         :  undefined
    , 'void'        :  undefined

    , 'while'       :  undefined
    , 'with'        :  undefined
    , 'yield'       :  undefined
    , _default      :  undefined
  }
  , 'Punctuator': {
      ';': undefined
    , '.': undefined
    , ',': undefined

    , '{': undefined
    , '}': undefined
    , '(': undefined
    , ')': undefined
    , '[': undefined
    , ']': undefined

    , '<': undefined
    , '>': undefined
    , '+': undefined
    , '-': undefined
    , '*': undefined
    , '%': undefined
    , '&': undefined
    , '|': undefined
    , '^': undefined
    , '!': undefined
    , '~': undefined
    , '?': undefined
    , ':': undefined
    , '=': undefined

    , '<=': undefined
    , '>=': undefined
    , '==': undefined
    , '!=': undefined
    , '++': undefined
    , '--': undefined
    , '<<': undefined
    , '>>': undefined
    , '&&': undefined
    , '||': undefined
    , '+=': undefined
    , '-=': undefined
    , '*=': undefined
    , '%=': undefined
    , '&=': undefined
    , '|=': undefined
    , '^=': undefined
    , '/=': undefined
    , '=>': undefined
    , '**': undefined

    , '===': undefined
    , '!==': undefined
    , '>>>': undefined
    , '<<=': undefined
    , '>>=': undefined
    , '...': undefined
    , '**=': undefined

    , '>>>=': undefined

    , _default: undefined
  }

  // line comment
  , Line: {
      _default: undefined
    }

  /* block comment */
  , Block: {
      _default: undefined
    }

  // JSX
  , JSXAttribute: {
      _default: undefined
    }
  , JSXClosingElement: {
      _default: undefined
    }
  , JSXElement: {
      _default: undefined
    }
  , JSXEmptyExpression: {
      _default: undefined
    }
  , JSXExpressionContainer: {
      _default: undefined
    }
  , JSXIdentifier: {
      // many more identifies are possible, div, table, etc.
        className: undefined
      , _default: undefined
    }
  , JSXMemberExpression: {
      _default: undefined
    }
  , JSXNamespacedName: {
      _default: undefined
    }
  , JSXOpeningElement: {
      _default: undefined
    }
  , JSXSpreadAttribute: {
      _default: undefined
    }
  , JSXText: {
      _default: undefined
    }

  , _default: undefined
}