-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31 from alexey-koran/develop
0.3.0
- Loading branch information
Showing
14 changed files
with
7,966 additions
and
6,040 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
pnpm lint-staged |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
20.5.1 | ||
22.4.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,9 @@ | |
|
||
[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-2.1-4baaaa.svg?style=for-the-badge&logo=data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiI+CiAgPHVzZSB4bGluazpocmVmPSIjYSIvPgogIDx1c2UgeGxpbms6aHJlZj0iI2IiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDMuNjI1IDEuNSkiLz4KICA8ZGVmcz4KICAgIDxwYXRoIGlkPSJhIiBmaWxsPSIjZmZmZmZmIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMS40MjQuNzY4YTcgNyAwIDEgMCAzLjY1OCAxMC45NTdBOCA4IDAgMSAxIDExLjQyNC43NjhaIi8+CiAgICA8cGF0aCBpZD0iYiIgZmlsbD0iI2ZmZmZmZiIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNOC41NjguNTc2YTUuMjUgNS4yNSAwIDEgMCAyLjc0MyA4LjIxOEE2IDYgMCAxIDEgOC41NjguNTc2WiIvPgogIDwvZGVmcz4KPC9zdmc+Cg==)](CODE_OF_CONDUCT.md) | ||
|
||
[![Minimum node version](https://img.shields.io/badge/min%20node-16.20.1-orange?style=for-the-badge&logo=node.js)](https://nodejs.org/en/) [![Minimum npm version](https://img.shields.io/badge/min%20npm-8.19.4-orange?style=for-the-badge&logo=npm)](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) | ||
[![Minimum node version](https://img.shields.io/badge/min%20node-20.15.1-orange?style=for-the-badge&logo=node.js)](https://nodejs.org/en/) [![Minimum npm version](https://img.shields.io/badge/min%20npm-10.7.0-orange?style=for-the-badge&logo=npm)](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) | ||
|
||
[![Recommended node version](https://img.shields.io/badge/rec%20node-20.5.1-blue?style=for-the-badge&logo=node.js)](https://nodejs.org/en/) [![Recommended pnpm](https://img.shields.io/badge/rec%20pnpm-8.6.12-blue?style=for-the-badge&logo=pnpm)](https://pnpm.io/) | ||
[![Recommended node version](https://img.shields.io/badge/rec%20node-22.4.1-blue?style=for-the-badge&logo=node.js)](https://nodejs.org/en/) [![Recommended pnpm](https://img.shields.io/badge/rec%20pnpm-9.5.0-blue?style=for-the-badge&logo=pnpm)](https://pnpm.io/) | ||
|
||
**AS A PACKAGE MANAGER, I HIGHLY RECOMMEND USING** [PNPM](https://pnpm.io/) | ||
|
||
|
@@ -80,19 +80,19 @@ pnpm prettier | |
pnpm prettier:fix | ||
``` | ||
|
||
**Start eslint check on all files** | ||
**Start ESLint check on all files** | ||
|
||
```bash | ||
pnpm lint | ||
``` | ||
|
||
**Start eslint autofix on all files** | ||
**Start ESLint autofix on all files** | ||
|
||
```bash | ||
pnpm lint:fix | ||
``` | ||
|
||
**Start eslint autofix only on git staged files** | ||
**Start ESLint autofix only on git staged files** | ||
|
||
```bash | ||
pnpm lint:fix-staged | ||
|
@@ -116,13 +116,25 @@ pnpm lint:css:fix | |
pnpm lint:css:fix-staged | ||
``` | ||
|
||
**Start prettier, eslint & stylelint check processes in order** | ||
**Start ESLint config inspector** | ||
|
||
```bash | ||
pnpm test:eslint-config | ||
``` | ||
|
||
**Start Webpack config test** | ||
|
||
```bash | ||
pnpm test:webpack-config | ||
``` | ||
|
||
**Start prettier, ESLint & stylelint check processes in order** | ||
|
||
```bash | ||
pnpm lint-all | ||
``` | ||
|
||
**Start prettier, eslint & stylelint autofix processes in order** | ||
**Start prettier, ESLint & stylelint autofix processes in order** | ||
|
||
```bash | ||
pnpm fix-all | ||
|
@@ -148,4 +160,20 @@ pnpm svgo-all | |
|
||
# Known issues: | ||
|
||
Temporary disabled postcss stylelint due to that it and stylelint-prettier don't support ESM | ||
Temporary disabled postcss stylelint (still buggy) | ||
|
||
Unstable packages (rc, beta & etc.): | ||
|
||
- [eslint-plugin-react-hooks](https://www.npmjs.com/package/eslint-plugin-react-hooks) | ||
- [@stylistic/eslint-plugin-js, @stylistic/eslint-plugin-jsx, @stylistic/eslint-plugin-ts](https://eslint.style/) | ||
- [typescript-eslint](https://www.npmjs.com/package/typescript-eslint) | ||
|
||
Unmet peer [email protected] for ESLint plugins (wait ESLint v9 support releases): | ||
|
||
- [eslint-plugin-import](https://www.npmjs.com/package/eslint-plugin-import) | ||
- [eslint-plugin-jsx-a11y](https://www.npmjs.com/package/eslint-plugin-jsx-a11y) | ||
- [eslint-plugin-react](https://www.npmjs.com/package/eslint-plugin-react) | ||
|
||
Use fixupPluginRules from [@eslint/compat](https://www.npmjs.com/package/@eslint/compat) to fix [eslint-plugin-import](https://www.npmjs.com/package/eslint-plugin-import) plugin rules | ||
|
||
Archived [postcss-assets](https://www.npmjs.com/package/postcss-assets) plugin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.