Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions part2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -366,14 +366,14 @@ that eslint lets you inherit from other people's configs. I always like to use a
To get started, we need to install eslint as well as airbnb's config

npm install -g eslint
npm install --save-dev eslint eslint-config-airbnb
npm install --save-dev eslint eslint-config-airbnb-base

Our starting config will look like:

```javascript
// .eslintrc
{
"extends": "airbnb/base" // 'airbnb/base' because 'airbnb' assumes usage of react
"extends": "airbnb-base" // 'airbnb-base' because 'airbnb' assumes usage of react
}
```

Expand All @@ -383,7 +383,7 @@ all these rules mean, or tweak them to fit your preferences look [here](http://e
```javascript
// .eslintrc
{
"extends": "airbnb/base",
"extends": "airbnb-base",
"rules": {
"comma-dangle": 0,
"no-console": 0,
Expand All @@ -405,7 +405,7 @@ and tweaking our config once more to add [babel specific rules](https://github.c
```javascript
// .eslintrc
{
"extends": "airbnb/base",
"extends": "airbnb-base",
"parser": "babel-eslint",
"rules": {
"comma-dangle": 0,
Expand Down