yeonjuan / html-eslint

ESLint plugin for linting HTML
https://html-eslint.org
MIT License
161 stars 28 forks source link

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

Open JounQin opened 1 year ago

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

Not sure why they are not included by default

yeonjuan commented 1 year ago

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

gian1200 commented 1 year ago

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

?