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

Исправить ошибки линтера в созданном приложении #169

Open
irkinwork opened this issue May 10, 2021 · 1 comment

Comments

@irkinwork
Copy link
Contributor

Можно добавить такое правило линтера

    "rules": {
        "no-unused-vars": [2, {"args": "after-used", "argsIgnorePattern": "^_"}]
    }

https://eslint.org/docs/2.0.0/rules/no-unused-vars

И неиспользуемые переменные начинать с _

@alex-ismailov
Copy link
Contributor

Взял в работу.

alex-ismailov added a commit to alex-ismailov/nodos that referenced this issue May 15, 2021
…inning with underscore and only the last argument must be used
mokevnin added a commit that referenced this issue Jun 20, 2021
[#169] Add(example/.eslintrc.yml) rule. Ignore unused vars beginning with underscore and only the last argument must be used
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants