You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
660 B
41 lines
660 B
module.exports = {
|
|
'env': {
|
|
'browser': true,
|
|
'commonjs': true,
|
|
'node': true,
|
|
'es6': true
|
|
},
|
|
'parserOptions': {
|
|
'ecmaVersion': 8
|
|
},
|
|
'extends': 'eslint:recommended',
|
|
'rules': {
|
|
'indent': [
|
|
'error',
|
|
2,
|
|
{
|
|
'FunctionDeclaration': {
|
|
'parameters': 'first'
|
|
},
|
|
'FunctionExpression': {
|
|
'parameters': 'first'
|
|
},
|
|
'CallExpression': {
|
|
'arguments': 'first'
|
|
}
|
|
}
|
|
],
|
|
'linebreak-style': [
|
|
'error',
|
|
'unix'
|
|
],
|
|
'quotes': [
|
|
'error',
|
|
'single'
|
|
],
|
|
'semi': [
|
|
'error',
|
|
'always'
|
|
]
|
|
}
|
|
};
|
|
|