@enormora/eslint-config-base 0.0.11 → 0.0.12
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/package.json +6 -1
- package/readme.md +24 -0
package/package.json
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
{
|
|
2
|
+
"author": "Mathias Schreck <schreck.mathias@gmail.com>",
|
|
3
|
+
"contributors": [
|
|
4
|
+
"Christian Rackerseder <github@echooff.de>"
|
|
5
|
+
],
|
|
2
6
|
"dependencies": {
|
|
3
7
|
"@cspell/eslint-plugin": "8.3.2",
|
|
4
8
|
"@stylistic/eslint-plugin": "1.5.4",
|
|
@@ -12,6 +16,7 @@
|
|
|
12
16
|
"eslint-plugin-sonarjs": "0.23.0",
|
|
13
17
|
"eslint-plugin-unicorn": "50.0.1"
|
|
14
18
|
},
|
|
19
|
+
"description": "Enormora’s ESLint base configuration",
|
|
15
20
|
"license": "MIT",
|
|
16
21
|
"main": "base.js",
|
|
17
22
|
"name": "@enormora/eslint-config-base",
|
|
@@ -20,5 +25,5 @@
|
|
|
20
25
|
"url": "git://github.com/enormora/eslint-config.git"
|
|
21
26
|
},
|
|
22
27
|
"type": "module",
|
|
23
|
-
"version": "0.0.
|
|
28
|
+
"version": "0.0.12"
|
|
24
29
|
}
|
package/readme.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# `@enormora/eslint-config-base`
|
|
2
|
+
|
|
3
|
+
Base ESLint config preset, agnostic to any environment, framework, or library. Targets ESM-only projects.
|
|
4
|
+
|
|
5
|
+
## Install & Setup
|
|
6
|
+
|
|
7
|
+
Install the `@enormora/eslint-config-base` package via npm:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npm install --save-dev @enormora/eslint-config-base
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Create an ESLint configuration file (e.g., `eslint.config.js`) in your project and add the base config to the configuration array:
|
|
14
|
+
|
|
15
|
+
```javascript
|
|
16
|
+
import { baseConfig } from '@enormora/eslint-config-base';
|
|
17
|
+
|
|
18
|
+
export default [
|
|
19
|
+
{
|
|
20
|
+
ignores: ['dist/**/*']
|
|
21
|
+
},
|
|
22
|
+
baseConfig
|
|
23
|
+
];
|
|
24
|
+
```
|