not standard js rules executed
lesar opened this issue · comments
What version of this package are you using?
I have installed: (all local)
- eslint 7.18.0 (is required?)
- eslint-config-standard 16.0.2
- eslint-plugin-import 2.22.1
- eslint-plugin-node 11.1.0
- eslint-plugin-promise ^4.2.1
What operating system, Node.js, and npm version?
I use Ubuntu 20.04.1 64 bit on arm rpi4
Node 14.15.1
pnpm 5.15.2
VIM - Vi IMproved 8.2 (2019 Dec 12, compilato Jan 08 2021 14:00:27)
Patch incluse: 1-2311
Vim ale version 3
What happened?
I try my test project using standard and I can see a lot of lint on a page: ;, spaces, ...
Then I remove standard install eslint and your plugin and change configuration:
.eslintrc.json
{
"extends": "standatd",
"rules": {
"comma-style": [ "error", "first" ]
}
}
(I try to put the above conf in package.json too)
configure vim ale too changing from standard to eslint:
" Fix files automatically on save
let g:ale_fixers = {
\'javascript': ['eslint']
\}
let g:ale_linters = {
\'javascript': ['eslint', 'tsserver']
\}
and restart vim
What did you expect to happen?
I aspect that only comma first behaviour will be affected but all lint by standard are now gone:
using standard a page full of red lint
using the plugin only syntax error lint ( a lot few red lint)
I'm I not understand the right configuration or is a plugin bug?
seams that was not reading .eslintrc.json.
I have try to change in eslintrc.json without the point at begin but I was not be lucky.
best regards,
Leonardo
Silly me:
.eslintrc.json
{
"extends": "standatd",
"rules": {
"comma-style": [ "error", "first" ]
}
}
I have write standatd!!!
putting to standard all go well.
file .eslintrc.json is good place to put configuration.