angular/aio/tools/transforms/examples-package
dario-piotrowicz 0ae4187566 refactor(docs-infra): remove eslint directive comments from examples (#43831)
Linting has recently been removed from the examples provided in angular.io
(see PRs #43592 and #43746) such removal effects the downloadable and
stackblitz examples but linting is still generally used in the examples
in the aio project itself (they are being migrated from tslint to eslint in
PR #43218) thus eslint directive comments are still necessary in the code itself.

So the comments need to be present but need not to be exposed to the users
(not in the zips, stackblitzes nor docs themselves), these changes are
removing such comments during the examples' parsing phase (effectively
removing them from all three sources mentioned above).

Original discussion: https://github.com/angular/angular/pull/43218#discussion_r697305494

resolves #43788

PR Close #43831
2021-11-09 18:02:33 +00:00
..
file-readers build(aio): migrate plunker to stackblitz (#20165) 2018-01-23 21:30:27 -08:00
inline-tag-defs build(docs-infra): allow "" as empty region in {@example} tags (#26514) 2018-10-18 09:54:17 -07:00
processors build(docs-infra): support docregions in .conf files (#43216) 2021-09-15 10:46:45 -07:00
services refactor(docs-infra): remove eslint directive comments from examples (#43831) 2021-11-09 18:02:33 +00:00
index.js build(docs-infra): fail if there are unused example regions (#40479) 2021-01-20 16:12:15 -08:00