Skip to content
This repository has been archived by the owner on Apr 28, 2023. It is now read-only.

Commit

Permalink
Merge branch 'main' into change-max-line-length
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenhmarsh committed Dec 27, 2021
2 parents c261517 + 0f1a3e9 commit 437d9de
Show file tree
Hide file tree
Showing 51 changed files with 1,907 additions and 209 deletions.
3 changes: 3 additions & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Browsers that we support https://github.com/browserslist/browserslist#full-list

last 2 major versions and not dead and not IE 1-11 and not OperaMini all
1 change: 1 addition & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
paths:
- ~/.npm
- run: npm run lint
- run: npm run stylelint
- persist_to_workspace:
root: .
paths:
Expand Down
41 changes: 41 additions & 0 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"extends": "stylelint-config-sass-guidelines",
"plugins": [
"stylelint-order",
"stylelint-selector-bem-pattern",
"stylelint-no-unsupported-browser-features"
],
"rules": {
"indentation": "tab",
"selector-class-pattern": null,
"order/properties-alphabetical-order": true,
"plugin/no-unsupported-browser-features": [
true,
{
"severity": "warning",
"ignorePartialSupport": true
}
],
"plugin/selector-bem-pattern": {
"preset": "bem"
},
"property-no-unknown": [
true,
{
"ignoreSelectors": [
":export",
":import"
]
}
],
"selector-no-qualifying-type": [
true,
{
"ignore": [
"attribute"
]
}
],
"string-quotes": "double"
}
}
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
- ### [Marble Development As A Local Package](#Marble-Development-As-A-Local-Package)
- ### [Storybook Development](#Storybook-Development)
- ### [Webpack Build for Release And Production](#[Webpack-Build-for-Release-And-Production)
- ### [Browsers We Support](#Browsers-We-Support)

# What is Marble?

Expand Down Expand Up @@ -291,6 +292,21 @@ TODO: update this to have CI build dist on merge

- Make sure you commit this production-ready build of Marble and not the development version that would also be generated to `/dist` anytime you run webpack-dev-server.

# Browsers We Support

We target the latest 2 major versions of most browsers, via our `.browesrslistrc` [file](.browesrslistrc).

To see what those currently are, run:

npx browserslist


To update the list of current browsers, it's important to frequently use:

npx browserslist@latest --update-db

...because of [reasons](https://github.com/browserslist/browserslist#browsers-data-updating).

---

## License
Expand Down
1 change: 0 additions & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ const presets = [
[
"@babel/env",
{
targets: "> 0.25%, not dead",
useBuiltIns: "usage",
corejs: 3
}
Expand Down
2 changes: 1 addition & 1 deletion dist/marble.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/marble.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/marble.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 437d9de

Please sign in to comment.