Skip to content

Commit

Permalink
Drop node14, extend stylelint-config-standard and `stylelint-pretti…
Browse files Browse the repository at this point in the history
…er/recommended` rules, update peerDeps for `prettier` to `^3.0.0`, `stylelint` to `^15.0.0`, and `stylelint-prettier` to `^4.0.0` (#500)

* v10

* lint issues

* lints

* Reorg

* json format

* cross-env
  • Loading branch information
tclindner authored Jul 15, 2023
1 parent 9387e6e commit 7430d13
Show file tree
Hide file tree
Showing 15 changed files with 9,089 additions and 6,015 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/[email protected]
with:
node-version: '14.x'
node-version: '16.x'
- run: npm ci --no-progress
- run: npm run lint

Expand All @@ -27,7 +27,7 @@ jobs:

strategy:
matrix:
node: [14, 16, 18]
node: [16, 18, 20]
os: [ubuntu-latest, windows-latest]

steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/[email protected]
with:
node-version: '14.x'
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci --no-progress --production
- run: npm version --no-push --no-git-tag-version --yes ${{ github.event.release.tag_name }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/[email protected]
with:
node-version: '14.x'
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci --no-progress --production
- run: npm version --no-push --no-git-tag-version --yes ${{ github.event.release.tag_name }}
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

### Node

* [Node.js](https://nodejs.org/) - v14.0.0+
* [npm](https://www.npmjs.com/) - v6.0.0+
* [Node.js](https://nodejs.org/) - v16.0.0+
* [npm](https://www.npmjs.com/) - v8.0.0+

## Install project dependencies

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) 2018-2022 tclindner
Copyright (c) 2018-2023 tclindner

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ First thing first, let's make sure you have the necessary pre-requisites.

#### Node

* [Node.js](https://nodejs.org/) - v14.0.0+
* [npm](http://npmjs.com) - v6.0.0+
* [Node.js](https://nodejs.org/) - v16.0.0+
* [npm](http://npmjs.com) - v8.0.0+

### Command

Expand Down Expand Up @@ -60,4 +60,4 @@ Please see the [CHANGELOG.md](CHANGELOG.md) for more information.

## License

Copyright (c) 2018-2022 Thomas Lindner. Licensed under the MIT license.
Copyright (c) 2018-2023 Thomas Lindner. Licensed under the MIT license.
5 changes: 2 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
const limitLanguageFeatures = require.resolve('./rules/limit-language-features');
const possibleErrors = require.resolve('./rules/possible-errors');
const prettier = require.resolve('./rules/prettier');
const stylistic = require.resolve('./rules/stylistic');

module.exports = {
extends: [limitLanguageFeatures, possibleErrors, prettier, stylistic, 'stylelint-prettier/recommended'],
extends: ['stylelint-config-standard', limitLanguageFeatures, 'stylelint-prettier/recommended', prettier],
plugins: ['stylelint-prettier'],
};
3 changes: 3 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.export = {
transform: {},
};
Loading

0 comments on commit 7430d13

Please sign in to comment.