DiscordTickets/.eslintrc.js

36 lines
468 B
JavaScript
Raw Normal View History

module.exports = {
'env': {
2021-04-01 00:12:30 +03:00
'commonjs': true,
'es2021': true,
'node': true
},
'extends': 'eslint:recommended',
'parserOptions': {
2021-04-01 00:12:30 +03:00
'ecmaVersion': 12
},
'rules': {
'indent': [
2021-04-01 00:12:30 +03:00
'error',
'tab'
],
2021-04-01 00:12:30 +03:00
'linebreak-style': [
'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',
'single'
],
'semi': [
'error',
'always'
],
}
};