Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce stylelint and autoprefixer #63

Merged
merged 5 commits into from Oct 28, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 13 additions & 0 deletions .browserslistrc
@@ -0,0 +1,13 @@
# https://github.com/browserslist/browserslist#readme
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I used what we use in Bootstrap v4, but we can adapt it later


>= 1%
last 1 major version
not dead
Chrome >= 45
Firefox >= 38
Edge >= 12
Explorer >= 10
iOS >= 9
Safari >= 9
Android >= 4.4
Opera >= 30
3 changes: 0 additions & 3 deletions .github/workflows/test.yml
Expand Up @@ -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
2 changes: 2 additions & 0 deletions .stylelintignore
@@ -0,0 +1,2 @@
**/*.min.css
/assets/main.css
10 changes: 10 additions & 0 deletions .stylelintrc
@@ -0,0 +1,10 @@
{
"extends": [
"stylelint-config-twbs-bootstrap/scss"
],
"rules": {
"no-duplicate-selectors": null,
"order/properties-order": null,
"selector-no-qualifying-type": null
}
}
9 changes: 9 additions & 0 deletions assets/.stylelintrc
@@ -0,0 +1,9 @@
{
"extends": [
"../.stylelintrc"
],
"rules": {
"property-no-vendor-prefix": null,
"value-no-vendor-prefix": null
}
}