mirror of
https://github.com/murdos/musicbrainz-userscripts
synced 2024-11-10 05:04:13 +00:00
30 lines
782 B
JavaScript
30 lines
782 B
JavaScript
module.exports = {
|
|
env: {
|
|
browser: true,
|
|
es2017: true,
|
|
greasemonkey: true,
|
|
jquery: true,
|
|
},
|
|
extends: ['eslint:recommended', 'plugin:prettier/recommended'],
|
|
globals: {
|
|
LOGGER: true,
|
|
MBImportStyle: true,
|
|
MBImport: true,
|
|
MBLinks: true,
|
|
MBSearchItStyle: true,
|
|
},
|
|
rules: {
|
|
'prettier/prettier': 'error',
|
|
'prefer-template': 'error',
|
|
'no-console': 'off',
|
|
'no-inner-declarations': 'warn',
|
|
'no-global-assign': 'warn',
|
|
'no-redeclare': 'warn',
|
|
'no-self-assign': 'warn',
|
|
'no-undef': 'warn',
|
|
'no-useless-concat': 'warn',
|
|
'no-useless-escape': 'warn',
|
|
'no-unused-vars': 'warn',
|
|
'no-var': 'warn',
|
|
},
|
|
};
|