From ff21df5e6cfdac94e5d3f82f4083ec257a3e9dea Mon Sep 17 00:00:00 2001 From: Gajus Kuizinas Date: Thu, 9 May 2019 17:54:03 +0100 Subject: [PATCH 1/2] docs: add GitSpo mentions badge --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 543bbb9..df2123f 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # babel-plugin-react-css-modules +![[GitSpo Mentions](https://gitspo.com/mentions/gajus/babel-plugin-react-css-modules)](https://gitspo.com/badges/gajus/babel-plugin-react-css-modules?style=flat-square) [![Travis build status](http://img.shields.io/travis/gajus/babel-plugin-react-css-modules/master.svg?style=flat-square)](https://travis-ci.org/gajus/babel-plugin-react-css-modules) [![NPM version](http://img.shields.io/npm/v/babel-plugin-react-css-modules.svg?style=flat-square)](https://www.npmjs.org/package/babel-plugin-react-css-modules) [![Canonical Code Style](https://img.shields.io/badge/code%20style-canonical-blue.svg?style=flat-square)](https://github.com/gajus/canonical) @@ -260,9 +261,9 @@ To add support for different CSS syntaxes (e.g. SCSS), perform the following two } } ``` - + Postcss plugins can have options specified by wrapping the name and an options object in an array inside your config - + ```json "plugins": [ ["postcss-import-sync2", { @@ -270,9 +271,9 @@ To add support for different CSS syntaxes (e.g. SCSS), perform the following two }], "postcss-nested" ] - ``` - - + ``` + + ### Custom Attribute Mapping You can set your own attribute mapping rules using the `attributeNames` option. From 31c5626c8df718c101d65b2b60630116bd13323d Mon Sep 17 00:00:00 2001 From: Gajus Kuizinas Date: Thu, 9 May 2019 17:59:33 +0100 Subject: [PATCH 2/2] fix: correct GitSpo badge markdown --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index df2123f..0fda1ce 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # babel-plugin-react-css-modules -![[GitSpo Mentions](https://gitspo.com/mentions/gajus/babel-plugin-react-css-modules)](https://gitspo.com/badges/gajus/babel-plugin-react-css-modules?style=flat-square) +[![GitSpo Mentions](https://gitspo.com/badges/gajus/babel-plugin-react-css-modules?style=flat-square)](https://gitspo.com/mentions/gajus/babel-plugin-react-css-modules) [![Travis build status](http://img.shields.io/travis/gajus/babel-plugin-react-css-modules/master.svg?style=flat-square)](https://travis-ci.org/gajus/babel-plugin-react-css-modules) [![NPM version](http://img.shields.io/npm/v/babel-plugin-react-css-modules.svg?style=flat-square)](https://www.npmjs.org/package/babel-plugin-react-css-modules) [![Canonical Code Style](https://img.shields.io/badge/code%20style-canonical-blue.svg?style=flat-square)](https://github.com/gajus/canonical)