Skip to content

Commit

Permalink
Upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Apr 25, 2020
1 parent 07e2762 commit ca31f1c
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 16 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ os:
- windows
language: node_js
node_js:
- '14'
- '12'
- '10'
after_success:
Expand Down
10 changes: 8 additions & 2 deletions config/plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,15 @@ module.exports = {
}
],

// TODO: Restore when it becomes safer
// TODO: Restore when it becomes safer: https://github.com/sindresorhus/eslint-plugin-unicorn/issues/681
// 'unicorn/string-content': [
// 'error',
// {
// patterns: {
// [/\.\.\./.source]: '…'
// '': '’',
// [/\.\.\./.source]: '…',
// '->': '→',
// [/^http:\/\//.source]: 'http://'
// }
// }
// ],
Expand All @@ -132,6 +135,9 @@ module.exports = {
}
],

// TODO: Disabled for now as I don't have time to deal with the backslash that might come from this. Try to enable this rule in 2021.
'unicorn/no-null': 'off',

// TODO: Remove this override when the rule is more stable.
'unicorn/consistent-function-scoping': 'off',

Expand Down
2 changes: 1 addition & 1 deletion license
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com)
Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
"url": "https://sindresorhus.com"
},
"bin": "cli.js",
"engines": {
Expand Down Expand Up @@ -51,25 +51,25 @@
"typescript"
],
"dependencies": {
"@typescript-eslint/eslint-plugin": "^2.27.0",
"@typescript-eslint/parser": "^2.27.0",
"@typescript-eslint/eslint-plugin": "^2.29.0",
"@typescript-eslint/parser": "^2.29.0",
"arrify": "^2.0.1",
"cosmiconfig": "^6.0.0",
"debug": "^4.1.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-config-prettier": "^6.11.0",
"eslint-config-xo": "^0.29.0",
"eslint-config-xo-typescript": "^0.27.0",
"eslint-config-xo-typescript": "^0.28.0",
"eslint-formatter-pretty": "^3.0.1",
"eslint-import-resolver-webpack": "^0.12.1",
"eslint-plugin-ava": "^10.0.1",
"eslint-plugin-eslint-comments": "^3.1.2",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-no-use-extend-native": "^0.4.1",
"eslint-plugin-no-use-extend-native": "^0.5.0",
"eslint-plugin-node": "^11.0.0",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-unicorn": "^18.0.1",
"eslint-plugin-unicorn": "^19.0.0",
"find-cache-dir": "^3.3.1",
"find-up": "^4.1.0",
"fs-extra": "^9.0.0",
Expand All @@ -86,18 +86,18 @@
"open-editor": "^2.0.1",
"p-reduce": "^2.1.0",
"path-exists": "^4.0.0",
"prettier": "^2.0.4",
"prettier": "2.0.4",
"resolve-cwd": "^3.0.0",
"resolve-from": "^5.0.0",
"semver": "^7.2.1",
"semver": "^7.3.2",
"slash": "^3.0.0",
"to-absolute-glob": "^2.0.2",
"typescript": "^3.0.0",
"update-notifier": "^4.0.0"
},
"devDependencies": {
"ava": "^1.1.0",
"coveralls": "^3.0.6",
"coveralls": "^3.1.0",
"eslint-config-xo-react": "^0.23.0",
"eslint-plugin-react": "^7.19.0",
"eslint-plugin-react-hooks": "^3.0.0",
Expand All @@ -106,7 +106,7 @@
"pify": "^5.0.0",
"proxyquire": "^2.1.3",
"temp-write": "^4.0.0",
"webpack": "^4.42.0"
"webpack": "^4.43.0"
},
"eslintConfig": {
"extends": "eslint-config-xo"
Expand Down
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

> JavaScript/TypeScript linter with great defaults
[![Build Status](https://travis-ci.org/xojs/xo.svg?branch=master)](https://travis-ci.org/xojs/xo) [![Coverage Status](https://coveralls.io/repos/github/xojs/xo/badge.svg?branch=master)](https://coveralls.io/github/xojs/xo?branch=master) [![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo) [![Gitter](https://badges.gitter.im/join_chat.svg)](https://gitter.im/xojs/Lobby)
[![Build Status](https://travis-ci.com/xojs/xo.svg?branch=master)](https://travis-ci.com/xojs/xo) [![Coverage Status](https://coveralls.io/repos/github/xojs/xo/badge.svg?branch=master)](https://coveralls.io/github/xojs/xo?branch=master) [![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo) [![Gitter](https://badges.gitter.im/join_chat.svg)](https://gitter.im/xojs/Lobby)

Opinionated but configurable ESLint wrapper with lots of goodies included. Enforces strict and readable code. Never discuss code style on a pull request again! No decision-making. No `.eslintrc` or `.jshintrc` to manage. It just works!

Expand Down

0 comments on commit ca31f1c

Please sign in to comment.