uci-websocket-client/.eslintrc.js

27 lines
518 B
JavaScript
Raw Normal View History

module.exports = {
ecmaFeatures: {
modules: true,
spread: true,
restParams: true
},
env: {
es6: true,
node: true,
mocha: true
},
parserOptions: {
ecmaVersion: 2017,
sourceType: 'module',
parser: 'babel-eslint'
},
extends: 'eslint:recommended',
rules: {
indent: ['error', 2],
'space-before-function-paren': ['error', 'always'],
'no-console': 0,
semi: ['error', 'never'],
'linebreak-style': ['error', 'unix'],
quotes: ['error', 'single']
}
}