mirror of
https://github.com/tubearchivist/browser-extension.git
synced 2024-11-22 03:30:14 +00:00
25 lines
537 B
JavaScript
25 lines
537 B
JavaScript
'use strict';
|
|
module.exports = {
|
|
extends: ['eslint:recommended', 'eslint-config-prettier'],
|
|
parserOptions: {
|
|
ecmaVersion: 2020,
|
|
},
|
|
env: {
|
|
browser: true,
|
|
es6: 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',
|
|
'no-func-assign': 'off',
|
|
'no-inner-declarations': 'off',
|
|
},
|
|
};
|