diff --git a/.eslintrc.json b/.eslintrc.json index c54c31aed..e15a9c605 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -4,12 +4,20 @@ "es6": true, "jquery": true }, - "extends": ["eslint:recommended"], + "plugins": ["react"], + "extends": ["eslint:recommended", "plugin:react/recommended"], + "parser": "babel-eslint", "parserOptions": { "ecmaFeatures": { "jsx": true }, - "ecmaVersion": 2018 + "ecmaVersion": 2018, + "sourceType": "script" + }, + "settings": { + "react": { + "version": "16.4.0" + } }, "globals": { "$setTimeout": true, @@ -25,12 +33,12 @@ "React": true, "ReactDOM": true }, - "plugins": ["react"], "rules": { - "indent": [1, 2], - "linebreak-style": [1, "unix"], - "quotes": [1, "single"], - "semi": [1, "never"], + "strict": 0, + "indent": [2, 2], + "linebreak-style": [2, "unix"], + "quotes": [2, "single"], + "semi": [2, "never"], "eqeqeq": [2, "always"] } } \ No newline at end of file diff --git a/README.md b/README.md index 63e5e7327..3a0163bef 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,9 @@ -# rebuild status +## rebuild status [![codebeat](https://codebeat.co/badges/fbd559f6-30bb-42e7-bd0f-2568c637f104)](https://codebeat.co/projects/github-com-getrebuild-rebuild-master) [![codecov](https://codecov.io/gh/getrebuild/rebuild/branch/master/graph/badge.svg)](https://codecov.io/gh/getrebuild/rebuild) [![Build Status](https://travis-ci.org/getrebuild/rebuild.svg?branch=master)](https://travis-ci.org/getrebuild/rebuild) -[![JitPack](https://jitpack.io/v/getrebuild/rebuild.svg)](https://jitpack.io/#getrebuild/rebuild) [![License](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fgetrebuild%2Frebuild.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fgetrebuild%2Frebuild?ref=badge_shield) -# What's rebuild? +## What's rebuild? * Visit our [official website](https://getrebuild.com/) learn more * Or read [this document](https://getrebuild.com/docs/dev/) beginning development