-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
feat(linter): migrate to create-nodes-v2 #26302
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
☁️ Nx Cloud ReportCI is running/has finished running commands for commit bb87fe7. As they complete they will appear below. Click to see the status, the terminal output, and the build insights. 📂 See all runs for this CI Pipeline Execution ✅ Successfully ran 6 targets
Sent with 💌 from NxCloud. |
48b790d
to
af48c90
Compare
af48c90
to
6c0f2e7
Compare
d74c7f9
to
d93d253
Compare
super( | ||
[ | ||
'Failed to create nodes', | ||
...errors.map(([file, e]) => ` - ${file}: ${e.message}`), |
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.
Remove
|
||
export interface EslintPluginOptions { | ||
targetName?: string; | ||
extensions?: string[]; | ||
} | ||
|
||
const DEFAULT_EXTENSIONS = ['ts', 'tsx', 'js', 'jsx', 'html', 'vue']; | ||
const ESLING_CONFIG_GLOB = combineGlobPatterns([ |
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.
const ESLING_CONFIG_GLOB = combineGlobPatterns([ | |
const ESLINT_CONFIG_GLOB = combineGlobPatterns([ |
for (const file of context.configFiles) { | ||
const nodes = await createNodes[1](file, { targetName }, context); | ||
Object.assign(aggregateProjects, nodes.projects); | ||
async function invokeCreateNodesV2OnMatchingFiles( |
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.
We don't need to change the name of this.
d93d253
to
9ae3b9a
Compare
9ae3b9a
to
bb87fe7
Compare
This pull request has already been merged/closed. If you experience issues related to these changes, please open a new issue referencing this pull request. |
Current Behavior
No cache for eslint nodes
Expected Behavior
v2 cache for eslint nodes
Related Issue(s)
Fixes #