html-eslint icon indicating copy to clipboard operation
html-eslint copied to clipboard

Include `parser` and `plugins` settings into `recommended` config?

Open JounQin opened this issue 2 years ago • 2 comments

// recommended.js
module.exports = {
  parser: '@html-eslint/parser',
  plugins: ['@html-eslint'],
  rules: {
    // ...
  },
};

Not sure why they are not included by default

JounQin avatar Apr 04 '23 15:04 JounQin

@JounQin Agree! We should include the parser and plugin!

yeonjuan avatar Apr 09 '23 09:04 yeonjuan

Does it mean this

...
{
	"extends": [
		"plugin:@html-eslint/recommended"
	],
	"files": ["src/**/*.html"],
	"parser": "@html-eslint/parser",
	"plugins": [
		"@html-eslint"
	],
	"rules": {
		...
	}
}
...

is going to be replace with

...
{
	"extends": [
		"plugin:@html-eslint/recommended"
	],
	"files": ["src/**/*.html"],
	"rules": {
		...
	}
}
...

?

gian1200 avatar May 10 '23 03:05 gian1200