Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feature] 2.1.0 #29

Open
cklwblove opened this issue Jul 31, 2023 · 0 comments
Open

[feature] 2.1.0 #29

cklwblove opened this issue Jul 31, 2023 · 0 comments

Comments

@cklwblove
Copy link
Contributor

更改日志

  1. 升级 typescript 至 ^5.1.6
  2. 升级 @typescript-eslint/eslint-plugin 至 ^6.2.0
  3. 升级 @typescript-eslint/parser 至 ^6.2.0
  4. 升级 eslint 至 ^8.45.0
  5. 升级 eslint-plugin-vue 至 ^9.15.1
  6. 升级 vue-eslint-parser 至 9.3.1

base

  1. id-blacklist 调整为 id-denylist
  2. 新增 logical-assignment-operators
  3. 新增 no-constant-binary-expression
  4. 新增 no-new-native-nonconstructor
  5. 新增 no-nonoctal-decimal-escape
  6. 新增 no-promise-executor-return
  7. 新增 no-unreachable-loop
  8. 新增 no-unsafe-optional-chaining
  9. 新增 no-unused-private-class-members
  10. 新增 prefer-arrow-callback

typescript

  1. 新增 class-methods-use-this
  2. 新增 consistent-generic-constructors
  3. 新增 consistent-type-exports
  4. 新增 no-duplicate-enum-values
  5. 新增 no-duplicate-type-constituents
  6. 新增 no-import-type-side-effects
  7. 新增 no-meaningless-void-operator
  8. 新增 no-mixed-enums
  9. 新增 no-non-null-asserted-nullish-coalescing
  10. 新增 no-redundant-type-constituents
  11. 新增 no-restricted-imports
  12. 新增 no-unsafe-declaration-merging
  13. 新增 no-unsafe-enum-comparison
  14. 新增 no-useless-empty-export
  15. 新增 padding-line-between-statements
  16. 新增 parameter-properties
  17. 新增 prefer-return-this-type
  18. 新增 sort-type-constituents
  19. prefer-optional-chain 调整成 error

vue3

  1. 新增 component-definition-name-casing
  2. 新增 define-emits-declaration
  3. 新增 define-macros-order
  4. 新增 define-props-declaration
  5. 新增 match-component-import-name
  6. 新增 max-lines-per-block
  7. 新增 no-console
  8. 移除 no-multiple-template-root
  9. 新增 no-ref-object-destructure
  10. 新增 no-required-prop-with-default
  11. 新增 no-reserved-props
  12. 新增 no-restricted-component-names
  13. 新增 no-restricted-html-elements
  14. 新增 no-root-v-if
  15. 新增 padding-line-between-tags
  16. 新增 padding-lines-in-component-definition
  17. 新增 prefer-define-options
  18. 新增 prefer-prop-type-boolean-first
  19. 新增 prefer-true-attribute-shorthand
  20. 新增 require-expose
  21. 新增 require-macro-variable-name
  22. 新增 require-prop-comment
  23. 新增 require-typed-ref
  24. 新增 v-on-handler-style
  25. 移除 v-on-function-call
  26. 新增 valid-define-options
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant