@clipboard-health/eslint-config 4.4.7 → 4.4.9
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 +3 -2
- package/dist/README.md +0 -42
- package/dist/package.json +0 -47
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clipboard-health/eslint-config",
|
|
3
3
|
"description": "Clipboard Health's ESLint configuration.",
|
|
4
|
-
"version": "4.4.
|
|
4
|
+
"version": "4.4.9",
|
|
5
5
|
"bugs": "https://github.com/clipboardhealth/core-utils/issues",
|
|
6
6
|
"files": [
|
|
7
|
-
"dist"
|
|
7
|
+
"dist/src",
|
|
8
|
+
"generators.json"
|
|
8
9
|
],
|
|
9
10
|
"keywords": [
|
|
10
11
|
"config",
|
package/dist/README.md
DELETED
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
# @clipboard-health/eslint-config
|
|
2
|
-
|
|
3
|
-
Shared [ESLint](https://eslint.org/) configuration.
|
|
4
|
-
|
|
5
|
-
## Table of Contents
|
|
6
|
-
|
|
7
|
-
- [Install](#install)
|
|
8
|
-
- [Local development commands](#local-development-commands)
|
|
9
|
-
|
|
10
|
-
## Install
|
|
11
|
-
|
|
12
|
-
```bash
|
|
13
|
-
npm install -D @clipboard-health/eslint-config eslint-config-prettier prettier
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
Then, modify your `.eslintrc.js` file:
|
|
17
|
-
|
|
18
|
-
```js
|
|
19
|
-
module.exports = {
|
|
20
|
-
extends: ["@clipboard-health", "prettier"],
|
|
21
|
-
overrides: [
|
|
22
|
-
{
|
|
23
|
-
files: ["*.ts", "*.tsx", "*.js", "*.jsx"],
|
|
24
|
-
parserOptions: {
|
|
25
|
-
project: "tsconfig.lint.json",
|
|
26
|
-
tsconfigRootDir: __dirname,
|
|
27
|
-
},
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
files: ["*.spec.ts", "*.spec.tsx", "*.spec.js", "*.spec.jsx"],
|
|
31
|
-
env: {
|
|
32
|
-
jest: true,
|
|
33
|
-
},
|
|
34
|
-
},
|
|
35
|
-
],
|
|
36
|
-
root: true,
|
|
37
|
-
};
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
## Local development commands
|
|
41
|
-
|
|
42
|
-
See [`package.json`](./package.json) `scripts` for a list of commands.
|
package/dist/package.json
DELETED
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@clipboard-health/eslint-config",
|
|
3
|
-
"description": "Clipboard Health's ESLint configuration.",
|
|
4
|
-
"version": "4.4.7",
|
|
5
|
-
"bugs": "https://github.com/clipboardhealth/core-utils/issues",
|
|
6
|
-
"files": [
|
|
7
|
-
"dist"
|
|
8
|
-
],
|
|
9
|
-
"keywords": [
|
|
10
|
-
"config",
|
|
11
|
-
"eslint"
|
|
12
|
-
],
|
|
13
|
-
"license": "MIT",
|
|
14
|
-
"main": "./dist/src/index.js",
|
|
15
|
-
"peerDependencies": {
|
|
16
|
-
"@typescript-eslint/eslint-plugin": "^7",
|
|
17
|
-
"@typescript-eslint/parser": "^7",
|
|
18
|
-
"eslint": "^8",
|
|
19
|
-
"eslint-config-airbnb-base": "^15",
|
|
20
|
-
"eslint-config-prettier": "^9",
|
|
21
|
-
"eslint-config-xo": "^0.45",
|
|
22
|
-
"eslint-config-xo-react": "^0.27",
|
|
23
|
-
"eslint-config-xo-typescript": "^1",
|
|
24
|
-
"eslint-plugin-eslint-comments": "^3",
|
|
25
|
-
"eslint-plugin-import": "^2",
|
|
26
|
-
"eslint-plugin-jest": "^27.7",
|
|
27
|
-
"eslint-plugin-n": "^16",
|
|
28
|
-
"eslint-plugin-no-only-tests": "^3",
|
|
29
|
-
"eslint-plugin-no-use-extend-native": "^0.5",
|
|
30
|
-
"eslint-plugin-react": "^7",
|
|
31
|
-
"eslint-plugin-security": "^1",
|
|
32
|
-
"eslint-plugin-simple-import-sort": "^10",
|
|
33
|
-
"eslint-plugin-sonarjs": "^0.23",
|
|
34
|
-
"eslint-plugin-unicorn": "^48"
|
|
35
|
-
},
|
|
36
|
-
"publishConfig": {
|
|
37
|
-
"access": "public"
|
|
38
|
-
},
|
|
39
|
-
"repository": {
|
|
40
|
-
"type": "git",
|
|
41
|
-
"url": "git+https://github.com/clipboardhealth/core-utils.git",
|
|
42
|
-
"directory": "packages/eslint-config"
|
|
43
|
-
},
|
|
44
|
-
"type": "commonjs",
|
|
45
|
-
"typings": "./src/index.d.ts",
|
|
46
|
-
"types": "./src/index.d.ts"
|
|
47
|
-
}
|