Skip to content

Commit fbc02b2

Browse files
authored
Merge pull request #74 from wwwednesday/master
ESlint config and sass folders structure updates
2 parents c579b14 + 698a737 commit fbc02b2

File tree

14 files changed

+30
-37
lines changed

14 files changed

+30
-37
lines changed

generators/app/templates/eslintrc

Lines changed: 3 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -5,36 +5,12 @@
55
"node": true,
66
"jquery": true
77
},
8-
"extends": ["airbnb-base", "prettier"],
98
"plugins": [
109
"dollar-sign"
1110
],
11+
"extends": ["airbnb-base", "prettier"],
1212
"rules": {
13-
"no-undef": 1,
14-
"no-unused-vars": 1,
15-
"eqeqeq": [2, "smart"],
16-
"no-floating-decimal": 2,
17-
"no-duplicate-imports": 2,
18-
"no-else-return": 2,
19-
"no-multi-spaces": [2, {
20-
"exceptions": {
21-
"ImportDeclaration": true,
22-
"VariableDeclarator": true
23-
}
24-
}],
25-
"no-multi-str": 2,
26-
"camelcase": 1,
27-
"eol-last": 1,
28-
"indent": [2, 2, {
29-
"SwitchCase": 1,
30-
"VariableDeclarator": 1
31-
}],
32-
"quotes": [2, "single", "avoid-escape"],
33-
"semi": [2, "always"],
34-
"space-before-blocks": 2,
35-
"space-before-function-paren": [2, "never"],
36-
"constructor-super": 2,
37-
"arrow-spacing": 2,
38-
"dollar-sign/dollar-sign": [2, "ignoreProperties"]
13+
"dollar-sign/dollar-sign": [2, "ignoreProperties"],
14+
"no-plusplus": ["error", { "allowForLoopAfterthoughts": true }]
3915
}
4016
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
body
2-
background: #FFF
3-
+css-lock(16, 50, 600, 1000)
2+
background: #ff0
3+
font-size: 200px
4+
// +css-lock(16, 50, 600, 1000)
45
line-height: 1.4
5-

generators/app/templates/src/sass/_main.sass

Lines changed: 0 additions & 3 deletions
This file was deleted.
Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
// done by riverco.de
2-
@import helpers/all<% if (sprites.indexOf('iconfont') > -1 ) { %>
2+
@import helpers/index<% if (sprites.indexOf('iconfont') > -1 ) { %>
33
@import generated/iconfont<% } %><% if (sprites.indexOf('svg') > -1 ) { %>
44
@import generated/sprite-svg<% } %><% if (sprites.indexOf('png') > -1 ) { %>
55
@import generated/sprite-png<% } %>
6+
@import generated/index
7+
@import base/index
8+
@import lib/index
69
@import common
7-
@import layouts
8-
@import main
10+
@import components/index
11+
@import containers/index
12+
@import pages/index
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
@import reset
2+
@import typography

generators/app/templates/src/sass/components/index.sass

Whitespace-only changes.

generators/app/templates/src/sass/containers/index.sass

Whitespace-only changes.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
.icon-facebook {
2+
width: 0.53em;
3+
height: 1em;
4+
fill: initial;
5+
}
6+
.icon-facebook2 {
7+
width: 0.53em;
8+
height: 1em;
9+
fill: initial;
10+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@import sprite-svg
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
@import mixins
22
@import helpers
3-
@import reset
3+
@import variables
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// @import owl
2+
// @import slick
3+
// @import slick-theme

generators/app/templates/src/sass/pages/index.sass

Whitespace-only changes.

0 commit comments

Comments
 (0)