Skip to content

Commit

Permalink
Add ESLint
Browse files Browse the repository at this point in the history
  • Loading branch information
robinparisi committed Jan 4, 2019
1 parent 80bd527 commit 8d8a0b1
Show file tree
Hide file tree
Showing 13 changed files with 1,790 additions and 829 deletions.
490 changes: 245 additions & 245 deletions .csscomb.json

Large diffs are not rendered by default.

28 changes: 28 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
module.exports = {
"env": {
"browser": true,
"es6": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 2016
},
"rules": {
"indent": [
"error",
4
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single"
],
"semi": [
"error",
"never"
]
}
};
10 changes: 3 additions & 7 deletions dist/tingle.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,12 @@
-webkit-overflow-scrolling: touch;
background: rgba(0, 0, 0, .8);
opacity: 0;
cursor: pointer;
transition: transform .2s ease;

-webkit-user-select: none;

-moz-user-select: none;

-ms-user-select: none;

user-select: none;
cursor: pointer;
transition: transform .2s ease;
}

/* confirm and alerts
Expand Down Expand Up @@ -91,7 +87,7 @@
background: #fff;
opacity: 1;
cursor: auto;
transition: transform 5s cubic-bezier(.175, .885, .32, 1.275);
transition: transform .3s cubic-bezier(.175, .885, .32, 1.275);
-ms-transform: scale(.8);
transform: scale(.8);
}
Expand Down
Loading

0 comments on commit 8d8a0b1

Please sign in to comment.