@isentinel/eslint-config 2.0.0 → 3.0.0-beta.2
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 +23 -2
- package/dist/cli.d.ts +1 -2
- package/dist/cli.js +358 -429
- package/dist/index.d.ts +8411 -8725
- package/dist/index.js +5559 -5939
- package/package.json +41 -25
- package/dist/chunk-TEYT6Q6D.js +0 -43
- package/dist/eslint-plugin-simple-import-sort-LBDE5BUF.js +0 -808
package/README.md
CHANGED
|
@@ -287,8 +287,8 @@ content:
|
|
|
287
287
|
```yaml
|
|
288
288
|
# cspell.config.yaml
|
|
289
289
|
words:
|
|
290
|
-
|
|
291
|
-
|
|
290
|
+
- isentinel
|
|
291
|
+
- isverycool
|
|
292
292
|
```
|
|
293
293
|
|
|
294
294
|
To disable this, you can set the `spellCheck` option to `false`:
|
|
@@ -378,6 +378,27 @@ otherwise, you can install them manually:
|
|
|
378
378
|
pnpm i -D @eslint-react/eslint-plugin eslint-plugin-react-roblox-hooks eslint-plugin-jest
|
|
379
379
|
```
|
|
380
380
|
|
|
381
|
+
#### ESLint Plugin Development
|
|
382
|
+
|
|
383
|
+
If you're developing an ESLint plugin, you can enable specialized rules to help
|
|
384
|
+
ensure your plugin follows best practices:
|
|
385
|
+
|
|
386
|
+
```ts
|
|
387
|
+
// eslint.config.ts
|
|
388
|
+
import isentinel from "@isentinel/eslint-config";
|
|
389
|
+
|
|
390
|
+
export default isentinel({
|
|
391
|
+
eslintPlugin: true,
|
|
392
|
+
});
|
|
393
|
+
```
|
|
394
|
+
|
|
395
|
+
Running `npx eslint` should prompt you to install the required dependencies,
|
|
396
|
+
otherwise, you can install them manually:
|
|
397
|
+
|
|
398
|
+
```bash
|
|
399
|
+
pnpm i -D eslint-plugin-eslint-plugin
|
|
400
|
+
```
|
|
401
|
+
|
|
381
402
|
### Lint Staged
|
|
382
403
|
|
|
383
404
|
If you want to apply lint and auto-fix before every commit, you can add the
|
package/dist/cli.d.ts
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { }
|
|
1
|
+
export {};
|