lifeart / ember-language-server

Language Server Protocol implementation for Ember.js and Glimmer projects
https://marketplace.visualstudio.com/items?itemName=lifeart.vscode-ember-unstable
MIT License
32 stars 16 forks source link

It does not use `ignore` setting of .template-lintrc #156

Open mydea opened 4 years ago

mydea commented 4 years ago

We have configured template-lint to skip the tests directory (see https://github.com/ember-template-lint/ember-template-lint/blob/master/docs/ignore.md). However, the VSCode extension still marks the hbs templates in my tests as errors. It would be nice if the extension would use the ignore setting from my .template-lintrc file.

lifeart commented 4 years ago

@mydea correct, ts/js files linting is not implemented in template-lint, and workaround located in language server. Linking issue: https://github.com/ember-template-lint/ember-template-lint/pull/888

lifeart commented 3 years ago

this template-lint config should work

overrides: [
    {
      files: ['**/*-test.js'],
      rules: {
        'no-inline-styles': false,
      },
    },
  ],
lifeart commented 3 years ago

one more related issue https://github.com/lifeart/vscode-ember/issues/22

likely we should add configuration example into readme.md