browser-extension/.eslintrc.js

22 lines
457 B
JavaScript
Raw Normal View History

2022-12-03 02:48:53 +00:00
'use strict';
module.exports = {
extends: ['eslint:recommended', 'eslint-config-prettier'],
parserOptions: {
ecmaVersion: 2020,
},
env: {
browser: true,
},
2022-12-03 02:57:04 +00:00
globals: {
browser: 'readonly',
chrome: 'readonly',
},
2022-12-03 02:48:53 +00:00
rules: {
strict: ['error', 'global'],
'no-unused-vars': ['error', { vars: 'local' }],
eqeqeq: ['error', 'always', { null: 'ignore' }],
curly: ['error', 'multi-line'],
'no-var': 'error',
},
};