Skip to content

Commit cf8de65

Browse files
authored
chore: Ensure plugins are linted (#675)
1 parent a653c29 commit cf8de65

3 files changed

Lines changed: 12 additions & 4 deletions

File tree

eslint.config.mjs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,13 @@ export default [
2929
...resolveIgnoresFromGitignore()
3030
]
3131
},
32+
{
33+
// re-include 1st party plugin source bundled under nested node_modules because
34+
// eslint's default `**/node_modules/` global ignore causes it to be skipped
35+
// Note: both entries are required as eslint prunes without descending so it
36+
// has to be specific enough that gitignore derived ignores don't re-add it back in.
37+
ignores: ['!**/lib/plugins/node_modules', '!**/lib/plugins/node_modules/**']
38+
},
3239
js.configs.recommended,
3340
...neostandard(),
3441
{

lib/plugins/node_modules/@flowfuse/flowfuse-auth/httpAuthMiddleware.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/plugins/node_modules/@flowfuse/flowfuse-auth/strategy.js

Lines changed: 4 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)