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

Create "recommended" set of lint rules #1

Closed
imhoffd opened this issue Sep 10, 2020 · 3 comments
Closed

Create "recommended" set of lint rules #1

imhoffd opened this issue Sep 10, 2020 · 3 comments

Comments

@imhoffd
Copy link
Contributor

imhoffd commented Sep 10, 2020

"extends": "@ionic/recommended"

@imhoffd
Copy link
Contributor Author

imhoffd commented Sep 11, 2020

closed by abb177c

@imhoffd imhoffd closed this as completed Sep 11, 2020
@LFTroya
Copy link

LFTroya commented Feb 8, 2021

Hi,

I am trying this package but it throws an error:

Oops! Something went wrong! :(

ESLint: 7.19.0

Error: package.json » @ionic/eslint-config/recommended » ./index:
        Configuration for rule "@typescript-eslint/explicit-module-boundary-types" is invalid:
        Value {"allowArgumentsExplicitlyTypedAsAny":true} should NOT have additional properties.

    at ConfigValidator.validateRuleOptions (/Users/gerente2/Code/miniefi-mobile/node_modules/@eslint/eslintrc/lib/shared/config-validator.js:142:23)
    at /Users/gerente2/Code/miniefi-mobile/node_modules/@eslint/eslintrc/lib/shared/config-validator.js:197:18
    at Array.forEach (<anonymous>)
    at ConfigValidator.validateRules (/Users/gerente2/Code/miniefi-mobile/node_modules/@eslint/eslintrc/lib/shared/config-validator.js:194:34)
    at ConfigValidator.validateConfigArray (/Users/gerente2/Code/miniefi-mobile/node_modules/@eslint/eslintrc/lib/shared/config-validator.js:320:18)
    at CascadingConfigArrayFactory._finalizeConfigArray (/Users/gerente2/Code/miniefi-mobile/node_modules/@eslint/eslintrc/lib/cascading-config-array-factory.js:493:23)
    at CascadingConfigArrayFactory.getConfigArrayForFile (/Users/gerente2/Code/miniefi-mobile/node_modules/@eslint/eslintrc/lib/cascading-config-array-factory.js:299:21)
    at FileEnumerator._iterateFilesRecursive (/Users/gerente2/Code/miniefi-mobile/node_modules/eslint/lib/cli-engine/file-enumerator.js:440:49)
    at _iterateFilesRecursive.next (<anonymous>)
    at FileEnumerator.iterateFiles (/Users/gerente2/Code/miniefi-mobile/node_modules/eslint/lib/cli-engine/file-enumerator.js:296:49)

If I delete this rules from the package it works fine. Any solution to this? @dwieeb

@andrew-lyons
Copy link

Did you ever get past this? I'm currently having the same issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants