# ESLint rule-set
# =============================================================================
# The following rules are intended to be the least restrictive possible. Tweak
# them as much as you want, or simply replace this file with another one you
# have previously edited.
#
# For learn more about ESLint rules, use the reference page:
# - <http://eslint.org/docs/rules/>

env:
  es6: true                           # Enable ES6 features, except modules
  browser: true                       # Enable Browser global variables

ecmaFeatures:
  modules: true                       # Allow the use of ES6 modules

globals:
  PIXI: false
  Phaser: false

extends: 'eslint:recommended'

rules:
  indent: [2, 2]                      # Indent code with 2 spaces
  quotes: [2, single]                 # Use single quotes for strings
  linebreak-style: [2, unix]          # Favor Unix-style line endings
  semi: [2, always]                   # End lines with semicolons
