index.js 660 B

123456789101112131415161718
  1. module.exports = {
  2. rules: {
  3. 'no-env-in-context': require('./rules/no-env-in-context'),
  4. 'no-env-in-hooks': require('./rules/no-env-in-hooks'),
  5. 'no-globals-in-created': require('./rules/no-globals-in-created'),
  6. 'no-this-in-fetch-data': require('./rules/no-this-in-fetch-data'),
  7. 'no-timing-in-fetch-data': require('./rules/no-timing-in-fetch-data'),
  8. 'no-cjs-in-config': require('./rules/no-cjs-in-config'),
  9. 'require-func-head': require('./rules/require-func-head')
  10. },
  11. configs: {
  12. base: require('./configs/base'),
  13. recommended: require('./configs/recommended')
  14. },
  15. processors: {
  16. '.vue': require('./processors')
  17. }
  18. }