extension-workshop/.eslintrc.js

20 строки
347 B
JavaScript

module.exports = {
globals: {
jQuery: 'readable',
},
env: {
browser: true,
},
plugins: ['prettier'],
extends: ['prettier'],
parserOptions: {
ecmaVersion: 5,
},
rules: {
'prettier/prettier': 'error',
'linebreak-style': ['error', 'unix'],
quotes: ['error', 'single'],
semi: ['error', 'always'],
},
};