Skip to content
This repository has been archived by the owner on Aug 24, 2022. It is now read-only.

how to add warnings message on folder level using pending #152

Open
abrahamspaa opened this issue Aug 25, 2016 · 0 comments
Open

how to add warnings message on folder level using pending #152

abrahamspaa opened this issue Aug 25, 2016 · 0 comments

Comments

@abrahamspaa
Copy link

One of my dependency addon in package.json contains errors in templates.

I want to get warnings message for the template inside this particular folder instead of getting huge errors errors.

Please find the below example

Example:

my-addon (I using ember-cli-template-lint in my addon only)
   |
   | node_modules
              |
              | internal-addons => (which is throwing a lot of template related errors, 
I want this addon shouldn't validate or to throw warning 
message instead of error )

I have used below, but this not working properly

'use strict';

module.exports = {
  extends: 'recommended',

  rules: {
    'bare-strings': false,
    'img-alt-attributes': true,
    'self-closing-void-elements': true,
    'invalid-interactive': true
  },

  pending: [
    'modules/internal-addons/component/**'
  ]
};

Help on this please.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant