Skip to content

Commit 45cfc08

Browse files
committed
Replace ESLint and Prettier to oxlint and oxfmt
1 parent 7e3ec7d commit 45cfc08

22 files changed

Lines changed: 1331 additions & 2118 deletions

.github/CONTRIBUTING.md

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,14 @@
22

33
# Contributing to Autoprefixer
44

5-
* [Filing Issues](#filing-issues)
6-
* [Getting Started](#getting-started)
7-
* [Adding a Prefix](#adding-a-prefix)
8-
5+
- [Filing Issues](#filing-issues)
6+
- [Getting Started](#getting-started)
7+
- [Adding a Prefix](#adding-a-prefix)
98

109
## Filing Issues
1110

1211
- If you have problems with the output CSS from Autoprefixer;
13-
you’ll need to post:
14-
12+
you’ll need to post:
1513
1. Input CSS.
1614
2. Output CSS.
1715
3. Expected output CSS.
@@ -20,30 +18,27 @@ you’ll need to post:
2018
5. Run `npm ls | grep autoprefixer` and check output.
2119

2220
- If Autoprefixer throws error:
23-
2421
1. Input CSS.
2522
2. Browserslist config.
2623
3. Error stacktrace (copy and paste the error message that you get
2724
so we can identify where the problem is).
2825
4. Run `npm ls | grep autoprefixer` and check output.
2926
5. Run `npm ls | grep postcss` and check output.
3027

31-
3228
## Getting Started
3329

3430
Before you begin contributing make sure you have a [GitHub account].
3531

36-
* [Fork the repository](https://github.com/postcss/autoprefixer)
37-
* Clone a copy of it to your computer:
32+
- [Fork the repository](https://github.com/postcss/autoprefixer)
33+
- Clone a copy of it to your computer:
3834
`git clone https://github.com/USERNAME/autoprefixer` (replace `USERNAME`
3935
to your GitHub name).
40-
* Ensure that you have the [pnpm](https://pnpm.io/) package manager
36+
- Ensure that you have the [pnpm](https://pnpm.io/) package manager
4137
installed.
42-
* Run `pnpm install` this will install all dependencies needed to run tests.
38+
- Run `pnpm install` this will install all dependencies needed to run tests.
4339

4440
[GitHub account]: https://github.com/signup/free
4541

46-
4742
## Adding a Prefix
4843

4944
We’ll explain how would you go about adding a CSS feature to Autoprefixer.
@@ -69,7 +64,7 @@ on [Can I use](https://caniuse.com/).
6964
```
7065

7166
3. If the prefix is simple (`-webkit-` for Safari, `-moz-` for Firefox,
72-
all use the same syntax) go to step 8.
67+
all use the same syntax) go to step 8.
7368

7469
4. If you need some non-standard behavior for the prefix (`-webkit-` prefix
7570
for Firefox or different syntax for different browsers) you will need

.npmignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@ coverage/
33

44
logo.svg
55
AUTHORS
6-
eslint.config.mjs
76
patches

.prettierrc.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import loguxOxfmtConfig from '@logux/oxc-configs/fmt'
2+
3+
export default loguxOxfmtConfig

0 commit comments

Comments
 (0)