53 lines
1.2 KiB
Plaintext
53 lines
1.2 KiB
Plaintext
# For a detailed list of all options please see here:
|
|
# http://eslint.org/docs/configuring/
|
|
|
|
env:
|
|
# Use jquery global variables
|
|
jquery: true
|
|
browser: true
|
|
|
|
rules:
|
|
# Specify whether backticks, double or single quotes should be used
|
|
# http://eslint.org/docs/rules/quotes
|
|
quotes:
|
|
- 0 # TODO(kzaitsev): Activate & Fix
|
|
- 'single'
|
|
|
|
# Require camel case names
|
|
# http://eslint.org/docs/rules/camelcase
|
|
camelcase:
|
|
- 1
|
|
- properties: "never"
|
|
|
|
|
|
globals:
|
|
# allow accessing horizon
|
|
horizon: false
|
|
|
|
# Only support ECMA5, disable everything else.
|
|
# NOTE(kzaitsev): blatantly copied from horizon
|
|
ecmaFeatures:
|
|
arrowFunctions: false
|
|
binaryLiterals: false
|
|
blockBindings: false
|
|
classes: false
|
|
defaultParams: false
|
|
destructuring: false
|
|
forOf: false
|
|
generators: false
|
|
modules: false
|
|
objectLiteralComputedProperties: false
|
|
objectLiteralDuplicateProperties: false
|
|
objectLiteralShorthandMethods: false
|
|
objectLiteralShorthandProperties: false
|
|
octalLiterals: false
|
|
regexUFlag: false
|
|
regexYFlag: false
|
|
restParams: false
|
|
spread: false
|
|
superInFunctions: false
|
|
templateStrings: false
|
|
unicodeCodePointEscapes: false
|
|
globalReturn: false
|
|
jsx: false
|