Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include parser and plugins settings into recommended config? #132

Open
JounQin opened this issue Apr 4, 2023 · 2 comments
Open

Include parser and plugins settings into recommended config? #132

JounQin opened this issue Apr 4, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@JounQin
Copy link

JounQin commented Apr 4, 2023

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

Not sure why they are not included by default

@yeonjuan yeonjuan added the enhancement New feature or request label Apr 9, 2023
@yeonjuan
Copy link
Owner

yeonjuan commented Apr 9, 2023

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

@gian1200
Copy link

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": {
		...
	}
}
...

?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants