Skip to content

Commit

Permalink
Require Node.js 10
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed May 4, 2020
1 parent 54ce10d commit a590621
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 14 deletions.
4 changes: 1 addition & 3 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ module.exports = {
'function-comma-newline-after': 'always-multi-line',
'function-comma-newline-before': 'never-multi-line',
'function-comma-space-after': 'always-single-line',
'function-comma-space-before': 'never',
'function-max-empty-lines': 0,
'function-name-case': 'lower',
'function-parentheses-newline-inside': 'always-multi-line',
Expand All @@ -179,8 +178,7 @@ module.exports = {
'length-zero-no-unit': true,
'unit-case': 'lower',
'value-keyword-case': 'lower',
// Disabled because of https://github.com/stylelint/stylelint/issues/2906
// 'value-list-comma-newline-after': 'always-multi-line',
'value-list-comma-newline-after': 'always-multi-line',
'value-list-comma-newline-before': 'never-multi-line',
'value-list-comma-space-after': 'always-single-line',
'value-list-comma-space-before': 'never',
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
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "sindresorhus.com"
"url": "https://sindresorhus.com"
},
"engines": {
"node": ">=8"
"node": ">=10"
},
"scripts": {
"test": "xo && ava"
Expand Down Expand Up @@ -47,14 +47,14 @@
],
"dependencies": {
"stylelint-declaration-block-no-ignored-properties": "^2.2.0",
"stylelint-order": "^3.1.1"
"stylelint-order": "^4.0.0"
},
"devDependencies": {
"ava": "^2.4.0",
"stylelint": "^12.0.0",
"xo": "^0.25.3"
"stylelint": "^13.3.3",
"xo": "^0.30.0"
},
"peerDependencies": {
"stylelint": ">=12"
"stylelint": ">=13"
}
}
5 changes: 1 addition & 4 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
# stylelint-config-xo [![Build Status](https://travis-ci.org/xojs/stylelint-config-xo.svg?branch=master)](https://travis-ci.org/sindresorhus/stylelint-config-xo) [![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo)
# stylelint-config-xo [![Build Status](https://travis-ci.com/xojs/stylelint-config-xo.svg?branch=master)](https://travis-ci.com/sindresorhus/stylelint-config-xo) [![XO code style](https://img.shields.io/badge/code_style-XO-5ed9c7.svg)](https://github.com/xojs/xo)

> [Stylelint](https://stylelint.io) shareable config for [XO](https://github.com/xojs/xo)

## Install

```
$ npm install --save-dev stylelint-config-xo
```


## Usage

Add the following to your [Stylelint config](https://stylelint.io/user-guide/configuration/):
Expand All @@ -20,7 +18,6 @@ Add the following to your [Stylelint config](https://stylelint.io/user-guide/con
}
```


## Related

- [stylelint-config-xo-space](https://github.com/xojs/stylelint-config-xo-space) - Stylelint shareable config for XO with 2-space indent
Expand Down

0 comments on commit a590621

Please sign in to comment.