Top "Linter" questions

React linter airbnb proptypes array

I have the following PropTypes: SmartTable.propTypes = { name: React.PropTypes.string.isRequired, cols: React.PropTypes.array.isRequired, rows: React.PropTypes.…

reactjs airbnb react-proptypes linter
Vscode "Unable to open [file]: Unable to read file" message when clicking on an error

I get this message when I click on a warning. This is a screenshot of the case. The error reads, …

c++ visual-studio-code path linter
Cannot fix eslint rule on indenting case statements in switch statement

Here is a screenshot of my sublime text window showing the eslint error being thrown for the switch / case statement. …

javascript reactjs eslint linter
Is it possible to ignore specific warnings with Visual Studio Code's linter?

Our company is thinking about switching from Sublime to Visual Studio Code. With SublimeLinter it's possible to use ignore_match …

visual-studio-code linter
Disable specific warnings from cpplint

When running cpplint, I run into some warnings that I'd like to completely disable. Specifically the copyright message & whitespaces: …

c++ linter cpplint
Ignore [clang-diagnostic-error] clang-tidy caused by 3rd party headers

I am using clang-tidy as a "linter" tool in development. I started to integrate 3rd party software into my code …

c++ header-files linter clang-tidy
why are pylint's error squiggle lines not showing in python visual studio code?

i'm using vscode for python3 in Ubuntu. Error-squiggle-lines have stopped working for Python(it works for other languages). And I …

python ubuntu visual-studio-code intellisense linter