New checks provided by Commonality #209
alec-chernicki
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
|
I have a small list:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Hey @IKatsuba I just wanted to let you know that I've added For the use cases you mentioned here are some examples. Check for dependencies: export default defineConfig({
checks: {
ui: [
recommended.hasJsonFile('package.json', {
dependencies: {
react: "^18.0.0"
},
}),
],
},
});Check for content of a file: export default defineConfig({
checks: {
"*": [
recommended.hasTextFile('.npmignore', ["dist"]),
],
},
});We don't yet support negation of checks but would love to hear your use case! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've created some foundational checks that re-enforce best practices with the
commonality-checks-recommendedpackage. However, there may be more checks that developers immediately reach for or are a common requirement likehasFile(). What are some common foundational-level checks that you'd like to see us directly create and support?Beta Was this translation helpful? Give feedback.
All reactions