github-pages-deploy-action/node_modules/eslint-plugin-github/lib/configs/browser.js

19 lines
489 B
JavaScript
Raw Permalink Normal View History

2020-03-31 20:42:07 +08:00
module.exports = {
env: {
browser: true
},
plugins: ['github'],
rules: {
'github/async-currenttarget': 'error',
'github/async-preventdefault': 'error',
'github/get-attribute': 'error',
'github/no-blur': 'error',
2020-10-18 03:22:15 +08:00
'github/no-dataset': 'error',
2020-03-31 20:42:07 +08:00
'github/no-innerText': 'error',
2020-10-18 03:22:15 +08:00
'github/unescaped-html-literal': 'error',
'github/no-useless-passive': 'error',
'github/require-passive-events': 'error',
'github/prefer-observers': 'error'
}
2020-03-31 20:42:07 +08:00
}