Skip to content

Commit

Permalink
Upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Jul 5, 2021
1 parent 0733cc5 commit af93e79
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 10 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@
"@typescript-eslint/parser": "^4.28.1",
"arrify": "^3.0.0",
"cosmiconfig": "^7.0.0",
"debug": "^4.3.1",
"debug": "^4.3.2",
"define-lazy-prop": "^3.0.0",
"eslint": "^7.29.0",
"eslint": "^7.30.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-xo": "^0.37.0",
"eslint-config-xo-typescript": "^0.42.0",
"eslint-config-xo-typescript": "^0.43.0",
"eslint-formatter-pretty": "^4.1.0",
"eslint-import-resolver-webpack": "^0.13.1",
"eslint-plugin-ava": "^12.0.0",
Expand Down Expand Up @@ -106,7 +106,7 @@
"nyc": "^15.1.0",
"proxyquire": "^2.1.3",
"temp-write": "^5.0.0",
"webpack": "^5.41.1"
"webpack": "^5.42.0"
},
"eslintConfig": {
"extends": [
Expand Down
13 changes: 7 additions & 6 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,11 @@ It uses [ESLint](https://eslint.org) underneath, so issues regarding built-in ru
## Install

```
$ npm install --global xo
$ npm install xo
```

*You must install XO locally. You can run it directly with `$ npx xo`.*

*JSX is supported by default, but you'll need [eslint-config-xo-react](https://github.com/xojs/eslint-config-xo-react#use-with-xo) for React specific linting. Vue components are not supported by default. You'll need [eslint-config-xo-vue](https://github.com/ChocPanda/eslint-config-xo-vue#use-with-xo) for specific linting in a Vue app.*

## Usage
Expand Down Expand Up @@ -89,15 +91,14 @@ $ xo --help
- Put options in package.json instead of using flags so other tools can read it.
```

*Note that the CLI will use your local install of XO when available, even when run globally.*

## Default code style

*Any of these can be [overridden](#rules) if necessary.*

- Tab indentation *[(or space)](#space)*
- Semicolons *[(or not)](#semicolon)*
- Single-quotes
- [Trailing comma](https://medium.com/@nikgraf/why-you-should-enforce-dangling-commas-for-multiline-statements-d034c98e36f8) for multiline statements
- No unused variables
- Space after keyword `if (condition) {}`
- Always `===` instead of `==`
Expand All @@ -120,9 +121,9 @@ Simply run `$ npm init xo` (with any options) to add XO to your package.json or
+ "test": "xo && ava"
},
"devDependencies": {
- "ava": "^2.0.0"
+ "ava": "^2.0.0",
+ "xo": "^0.25.0"
- "ava": "^3.0.0"
+ "ava": "^3.0.0",
+ "xo": "^0.41.0"
}
}
```
Expand Down

0 comments on commit af93e79

Please sign in to comment.