2020-04-11 17:26:19 +03:00
|
|
|
module.exports = {
|
|
|
|
env: {
|
|
|
|
commonjs: true,
|
|
|
|
es6: true,
|
|
|
|
node: true
|
|
|
|
},
|
|
|
|
extends: [
|
|
|
|
'airbnb-base'
|
|
|
|
],
|
|
|
|
globals: {
|
|
|
|
Atomics: 'readonly',
|
|
|
|
SharedArrayBuffer: 'readonly'
|
|
|
|
},
|
|
|
|
parserOptions: {
|
2023-01-02 23:06:33 +03:00
|
|
|
ecmaVersion: 2018
|
2020-04-11 17:26:19 +03:00
|
|
|
},
|
|
|
|
rules: {
|
2023-01-02 23:06:33 +03:00
|
|
|
'comma-dangle': [
|
|
|
|
'error',
|
|
|
|
'never'
|
2020-04-11 17:26:19 +03:00
|
|
|
],
|
2023-01-02 23:06:33 +03:00
|
|
|
'no-console': 'off',
|
|
|
|
'object-curly-newline': 'off'
|
2020-04-11 17:26:19 +03:00
|
|
|
}
|
|
|
|
};
|