question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Doesn't work properly with newest TSLint version

See original GitHub issue

Hi there,

first of all thanks for this awesome plugin, I really love it and use it in all my projects. Keep up the good work please! 👍

Sadly I discovered an issue some days ago. I always get this messages when I run tslint in my projects:

Could not find implementations for the following rules specified in the configuration:
    conditional-expression-parens
    import-destructuring-spacing
    jsx-alignment
    jsx-attribute-spacing
    jsx-curly-spacing
    jsx-equals-spacing
    jsx-expression-spacing
    jsx-no-closing-bracket-newline
    jsx-no-multiline-js
    jsx-wrap-multiline
    literal-spacing
    newline-per-chained-call
    no-empty-line-after-opening-brace
    no-semicolon-interface
    no-unnecessary-parens-for-arrow-function-arguments
    no-unnecessary-semicolons
    react-tsx-curly-spacing
    space-within-parens
Try upgrading TSLint and/or ensuring that you have all necessary custom rules installed.
If TSLint was recently upgraded, you may have old rules configured which need to be cleaned up.

This is my tslint.json file:

{
  "defaultSeverity": "error",
  "extends": ["tslint:recommended", "tslint-eslint-rules", "tslint-config-prettier"],
  "jsRules": {},
  "rules": {
    "quotemark": [true, "single", "avoid-escape"],
    "no-duplicate-variable": true,
    "no-unused-variable": [true],
    "variable-name": false,
    "no-console": [false, "log", "error"],
    "object-literal-shorthand": false,
    "no-bitwise": false,
    "no-string-literal": false,
    "jsdoc-format": false,
    "no-namespace": false
  },
  "rulesDirectory": ["node_modules/tslint-eslint-rules/dist/rules"]
}

When I remove "tslint-config-prettier" from the extends-array, the messages disappear.

Could someone please help me with this?

Best, Sven

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
svzicommented, Apr 25, 2018

Interestingly I couldn’t reproduce it in a clean (ionic3) project. I discovered that updating my @ionic/app-scripts package (from 1.3.7 to 3.1.9) removed the issues for me. Interesting. I just found out because my sample Ionic3 app that I just prepared for sharing, didn’t have this issues.

Thanks for your help, that pointed me in the right direction. Hopefully I can solve it in my other projects as well. If not, because not all are Ionic-based, I will open a new issue or comment here again.

1reaction
svzicommented, Apr 25, 2018

Thanks for your ultra quick response. I can try to create one.

Read more comments on GitHub >

github_iconTop Results From Across the Web

TSLint not working in VS Code - typescript - Stack Overflow
How I found the problem: I copied your config file into a project, went to View > Output to check for errors from...
Read more >
TSLint (deprecated) - Visual Studio Marketplace
Open the tslint output log using the command TSLint: Show Output . Verify that there is no error message in the shown log....
Read more >
Angular IDE does not use project local TSLint version - Genuitec
Everything is fine and I have no lint issues. However, Angular IDE is not recognizing the newer rules in my TSLint version (5.9.1)....
Read more >
TSLint command-line interface - Palantir Open Source
This also means that tslint will have to use the same version of tsc which ... that the TypeScript source files compile correctly...
Read more >
Converting your Angular project from TSLint to ESLint
TSLint integrated well with Angular since it was designed from the ground up to work with typescript. Out of the box, ESLint doesn't...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found