Skip to content

Commit af93e79

Browse files
committed
Upgrade dependencies
1 parent 0733cc5 commit af93e79

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@
5757
"@typescript-eslint/parser": "^4.28.1",
5858
"arrify": "^3.0.0",
5959
"cosmiconfig": "^7.0.0",
60-
"debug": "^4.3.1",
60+
"debug": "^4.3.2",
6161
"define-lazy-prop": "^3.0.0",
62-
"eslint": "^7.29.0",
62+
"eslint": "^7.30.0",
6363
"eslint-config-prettier": "^8.3.0",
6464
"eslint-config-xo": "^0.37.0",
65-
"eslint-config-xo-typescript": "^0.42.0",
65+
"eslint-config-xo-typescript": "^0.43.0",
6666
"eslint-formatter-pretty": "^4.1.0",
6767
"eslint-import-resolver-webpack": "^0.13.1",
6868
"eslint-plugin-ava": "^12.0.0",
@@ -106,7 +106,7 @@
106106
"nyc": "^15.1.0",
107107
"proxyquire": "^2.1.3",
108108
"temp-write": "^5.0.0",
109-
"webpack": "^5.41.1"
109+
"webpack": "^5.42.0"
110110
},
111111
"eslintConfig": {
112112
"extends": [

readme.md

+7-6
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,11 @@ It uses [ESLint](https://eslint.org) underneath, so issues regarding built-in ru
4040
## Install
4141

4242
```
43-
$ npm install --global xo
43+
$ npm install xo
4444
```
4545

46+
*You must install XO locally. You can run it directly with `$ npx xo`.*
47+
4648
*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.*
4749

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

92-
*Note that the CLI will use your local install of XO when available, even when run globally.*
93-
9494
## Default code style
9595

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

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

0 commit comments

Comments
 (0)