mirror of
https://github.com/DoctorMcKay/node-steamcommunity.git
synced 2025-01-31 11:30:11 +08:00
24 lines
479 B
JavaScript
24 lines
479 B
JavaScript
module.exports = {
|
|
env: {
|
|
commonjs: true,
|
|
es2021: true,
|
|
node: true
|
|
},
|
|
extends: 'eslint:recommended',
|
|
parserOptions: {
|
|
ecmaVersion: 12
|
|
},
|
|
rules: {
|
|
// Use tabs for indentation
|
|
indent: ['error', 'tab'],
|
|
// Single quotes for strings
|
|
quotes: ['warn', 'single'],
|
|
// Always require semicolons
|
|
semi: ['error', 'always'],
|
|
// Don't use 'var'
|
|
'no-var': 'warn',
|
|
// Only use quotes in object literal keys as needed
|
|
'quote-props': ['warn', 'as-needed']
|
|
}
|
|
};
|