Closed alanorozco closed 3 years ago
Here's where the files are ignored:
Wanna send out a PR to make the rule less broad (and auto-fix)? 😃
Note: For JS files, we don't use prettier
directly. Instead, we use eslint
with the prettier
plugin (so that only one entity is auto-fixing the files, and so that we can mix other lint rules with prettier).
You can auto-fix JS files once you change the rule by running:
gulp lint --fix
JavaScript files in
examples/
are not formatted withprettier
or linted.There's a rule somewhere excluding
examples/
because we don't want to format.html
files. We should exclude.js
files from that rule.@ampproject/wg-infra @danielrozenberg @rsimha