Skip to content

Commit 6ec0391

Browse files
author
Brian Muenzenmeyer
committed
Merge pull request #290 from pattern-lab/dev
Pattern Lab Node v1.2.0
2 parents 1fc4eaf + c53440a commit 6ec0391

File tree

95 files changed

+2566
-2340
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+2566
-2340
lines changed

.editorconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# editorconfig.org
2+
root = true
3+
4+
[*]
5+
indent_style = space
6+
indent_size = 2
7+
tab_width = 2
8+
end_of_line = lf
9+
charset = utf-8
10+
trim_trailing_whitespace = true
11+
insert_final_newline = true

.eslintrc

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
{
2+
"env": {
3+
"node": true,
4+
"builtin": true
5+
},
6+
"globals": {},
7+
"rules": {
8+
"block-scoped-var": 0,
9+
"camelcase": 0,
10+
"comma-spacing": [1, {"before": false, "after": true}],
11+
"consistent-return": 2,
12+
"curly": [2, "all"],
13+
"dot-notation": [1, { "allowKeywords": true }],
14+
"eqeqeq": [2, "allow-null"],
15+
"global-strict": [0, "never"],
16+
"guard-for-in": 2,
17+
"indent": [2, 2, {"SwitchCase": 1, "VariableDeclarator": 1}],
18+
"lines-around-comment": [2, {
19+
"beforeBlockComment": true,
20+
"beforeLineComment": true,
21+
"allowBlockStart": true,
22+
"allowObjectStart": true,
23+
"allowArrayStart": true
24+
}],
25+
"key-spacing": 0,
26+
"keyword-spacing": 1,
27+
"new-cap": 0,
28+
"no-alert": 2,
29+
"no-bitwise": 2,
30+
"no-caller": 2,
31+
"no-cond-assign": [2, "except-parens"],
32+
"no-debugger": 2,
33+
"no-dupe-args": 2,
34+
"no-dupe-keys": 2,
35+
"no-empty": 2,
36+
"no-eval": 2,
37+
"no-extend-native": 2,
38+
"no-extra-bind": 2,
39+
"no-extra-parens": 0,
40+
"no-extra-semi": 2,
41+
"no-func-assign": 2,
42+
"no-implied-eval": 2,
43+
"no-invalid-regexp": 2,
44+
"no-irregular-whitespace": 1,
45+
"no-iterator": 2,
46+
"no-loop-func": 2,
47+
"no-mixed-requires": 0,
48+
"no-multi-str": 2,
49+
"no-multi-spaces": 1,
50+
"no-native-reassign": 2,
51+
"no-new": 2,
52+
"no-param-reassign": 1,
53+
"no-proto": 2,
54+
"no-redeclare": 0,
55+
"no-script-url": 2,
56+
"no-self-assign": 2,
57+
"no-self-compare": 2,
58+
"no-sequences": 2,
59+
"no-shadow": 2,
60+
"no-undef": 2,
61+
"no-underscore-dangle": 0,
62+
"no-unreachable": 1,
63+
"no-unused-vars": 1,
64+
"no-use-before-define": 1,
65+
"no-useless-call": 2,
66+
"no-useless-concat": 2,
67+
"no-with": 2,
68+
"quotes": [0, "single"],
69+
"radix": 2,
70+
"semi": [0, "never"],
71+
"strict": 0,
72+
"space-before-blocks": 1,
73+
"space-before-function-paren": [1, {
74+
"anonymous": "always",
75+
"named": "never"
76+
}],
77+
"space-in-parens": [1, "never"],
78+
"space-infix-ops": 1,
79+
"valid-typeof": 2,
80+
"vars-on-top": 0,
81+
"wrap-iife": [2, "inside"]
82+
}
83+
}

.github/CONTRIBUTING.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Contributing to Patternlab Node
2-
If you'd like to contribute to Pattern Lab Node, please do so! There is always a lot of ground to cover and something for your wheelhouse.
2+
If you'd like to contribute to Pattern Lab Node, please do so! There is always a lot of ground to cover and something for your wheelhouse.
33

44
No pull request is too small. Check out any [up for grabs issues](https://github.com/pattern-lab/patternlab-node/labels/up%20for%20grabs) as a good way to get your feet wet, or add some more unit tests.
55

@@ -9,4 +9,7 @@ No pull request is too small. Check out any [up for grabs issues](https://github
99
3. If you can, add some unit tests using the existing patterns in the `./test` directory
1010

1111
##Coding style
12-
Regarding code style like indentation and whitespace, follow the conventions you see used in the source already. Add enough source code comments to help the next person.
12+
Two files combine within the project to define and maintain our coding style.
13+
14+
* The `.editorconfig` controls spaces / tabs within supported editors. Check out their [site](http://editorconfig.org/).
15+
* The `.eslintrc` defines our javascript standards. Some editors will evaluate this real-time - otherwise it's run using `grunt|gulp build`

.gitignore

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,10 @@
11
node_modules/
22
.DS_Store
3-
public/index.html
4-
public/styleguide.html
5-
public/styleguide/html/styleguide.html
6-
public/css/*
7-
public/data/*
8-
public/fonts/*
9-
public/js/*
10-
public/images/*
11-
public/patterns/*
123
latest-change.txt
134
patternlab.json
145
.sass-cache/*
156
/sass-cache
16-
source/images/Thumbs.db
17-
public/styleguide/css/static.css.map
18-
public/styleguide/css/styleguide-specific.css.map
19-
public/styleguide/css/styleguide.css.map
7+
Thumbs.db
208
source/css/style.css.map
219
.idea/
22-
public/styleguide/
10+
public

.jslintrc

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)