mirror of
https://github.com/tubearchivist/tubearchivist
synced 2024-11-02 09:41:07 +00:00
18 lines
390 B
JavaScript
18 lines
390 B
JavaScript
|
'use strict';
|
||
|
module.exports = {
|
||
|
extends: ['eslint:recommended', 'eslint-config-prettier'],
|
||
|
parserOptions: {
|
||
|
ecmaVersion: 2020,
|
||
|
},
|
||
|
env: {
|
||
|
browser: true,
|
||
|
},
|
||
|
rules: {
|
||
|
strict: ['error', 'global'],
|
||
|
'no-unused-vars': ['error', { vars: 'local' }],
|
||
|
eqeqeq: ['error', 'always', { null: 'ignore' }],
|
||
|
curly: ['error', 'multi-line'],
|
||
|
'no-var': 'error',
|
||
|
},
|
||
|
};
|