@maprox/lint-config 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -21
- package/package.json +2 -3
- package/.npmrc.example +0 -3
package/README.md
CHANGED
|
@@ -2,16 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Shared ESLint flat configs for maprox (and related) projects, plus an experimental Oxlint base.
|
|
4
4
|
|
|
5
|
-
Formerly published privately as `@sunsay/eslint-config` (last aligned content: 1.5.1). This package is the public npm name; rule behavior is the same.
|
|
6
|
-
|
|
7
5
|
## Install
|
|
8
6
|
|
|
9
7
|
```bash
|
|
10
8
|
npm install --save-dev @maprox/lint-config
|
|
11
9
|
```
|
|
12
10
|
|
|
13
|
-
Uses the public npm registry (`registry.npmjs.org`). No scoped `.npmrc` override is required.
|
|
14
|
-
|
|
15
11
|
Install peers for the preset you use (`eslint`, `typescript`, and for Vue also `@nuxt/eslint-config`, for Astro also `eslint-plugin-astro`, etc.).
|
|
16
12
|
|
|
17
13
|
## Usage
|
|
@@ -140,23 +136,6 @@ Prefer either the package stylistic rules **or** Prettier at full strength — n
|
|
|
140
136
|
- `eslint-plugin-astro` (optional peer, Astro preset)
|
|
141
137
|
- `eslint-plugin-tailwindcss`, `tailwindcss` (optional peers, `./tailwind` only)
|
|
142
138
|
|
|
143
|
-
## Test / lint
|
|
144
|
-
|
|
145
|
-
```bash
|
|
146
|
-
npx eslint src/
|
|
147
|
-
npx eslint src/ --fix
|
|
148
|
-
```
|
|
149
|
-
|
|
150
|
-
Package smoke tests:
|
|
151
|
-
|
|
152
|
-
```bash
|
|
153
|
-
npm test
|
|
154
|
-
```
|
|
155
|
-
|
|
156
|
-
## Publishing
|
|
157
|
-
|
|
158
|
-
Published to the public npm registry as `@maprox/lint-config`. Tags matching `v*` can run Forgejo Actions publish when `NPM_TOKEN` is an npmjs Automation token with publish rights on `@maprox`.
|
|
159
|
-
|
|
160
139
|
## License
|
|
161
140
|
|
|
162
141
|
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maprox/lint-config",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Shared ESLint flat configs (base, vue, astro, node, opt-in tailwind) + oxlint skeleton",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -42,8 +42,7 @@
|
|
|
42
42
|
"files": [
|
|
43
43
|
"src",
|
|
44
44
|
"README.md",
|
|
45
|
-
"LICENSE"
|
|
46
|
-
".npmrc.example"
|
|
45
|
+
"LICENSE"
|
|
47
46
|
],
|
|
48
47
|
"engines": {
|
|
49
48
|
"node": ">=18"
|
package/.npmrc.example
DELETED