OSX - ignore_match - SublimeLinter - HTML-tidy

139 Views Asked by At

I'm trying to get SublimeLinter and HTML-tidy ignore specific errors on my html file. I never used SublimeLinter before so I'm kinda confused.

Is there any way I can ignore unnecessary errors? because it's kinda annoying to see a lot of orange mark on my screen.

Here's my HTML Interface (lot's of errors)

I keep getting warning: link inserting "type" attribute and a lot more.

And here's my SublimeLinter.sublime-settings

I tried these settings:

"htmllint": {
                "@disable": false,
                "args": [],
                "excludes": [],
                "ignore_match": {
                    "inc": [
                        "missing <!DOCTYPE> declaration",
                        "inserting implicit <body>",
                        "inserting missing 'title' element",
                        "<link> inserting 'type' attribute"
                    ]
                }

            },

and

"htmltidy": {
                "@disable": false,
                "args": [],
                "excludes": [],
                "ignore_match": {
                    "inc": [
                        "missing <!DOCTYPE> declaration",
                        "inserting implicit <body>",
                        "inserting missing 'title' element",
                        "<link> inserting 'type' attribute"
                    ]
                }
            },

but nothing seems to work.

0

There are 0 best solutions below