mirror of
https://github.com/LightZirconite/Microsoft-Rewards-Bot.git
synced 2026-01-08 00:26:16 +00:00
37 lines
940 B
JavaScript
37 lines
940 B
JavaScript
module.exports = {
|
|
'env': {
|
|
'es2021': true,
|
|
'node': true
|
|
},
|
|
'extends': [
|
|
'eslint:recommended',
|
|
'plugin:@typescript-eslint/recommended'
|
|
],
|
|
'parser': '@typescript-eslint/parser',
|
|
'parserOptions': {
|
|
'ecmaVersion': 12,
|
|
'sourceType': 'module'
|
|
},
|
|
'plugins': [
|
|
'@typescript-eslint'
|
|
],
|
|
'rules': {
|
|
'linebreak-style': 'off',
|
|
'quotes': [
|
|
'error',
|
|
'single'
|
|
],
|
|
'semi': [
|
|
'error',
|
|
'never'
|
|
],
|
|
'@typescript-eslint/no-explicit-any':
|
|
['warn', {
|
|
fixToUnknown: true // This line is optional and only relevant if you are using TypeScript
|
|
}],
|
|
'comma-dangle': 'off',
|
|
'@typescript-eslint/comma-dangle': 'error',
|
|
'prefer-arrow-callback': 'error'
|
|
// Add any other rules you want to enforce here
|
|
}
|
|
} |