|
1 | 1 | {
|
2 | 2 | "name": "react-boilerplate",
|
3 |
| - "version": "3.0.0", |
| 3 | + "version": "3.1.0", |
4 | 4 | "description": "A highly scalable, offline-first foundation with the best DX and a focus on performance and best practices",
|
5 | 5 | "repository": {
|
6 | 6 | "type": "git",
|
|
55 | 55 | "pre-commit": "lint:staged",
|
56 | 56 | "babel": {
|
57 | 57 | "presets": [
|
58 |
| - ["es2015", { "modules": false }], |
| 58 | + [ |
| 59 | + "es2015", |
| 60 | + { |
| 61 | + "modules": false |
| 62 | + } |
| 63 | + ], |
59 | 64 | "react",
|
60 | 65 | "stage-0"
|
61 | 66 | ],
|
62 | 67 | "env": {
|
63 | 68 | "production": {
|
64 |
| - "only": ["app"], |
| 69 | + "only": [ |
| 70 | + "app" |
| 71 | + ], |
65 | 72 | "plugins": [
|
66 | 73 | "transform-react-remove-prop-types",
|
67 | 74 | "transform-react-constant-elements",
|
|
91 | 98 | }
|
92 | 99 | },
|
93 | 100 | "rules": {
|
94 |
| - "arrow-body-style": [2, "as-needed"], |
95 |
| - "comma-dangle": [2, "always-multiline"], |
| 101 | + "arrow-body-style": [ |
| 102 | + 2, |
| 103 | + "as-needed" |
| 104 | + ], |
| 105 | + "comma-dangle": [ |
| 106 | + 2, |
| 107 | + "always-multiline" |
| 108 | + ], |
96 | 109 | "import/imports-first": 0,
|
97 | 110 | "import/newline-after-import": 0,
|
98 | 111 | "import/no-extraneous-dependencies": 0,
|
99 | 112 | "import/no-named-as-default": 0,
|
100 | 113 | "import/no-unresolved": 2,
|
101 | 114 | "import/prefer-default-export": 0,
|
102 |
| - "indent": [2, 2, { "SwitchCase": 1 }], |
| 115 | + "indent": [ |
| 116 | + 2, |
| 117 | + 2, |
| 118 | + { |
| 119 | + "SwitchCase": 1 |
| 120 | + } |
| 121 | + ], |
103 | 122 | "jsx-a11y/aria-props": 2,
|
104 | 123 | "jsx-a11y/heading-has-content": 0,
|
105 | 124 | "jsx-a11y/href-no-hash": 2,
|
|
132 | 151 | "color-hex-case": "upper",
|
133 | 152 | "string-quotes": "single",
|
134 | 153 | "font-family-name-quotes": "always-where-recommended",
|
135 |
| - "selector-pseudo-class-no-unknown": [true, { |
136 |
| - "ignorePseudoClasses": ["global"] |
137 |
| - }], |
| 154 | + "selector-pseudo-class-no-unknown": [ |
| 155 | + true, |
| 156 | + { |
| 157 | + "ignorePseudoClasses": [ |
| 158 | + "global" |
| 159 | + ] |
| 160 | + } |
| 161 | + ], |
138 | 162 | "indentation": 2
|
139 | 163 | }
|
140 | 164 | },
|
|
0 commit comments