scalra
Version:
node.js framework to prototype and scale rapidly
56 lines • 913 B
JavaScript
module.exports = {
'env': {
'es6': true,
'node': true,
},
'extends': 'eslint:recommended',
'parserOptions': {
'ecmaVersion': 2017,
'sourceType': 'module',
},
'globals': {
'UTIL': {},
'SR': {},
'LOG': {},
},
'rules': {
'indent': [
'error',
'tab',
{'SwitchCase': 0},
],
'linebreak-style': [
'error',
'unix',
],
'quotes': [
'error',
'single',
],
'semi': [
'error',
'always',
],
'no-console': [
'warn',
{allow: ['warn', 'error', 'info']},
],
'brace-style': [
'error',
'1tbs',
{'allowSingleLine': true},
],
'no-unused-vars': [
'warn',
{
'vars': 'all',
'args': 'after-used',
'ignoreRestSiblings': false,
},
],
'no-mixed-spaces-and-tabs': [
'error',
'smart-tabs',
],
},
};