forked from arabold/serverless-sentry-plugin
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc
27 lines (27 loc) · 846 Bytes
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
---
# Based on the AirBnb JavaScript styleguides with our own twist
env:
es6: true
node: true
extends:
- eslint:recommended
rules:
indent: [ error, tab, {
MemberExpression: off
} ]
linebreak-style: [ error, unix ]
semi: [ error, always ]
quotes: [ error, double, { avoidEscape: true } ]
no-mixed-spaces-and-tabs: error
space-before-blocks: error
arrow-spacing: error
key-spacing: [ error, { afterColon: true, mode: minimum } ]
brace-style: [ error, stroustrup ]
comma-spacing: [ error, { before: false, after: true } ]
comma-style: [ error, last, { exceptions: { VariableDeclaration: true } } ]
array-bracket-spacing: off # [ error, always, { singleValue: false } ]
computed-property-spacing: [ error, never ]
object-curly-spacing: [ error, always ]
prefer-const: error
no-var: error
no-console: off