openclimatefix/website

Stickler CI fails import checking rules in eslint

Closed this issue · 0 comments

All imports for my new PostNavigation.jsx file are failing linting. So I looked into the import/no-resolved lint error a bit. This has to do with the .eslintrc.js file. May need to change some settings.

When Stickler CI runs ESLint it does not install any of your repository dependencies. Because of this, rules that operate on import checking or typechecking rules will likely not work.

From https://stickler-ci.com/docs#javascript

Originally posted by @sukhbeersingh in #26 (comment)

We should create a separate config for Stickler for now (e.g. eslintrc.sticker.js) where we explicitly disable the failing import rules. This is only a temporary fix until we do #30.