A very simple react kit which includes styled components, airbnb linting with create-react-app.
To use the kit please follow the instructions given below.
$ git clone https://github.com/sh4hids/react-kit.git
or
$ git clone git@github.com:sh4hids/react-kit.git
$ npm install
-
Editorconfig: Install EditorConfig plugin to make it work. You can edit the configuration on .editorconfig.json file.
-
Linting: In this kit I am using
eslint
and Airbnb JavaScript Style Guide. You can edit the configuration on .eslintrc.json file.
To lint your code run the following commands:
$ npm run lint
or to watch
$ npm run lint:w
To check your project packages you have to have nsp insalled globally.
$ npm insall -g nsp
Check your package security by following command:
$ npm run security-check