Open caroundsky opened 1 year ago
/* eslint-disable */ /* eslint-disable-next-line */
// .prettierrc endOfLine: 'auto' // .eslintrc.js rules: { "prettier/prettier": [ "error", { "endOfLine": "auto" }, ], }
'no-unused-vars': 'off'
// .eslintrc.js rules: { "@typescript-eslint/explicit-module-boundary-types": "off" }
// .eslintrc.js rules: { '"@typescript-eslint/no-explicit-any": "off" }
// tsconfig.json "noImplicitAny": false
Eslint
忽略检查
报错 xxx cr xxx
解决未定义报错
Warning about Missing Return Type of function
warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
Ts
parameter implicitly has an 'any' type