Skip to content
Permalink
Browse files

Introduce stylelint and autoprefixer (#63)

* Add stylelint

* Add autoprefixer.

* Adhere to the stylelint rules and run autoprefixer

* Add npm-run-all

* CI: remove the build step.
  • Loading branch information
XhmikosR authored and emedvedev committed Oct 28, 2019
1 parent e56d8de commit eb20fa0f681b5fb3a581ee5b32de4ac8d29447cc
Showing with 3,069 additions and 300 deletions.
  1. +13 −0 .browserslistrc
  2. +0 −3 .github/workflows/test.yml
  3. +2 −0 .stylelintignore
  4. +10 −0 .stylelintrc
  5. +9 −0 assets/.stylelintrc
  6. +2,976 −249 package-lock.json
  7. +12 −3 package.json
  8. +47 −45 scss/main.scss
@@ -0,0 +1,13 @@
# https://github.com/browserslist/browserslist#readme

>= 1%
last 1 major version
not dead
Chrome >= 45
Firefox >= 38
Edge >= 12
Explorer >= 10
iOS >= 9
Safari >= 9
Android >= 4.4
Opera >= 30
@@ -28,8 +28,5 @@ jobs:
- name: Install npm dependencies
run: npm ci

- name: Run build
run: npm run build

- name: Run tests
run: npm test
@@ -0,0 +1,2 @@
**/*.min.css
/assets/main.css
@@ -0,0 +1,10 @@
{
"extends": [
"stylelint-config-twbs-bootstrap/scss"
],
"rules": {
"no-duplicate-selectors": null,
"order/properties-order": null,
"selector-no-qualifying-type": null
}
}
@@ -0,0 +1,9 @@
{
"extends": [
"../.stylelintrc"
],
"rules": {
"property-no-vendor-prefix": null,
"value-no-vendor-prefix": null
}
}

0 comments on commit eb20fa0

Please sign in to comment.
You can’t perform that action at this time.