terabox-api
Version:
NodeJS tool for interacting with the TeraBox cloud service without the need to use the website or app ☁️
29 lines (27 loc) • 726 B
JavaScript
import js from '@eslint/js';
import globals from 'globals';
export default [
js.configs.recommended,
{
ignores: ['html/**', 'docs/**'],
},
{
files: ['**/*.js'],
languageOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
globals: {
...globals.es2021,
...globals.node,
}
},
rules: {
'no-empty': ['error', { allowEmptyCatch: true }],
indent: ['error', 4, { SwitchCase: 1 }],
'linebreak-style': ['error', 'unix'],
quotes: ['error', 'single'],
semi: ['error', 'always'],
'no-unused-vars': 'warn',
}
},
];