@dashadmin/dash-eslint 1.3.25 → 1.3.28
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/.prettierrc.cjs +1 -1
- package/README.md +37 -0
- package/package.json +21 -22
package/.prettierrc.cjs
CHANGED
package/README.md
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# @dashadmin/dash-eslint
|
|
2
|
+
|
|
3
|
+
> Shared ESLint configuration for Dash packages and apps.
|
|
4
|
+
|
|
5
|
+
## Overview
|
|
6
|
+
|
|
7
|
+
Centralised ESLint rules so every package in the monorepo lints consistently.
|
|
8
|
+
|
|
9
|
+
## Key exports & features
|
|
10
|
+
|
|
11
|
+
- Reusable ESLint config
|
|
12
|
+
- Consistent lint rules across the workspace
|
|
13
|
+
|
|
14
|
+
## Installation
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
# From the public npm registry
|
|
18
|
+
npm install @dashadmin/dash-eslint
|
|
19
|
+
|
|
20
|
+
# Or the local Verdaccio registry (unscoped)
|
|
21
|
+
npm install dash-eslint --registry http://localhost:4873
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## Usage
|
|
25
|
+
|
|
26
|
+
```js
|
|
27
|
+
// .eslintrc.js
|
|
28
|
+
module.exports = { extends: ['dash-eslint'] };
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Development & publishing
|
|
32
|
+
|
|
33
|
+
This package is part of the **dash-frontend-core** monorepo. See [`DEVELOPMENT.md`](../../DEVELOPMENT.md) for the source-modification workflow, local Verdaccio publishing, npm publishing and version-bump policy.
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
_Part of the [Dash Framework](https://www.npmjs.com/org/dashadmin) · `@dashadmin` scope._
|
package/package.json
CHANGED
|
@@ -1,23 +1,22 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}
|
|
2
|
+
"name": "@dashadmin/dash-eslint",
|
|
3
|
+
"version": "1.3.28",
|
|
4
|
+
"main": "index.js",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"dependencies": {},
|
|
7
|
+
"devDependencies": {
|
|
8
|
+
"@typescript-eslint/eslint-plugin": "latest",
|
|
9
|
+
"@typescript-eslint/parser": "latest",
|
|
10
|
+
"eslint-config-prettier": "latest",
|
|
11
|
+
"eslint-plugin-react": "latest",
|
|
12
|
+
"eslint-config-airbnb": "latest",
|
|
13
|
+
"eslint-config-airbnb-typescript": "latest",
|
|
14
|
+
"eslint-config-turbo": "latest",
|
|
15
|
+
"turbo": "latest",
|
|
16
|
+
"@dashadmin/dash-prettier": "workspace:*"
|
|
17
|
+
},
|
|
18
|
+
"publishConfig": {
|
|
19
|
+
"access": "public",
|
|
20
|
+
"registry": "https://registry.npmjs.org"
|
|
21
|
+
}
|
|
22
|
+
}
|