CyTube/.eslintrc.yml

34 lines
650 B
YAML
Raw Normal View History

2018-04-07 22:30:30 +00:00
env:
es6: true
node: true
extends: 'eslint:recommended'
parser: 'babel-eslint'
parserOptions:
sourceType: module
ecmaVersion: 2017 # For async/await
rules:
brace-style:
- error
- 1tbs
- allowSingleLine: true
indent:
- off # temporary... a lot of stuff needs to be reformatted
- 4
- SwitchCase: 1
linebreak-style:
- error
- unix
no-control-regex:
- off
no-trailing-spaces:
- error
no-unused-vars:
- error
- argsIgnorePattern: ^_
2018-04-09 02:17:03 +00:00
varsIgnorePattern: ^_|^Promise$
2018-04-07 22:30:30 +00:00
semi:
- error
- always
quotes:
- off # Old code uses double quotes, new code uses single / template