Skip to content

Commit 504c9e5

Browse files
committed
Update playground dependencies
1 parent 0841900 commit 504c9e5

23 files changed

+45883
-128884
lines changed

.eslintrc

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
},
5+
"parserOptions": {
6+
"ecmaVersion": 6,
7+
"sourceType": "script"
8+
},
9+
"extends": "eslint:recommended",
10+
"rules": {
11+
"indent": "off",
12+
"comma-dangle": "off",
13+
"quotes": "off",
14+
"eqeqeq": [
15+
"warn",
16+
"allow-null"
17+
],
18+
"strict": [
19+
"error",
20+
"safe"
21+
],
22+
"no-unused-vars": [
23+
"warn"
24+
],
25+
"no-extra-boolean-cast": [
26+
"warn"
27+
],
28+
"complexity": [
29+
"error",
30+
{
31+
"max": 12
32+
}
33+
],
34+
"max-statements-per-line": [
35+
"error",
36+
{
37+
"max": 3
38+
}
39+
],
40+
"no-debugger": "error",
41+
"no-dupe-keys": "error",
42+
"no-unsafe-finally": "error",
43+
"no-with": "error",
44+
"no-useless-call": "error",
45+
"no-spaced-func": "error",
46+
"no-useless-escape": "warn",
47+
"max-statements": [
48+
"warn",
49+
30
50+
],
51+
"max-depth": [
52+
"error",
53+
4
54+
],
55+
"no-throw-literal": [
56+
"error"
57+
],
58+
"no-sequences": "error",
59+
"no-warning-comments": [
60+
"warn",
61+
{
62+
"terms": [
63+
"fixme",
64+
"xxx"
65+
],
66+
"location": "anywhere"
67+
}
68+
],
69+
"radix": "error",
70+
"yoda": "error",
71+
"no-nested-ternary": "warn",
72+
"no-whitespace-before-property": "error",
73+
"no-trailing-spaces": ["error"],
74+
"space-in-parens": [
75+
"warn",
76+
"never"
77+
],
78+
"max-nested-callbacks": [
79+
"error",
80+
6
81+
],
82+
"eol-last": "warn",
83+
"no-mixed-spaces-and-tabs": "error",
84+
"no-negated-condition": "warn",
85+
"no-unneeded-ternary": "error",
86+
"no-multi-spaces": [
87+
"warn",
88+
{
89+
"exceptions": {
90+
"Property": true
91+
}
92+
}
93+
],
94+
"key-spacing": [
95+
"warn",
96+
{
97+
"singleLine": {
98+
"beforeColon": false,
99+
"afterColon": true
100+
},
101+
"multiLine": {
102+
"beforeColon": false,
103+
"afterColon": true,
104+
"mode": "minimum"
105+
}
106+
}
107+
],
108+
}

playground/.jshintrc

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

playground/.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
package-lock=false

playground/README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@ The code playground for `postcss-css-variables` is [available live here](https:/
66

77
# Build
88

9-
## Prerequisites
10-
11-
- [io.js](https://iojs.org/en/index.html) *or Node.js with support for template strings (not currently available)*
12-
13-
## Instructions:
14-
159
Run once to set everything up:
1610

1711
`npm install`

0 commit comments

Comments
 (0)