mirror of
https://github.com/tubearchivist/browser-extension.git
synced 2024-11-05 03:30:12 +00:00
22 lines
457 B
JavaScript
22 lines
457 B
JavaScript
'use strict';
|
|
module.exports = {
|
|
extends: ['eslint:recommended', 'eslint-config-prettier'],
|
|
parserOptions: {
|
|
ecmaVersion: 2020,
|
|
},
|
|
env: {
|
|
browser: true,
|
|
},
|
|
globals: {
|
|
browser: 'readonly',
|
|
chrome: 'readonly',
|
|
},
|
|
rules: {
|
|
strict: ['error', 'global'],
|
|
'no-unused-vars': ['error', { vars: 'local' }],
|
|
eqeqeq: ['error', 'always', { null: 'ignore' }],
|
|
curly: ['error', 'multi-line'],
|
|
'no-var': 'error',
|
|
},
|
|
};
|