From f59f1bb7c151b66dc9a52b13e4aebe2428392153 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Sat, 9 Nov 2019 12:28:19 +0100 Subject: [PATCH] package updates --- .stylelintrc | 11 +++++++++-- package.json | 6 +++--- src/@types/global.d.ts | 6 +++--- 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/.stylelintrc b/.stylelintrc index 350adbfc..aa81d079 100644 --- a/.stylelintrc +++ b/.stylelintrc @@ -7,7 +7,14 @@ "plugins": ["stylelint-prettier"], "syntax": "scss", "rules": { - "prettier/prettier": true, - "at-rule-no-unknown": null + "prettier/prettier": true, + "property-no-unknown": [ + true, + { "ignoreProperties": ["composes", "compose-with"] } + ], + "at-rule-no-unknown": [ + true, + { "ignoreAtRules": ["value", "include", "mixin", "extend"] } + ] } } diff --git a/package.json b/package.json index aa4e3c54..4b6bc0ce 100644 --- a/package.json +++ b/package.json @@ -93,7 +93,7 @@ "@types/classnames": "^2.2.9", "@types/jest": "^24.0.21", "@types/lunr": "^2.3.2", - "@types/node": "^12.12.5", + "@types/node": "^12.12.7", "@types/react": "^16.9.11", "@types/react-dom": "^16.9.3", "@types/react-helmet": "^5.0.14", @@ -119,11 +119,11 @@ "node-sass": "^4.13.0", "npm-run-all": "^4.1.5", "ora": "^4.0.0", - "prettier": "^1.18.2", + "prettier": "^1.19.0", "prettier-stylelint": "^0.4.2", "shortid": "^2.2.15", "stylelint": "^11.1.1", - "stylelint-config-css-modules": "^1.5.0", + "stylelint-config-css-modules": "^2.0.0", "stylelint-config-prettier": "^6.0.0", "stylelint-config-standard": "^19.0.0", "stylelint-prettier": "^1.1.1", diff --git a/src/@types/global.d.ts b/src/@types/global.d.ts index dde94038..7eaae38b 100644 --- a/src/@types/global.d.ts +++ b/src/@types/global.d.ts @@ -10,9 +10,9 @@ declare module '*.module.scss' { declare module '*.svg' { import * as React from 'react' - export const ReactComponent: React.FunctionComponent< - React.SVGProps - > + export const ReactComponent: React.FunctionComponent> const src: string export default src }