Skip to content

Commit fc89b17

Browse files
committed
make ESLint happy again
1 parent a85ea76 commit fc89b17

File tree

3 files changed

+19
-18
lines changed

3 files changed

+19
-18
lines changed

eslint.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,5 @@ rules:
3535
object-property-newline: off
3636
curly: off
3737
space-in-parens: off
38+
array-bracket-spacing: off
3839

gemstone-loader-css.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ module.exports = function (content) {
3535
this.cacheable(true)
3636

3737
/* transpile CSS via PostCSS */
38-
let plugins = [
38+
const plugins = [
3939
PostCSSImport(),
4040
PostCSSExtendRule(),
4141
PostCSSAdvancedVariables(),
@@ -68,7 +68,7 @@ module.exports = function (content) {
6868
this.emitError(`gemstone-loader-css: PostCSS [transpile]: ERROR: ${err}`)
6969
})
7070
if (typeof result === "object" && typeof result.warnings === "function") {
71-
let warnings = result.warnings()
71+
const warnings = result.warnings()
7272
if (warnings.length > 0)
7373
this.emitError(`gemstone-loader-css: PostCSS [transpile]: ERROR: ${warnings.join("\n")}`)
7474
}

package.json

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -19,34 +19,34 @@
1919
"url": "http://github.com/gemstonejs/gemstone-loader-css/issues"
2020
},
2121
"devDependencies": {
22-
"eslint": "5.13.0",
23-
"eslint-config-standard": "12.0.0",
24-
"eslint-plugin-standard": "4.0.0",
25-
"eslint-plugin-promise": "4.0.1",
26-
"eslint-plugin-import": "2.16.0",
27-
"eslint-plugin-node": "8.0.1",
28-
"babel-eslint": "10.0.1"
22+
"eslint": "6.8.0",
23+
"eslint-config-standard": "14.1.0",
24+
"eslint-plugin-standard": "4.0.1",
25+
"eslint-plugin-promise": "4.2.1",
26+
"eslint-plugin-import": "2.19.1",
27+
"eslint-plugin-node": "10.0.0",
28+
"babel-eslint": "10.0.3"
2929
},
3030
"dependencies" : {
3131
"co": "4.6.0",
3232
"loader-utils": "1.2.3",
33-
"inline-assets": "1.4.2",
34-
"postcss": "7.0.14",
33+
"inline-assets": "1.4.5",
34+
"postcss": "7.0.25",
3535
"postcss-scss": "2.0.0",
3636
"postcss-import": "12.0.1",
3737
"postcss-alias": "2.0.0",
3838
"postcss-easings": "2.0.0",
39-
"postcss-hexrgba": "1.0.1",
39+
"postcss-hexrgba": "2.0.0",
4040
"postcss-reporter": "6.0.1",
4141
"postcss-advanced-variables": "3.0.0",
4242
"postcss-atroot": "0.1.3",
43-
"postcss-extend-rule": "2.0.0",
44-
"postcss-nested": "4.1.1",
43+
"postcss-extend-rule": "3.0.0",
44+
"postcss-nested": "4.2.1",
4545
"postcss-property-lookup": "2.0.0",
46-
"postcss-preset-env": "6.5.0",
47-
"style-scope": "0.9.16",
48-
"posthtml": "0.11.3",
49-
"autoprefixer": "9.4.7"
46+
"postcss-preset-env": "6.7.0",
47+
"style-scope": "1.0.1",
48+
"posthtml": "0.12.0",
49+
"autoprefixer": "9.7.3"
5050
},
5151
"engines": {
5252
"node": ">=7.6.0"

0 commit comments

Comments
 (0)