2020-08-13 01:02:33 +03:00
|
|
|
module.exports = {
|
|
|
|
'env': {
|
2021-04-01 00:12:30 +03:00
|
|
|
'commonjs': true,
|
|
|
|
'es2021': true,
|
2020-08-13 01:02:33 +03:00
|
|
|
'node': true
|
|
|
|
},
|
|
|
|
'extends': 'eslint:recommended',
|
|
|
|
'parserOptions': {
|
2021-04-01 00:12:30 +03:00
|
|
|
'ecmaVersion': 12
|
2020-08-13 01:02:33 +03:00
|
|
|
},
|
|
|
|
'rules': {
|
|
|
|
'indent': [
|
2021-04-01 00:12:30 +03:00
|
|
|
'error',
|
2020-08-13 01:02:33 +03:00
|
|
|
'tab'
|
|
|
|
],
|
2021-04-01 00:12:30 +03:00
|
|
|
'linebreak-style': [
|
2020-08-13 01:02:33 +03:00
|
|
|
'warn',
|
2021-04-01 00:12:30 +03:00
|
|
|
'windows'
|
|
|
|
],
|
2021-05-20 21:06:42 +03:00
|
|
|
'prefer-const': [
|
|
|
|
'error',
|
|
|
|
{
|
|
|
|
'destructuring': 'any',
|
|
|
|
'ignoreReadBeforeAssign': false
|
|
|
|
}
|
|
|
|
],
|
2021-04-01 00:12:30 +03:00
|
|
|
'quotes': [
|
|
|
|
'error',
|
2020-08-13 01:02:33 +03:00
|
|
|
'single'
|
|
|
|
],
|
|
|
|
'semi': [
|
|
|
|
'error',
|
|
|
|
'always'
|
2021-05-20 17:33:22 +03:00
|
|
|
],
|
2020-08-13 01:02:33 +03:00
|
|
|
}
|
2021-05-20 17:33:22 +03:00
|
|
|
};
|