项目原始demo,不改动
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
 
 

16 lines
415 B

  1. "use strict";
  2. const BABEL_VISITOR_KEYS = require("@babel/types").VISITOR_KEYS;
  3. const ESLINT_VISITOR_KEYS = require("eslint-visitor-keys").KEYS;
  4. module.exports = Object.assign(
  5. {
  6. Literal: ESLINT_VISITOR_KEYS.Literal,
  7. MethodDefinition: ["decorators"].concat(
  8. ESLINT_VISITOR_KEYS.MethodDefinition
  9. ),
  10. Property: ["decorators"].concat(ESLINT_VISITOR_KEYS.Property),
  11. },
  12. BABEL_VISITOR_KEYS
  13. );