Граф коммитов

4 Коммитов

Автор SHA1 Сообщение Дата
Jamal Carvalho 29b3091570 content/static: run stylelint fix on css files
Runs stylelint --fix on stylesheets. Most of the changes
are reordering css properties.

Change-Id: I8431371f6bc0c54a081de58f36ee913e526d9115
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/284197
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Trust: Jamal Carvalho <jamal@golang.org>
2021-01-19 14:08:49 +00:00
Jamal Carvalho db2e9f3344 content: remove postcss processed styles
Removes PostCSS cli dependency and minified CSS files.
Reverts the changes from https://golang.org/cl/281772
to simplify the development process for CSS files. We
may revisit minifying and bundling CSS with a Go package
in the future.

Change-Id: I34936eefc0d9aced9a13badace2c950f53ac84da
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/282376
Reviewed-by: Julie Qiu <julie@golang.org>
Trust: Jamal Carvalho <jamal@golang.org>
2021-01-08 18:30:37 +00:00
Jamal Carvalho 173e7e7501 root: add processed css to linter ignore files
Change-Id: I9cd5bd5dee30dddb67abd2045363777655eee445
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/281774
Trust: Jamal Carvalho <jamal@golang.org>
Run-TryBot: Jamal Carvalho <jamal@golang.org>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Jonathan Amsterdam <jba@google.com>
2021-01-05 23:57:57 +00:00
Jamal Carvalho f1cd9d832c root: setup linting config for typescript and css
Installs dependencies for typescript and stylelint and
adds scripts to package.json for linting code. The linter
will ignore code in content/static for now. A new directory
to be added, content/lib, will contain the typescript and
unprocessed css files.

For golang/go#43358

Change-Id: I6ee74665a99af8938df6f1ee675c8705fcce589c
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/280599
Reviewed-by: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Julie Qiu <julie@golang.org>
Trust: Jamal Carvalho <jamal@golang.org>
2020-12-29 16:45:52 +00:00