Why eslint not watchit (watch) my files?

Hi!
I can not understand why eslint not wotchit my files after the installation of the guide off site (eslint --init). In General, I want to eslint pointed out my mistakes when I use:
- React;
- PropTypes;
- Redux;
- Styled-components (well, if there is this rule, why not);

Collect natural webparam
Of course, eslint, I need only for Develompent mode

package.json
"eslint": "^4.19.1",
 "eslint-plugin-react": "^7.10.0",


Eslintrc configuration.json which is generated automatically after "eslint --init"
{
 "env": {
 "browser": true,
 "commonjs": true,
 "es6": true
},
 "extends": "eslint:recommended",
 "parserOptions": {
 "ecmaFeatures": {
 "experimentalObjectRestSpread": true,
 "jsx": true
},
 "sourceType": "module"
},
 "plugins": [
"react"
],
 "rules": {
 "indent": [
"error",
tab
],
 "linebreak-style": [
"error",
"unix"
],
 "quotes": [
"error",
"single"
],
 "semi": [
"error",
"always"
]
}
}


Thus, I can lincity via the console. But I want the validation happen when I write code. For past projects I have correctly worked Linter, but then I used presets rollup and airbnb, then no problems.

Do we need a separate loader for Linter and other hemorrhagic?
June 3rd 19 at 20:23
1 answer
June 3rd 19 at 20:25
The problem is solved by installing the necessary plugins for Your IDE.
with webpack-dev-server sign, thank you
ie if you crash the loader I have errors will appear in the fields editor in real time as I want? - harmon.Koelpin commented on June 3rd 19 at 20:28
Nonsense, eslint-loader will not help here. - Lenny.Botsfo commented on June 3rd 19 at 20:31
Don't quite understand what it means in the fields editor. if all lint warnings and errors to the console. I use pycharm, there is a possibility to configure the error output in the file itself. In simple editors it is possible, can be done with the installation of additional plugins. - demarco.Dare commented on June 3rd 19 at 20:34
Yes, put the plugin and it worked, thanks for the reply :)

UPD: in the editor, here are the bugs, IMHO it is more convenient than looking in the console
5b504490f161b283274181.png - harmon.Koelpin commented on June 3rd 19 at 20:37
in that case, don't forget to mark my answer) - demarco.Dare commented on June 3rd 19 at 20:40
please leave a new answer sir, which will tell you about the need to use the plugin, not to lead people astray - harmon.Koelpin commented on June 3rd 19 at 20:43
You're right. - demarco.Dare commented on June 3rd 19 at 20:46

Find more questions by tags JavaScriptReactLinter