Skip to content
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: make codeclimate work #22

Open
weboko opened this issue Feb 2, 2023 · 0 comments
Open

chore: make codeclimate work #22

weboko opened this issue Feb 2, 2023 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@weboko
Copy link
Collaborator

weboko commented Feb 2, 2023

Right now it does not work and we need to decide wether to keep and fix or disable.

Errors that fail:

Module not supported: eslint-plugin-functional
Module not supported: @typescript-eslint/parser
/usr/src/app/lib/validate_config.js:17
        throw e;
        ^

Error: /code/.eslintrc.json:
	Configuration for rule "eslint-comments/disable-enable-pair" is invalid:
	Value "[object Object]" has more items than allowed.

    at validateRuleOptions (/usr/local/node_modules/eslint/lib/config/config-validator.js:109:15)
    at /usr/local/node_modules/eslint/lib/config/config-validator.js:156:13
    at Array.forEach (<anonymous>)
    at Object.validate (/usr/local/node_modules/eslint/lib/config/config-validator.js:155:35)
    at Object.load (/usr/local/node_modules/eslint/lib/config/config-file.js:559:19)
    at loadConfig (/usr/local/node_modules/eslint/lib/config.js:63:33)
    at getLocalConfig (/usr/local/node_modules/eslint/lib/config.js:130:29)
    at Config.getConfig (/usr/local/node_modules/eslint/lib/config.js:260:26)
    at Config.getConfig (/usr/src/app/lib/eslint-patch.js:45:46)
    at CLIEngine.getConfigForFile (/usr/local/node_modules/eslint/lib/cli-engine.js:776:29)

Node.js v17.3.0

The cause might be Node version.

@weboko weboko added enhancement New feature or request good first issue Good for newcomers labels Feb 2, 2023
@weboko weboko added this to Waku Feb 2, 2023
@fryorcraken fryorcraken moved this to Triage in Waku Feb 22, 2023
@fryorcraken fryorcraken moved this from Triage to To Do in Waku Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
Status: To Do
Development

No branches or pull requests

1 participant