We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
目前在生成的代码中,存在双引号。
如:models.create 在定义了 entry 时,会在 entry 中新增对于 model 的引用
models.create
app.model(require("./model/name")
该语句中存在双引号,在配置了以单引号作为引号类型的lint规则下会抛错
建议做一个全局配置,引号的类型可由使用者定义,并且默认引号类型为单引号。如:
import { config } from 'dva-ast' config({ quoteType: 'single'|'double' })
The text was updated successfully, but these errors were encountered:
No branches or pull requests
目前在生成的代码中,存在双引号。
如:
models.create
在定义了 entry 时,会在 entry 中新增对于 model 的引用该语句中存在双引号,在配置了以单引号作为引号类型的lint规则下会抛错
建议做一个全局配置,引号的类型可由使用者定义,并且默认引号类型为单引号。如:
The text was updated successfully, but these errors were encountered: