-
Notifications
You must be signed in to change notification settings - Fork 10
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
Chore: not use non-public api #42
Conversation
as it is a non-public api.
"string-similarity": "^3.0.0" | ||
}, | ||
"devDependencies": { | ||
"@not-an-aardvark/node-release-script": "^0.1.0", | ||
"@types/eslint": "^4.16.6", | ||
"eslint": "^5.14.0", | ||
"eslint": "https://github.com/eslint/eslint.git", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里没必要用 Git 上的代码吧?用 *
或 latest
就可以了。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
可以尽可能早的发现兼容性问题。dev deps也不会影响到用户。todo:测试与 eslint v5/v6的兼容
@@ -0,0 +1,1359 @@ | |||
/** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
也许提取出来做成一个 npm 包会更好?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
emmmm 考虑到维护成本。。感觉最好是把用到的函数复制出来就行。
我要merge&发布新版本了,有什么优化的建议可以新建一个pr哈~ @g-plane 😄 |
No description provided.