skill-assessment-app/.eslintrc.yml

41 lines
883 B
YAML
Raw Permalink Normal View History

2017-03-06 11:46:28 -06:00
---
parser: esprima
2016-08-09 11:36:52 -05:00
env:
2017-03-06 11:46:28 -06:00
browser: true,
2016-08-09 11:36:52 -05:00
jquery: true
2017-03-06 11:46:28 -06:00
settings:
ecmascript: 6
2016-09-07 17:45:22 -05:00
plugins:
- ignore-erb
2017-03-06 11:46:28 -06:00
# "off" or 0 - turn the rule off
# "warn" or 1 - turn the rule on as a warning (doesnt affect exit code)
# "error" or 2 - turn the rule on as an error (exit code is 1 when triggered)
# usually preferring warn because error can halt the build process and trips up rapid feedback
extends: "eslint:recommended"
rules: # http://eslint.org/docs/rules/
camelcase: warn
curly:
- warn
- all
2016-08-09 11:36:52 -05:00
indent:
2017-03-06 11:46:28 -06:00
- warn
2016-08-09 11:36:52 -05:00
- 2
linebreak-style:
- error
- unix
2017-03-06 11:46:28 -06:00
no-console:
# console.error and console.warn are ok, but let's
# keep console.log out of production code.
2016-08-09 11:36:52 -05:00
- warn
2017-03-06 11:46:28 -06:00
- allow:
- warn
- error
no-mixed-spaces-and-tabs:
- warn
- smart-tabs
no-trailing-spaces: warn
no-underscore-dangle: warn
2016-08-09 11:36:52 -05:00
quotes: off
2017-03-06 11:46:28 -06:00
semi: warn