Skip to content

Commit 6f6d38e

Browse files
authored
Improve dev workflow: Travis CI, ESLint, PostCSS… (#98)
* Add Autoprefixer * Add .browserslistrc * Add ESLint * Add Travis CI * Update packages * Update .stylelintrc Fix #97
1 parent e9549a3 commit 6f6d38e

7 files changed

+4143
-658
lines changed

‎.browserslistrc

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
> 0.25%
2+
not dead
3+
IE >= 10
4+
iOS >= 7

‎.eslintrc

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"extends": "airbnb-base/legacy",
3+
"rules": {
4+
"indent": [2, "tab"],
5+
"no-tabs": 0
6+
}
7+
}

‎.postcssrc

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"plugins": {
3+
"autoprefixer": {
4+
cascade: false
5+
}
6+
}
7+
}

‎.stylelintrc

+4-2
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,7 @@
119119
"flex-flow",
120120
"flex-shrink",
121121
"flex-grow",
122-
"flex-order",
123-
"flex-pack",
122+
"flex-wrap",
124123
"align-content",
125124
"align-items",
126125
"align-self",
@@ -310,7 +309,10 @@
310309
"animation-iteration-count",
311310
"animation-direction",
312311
"animation-fill-mode",
312+
"quotes",
313+
"will-change",
313314
"fill",
315+
"fill-rule",
314316
"stroke"
315317
]
316318
}

‎.travis.yml

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
language: node_js
2+
node_js:
3+
- "8"
4+
5+
sudo: false
6+
7+
script:
8+
- npm run lint

0 commit comments

Comments
 (0)