@nerjs/eslint-config 1.0.1 → 2.0.0
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 +2 -29
- package/index.js +1 -47
- package/package.json +21 -20
package/README.md
CHANGED
|
@@ -1,30 +1,3 @@
|
|
|
1
|
-
#
|
|
1
|
+
# The utility is incomplete and is no longer supported.
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
## Install
|
|
5
|
-
|
|
6
|
-
```
|
|
7
|
-
npm i @nerjs/eslint-config
|
|
8
|
-
```
|
|
9
|
-
or
|
|
10
|
-
```
|
|
11
|
-
yarn add @nerjs/eslint-config
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
## Use:
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
> file: `.eslintrc.js`
|
|
19
|
-
|
|
20
|
-
```js
|
|
21
|
-
module.exports = {
|
|
22
|
-
extends: '@nerjs/eslint-config'
|
|
23
|
-
}
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
---
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
#### [:link: All utils ](https://github.com/nerjs/utils#readme)
|
|
3
|
+
Feel free to check out [my profile](https://github.com/nerjs) if you're interested
|
package/index.js
CHANGED
|
@@ -1,47 +1 @@
|
|
|
1
|
-
|
|
2
|
-
parser: 'babel-eslint',
|
|
3
|
-
|
|
4
|
-
extends: ['prettier'],
|
|
5
|
-
|
|
6
|
-
plugins: ['prettier'],
|
|
7
|
-
|
|
8
|
-
parserOptions: {
|
|
9
|
-
sourceType: 'module',
|
|
10
|
-
allowImportExportEverywhere: false,
|
|
11
|
-
codeFrame: true,
|
|
12
|
-
},
|
|
13
|
-
globals: {
|
|
14
|
-
__DEV__: true,
|
|
15
|
-
__DEVBANNER__: false,
|
|
16
|
-
__APP__: false,
|
|
17
|
-
},
|
|
18
|
-
|
|
19
|
-
env: {
|
|
20
|
-
browser: true,
|
|
21
|
-
es6: true,
|
|
22
|
-
},
|
|
23
|
-
|
|
24
|
-
rules: {
|
|
25
|
-
'no-undef-init': 'off',
|
|
26
|
-
'no-return-await': 'off',
|
|
27
|
-
'no-nested-ternary': 'off',
|
|
28
|
-
'no-plusplus': 'off',
|
|
29
|
-
'consistent-return': 'off',
|
|
30
|
-
'no-restricted-globals': 'off',
|
|
31
|
-
'no-param-reassign': 'off',
|
|
32
|
-
'prettier/prettier': [
|
|
33
|
-
'error',
|
|
34
|
-
{
|
|
35
|
-
parser: 'babel',
|
|
36
|
-
useTabs: false,
|
|
37
|
-
semi: false,
|
|
38
|
-
singleQuote: true,
|
|
39
|
-
trailingComma: 'all',
|
|
40
|
-
bracketSpacing: true,
|
|
41
|
-
arrowParens: 'avoid',
|
|
42
|
-
tabWidth: 2,
|
|
43
|
-
printWidth: 125,
|
|
44
|
-
},
|
|
45
|
-
],
|
|
46
|
-
},
|
|
47
|
-
}
|
|
1
|
+
throw new Error('The utility is incomplete and is no longer supported. ')
|
package/package.json
CHANGED
|
@@ -1,30 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nerjs/eslint-config",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
|
+
"description": "The utility is incomplete and is no longer supported.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"keywords": [
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"prettier"
|
|
7
|
+
"react",
|
|
8
|
+
"transition",
|
|
9
|
+
"css",
|
|
10
|
+
"className"
|
|
12
11
|
],
|
|
13
12
|
"author": "nerjs",
|
|
14
13
|
"license": "MIT",
|
|
15
|
-
"
|
|
16
|
-
"url": "https://github.com/nerjs/utils/labels/eslint-config"
|
|
17
|
-
},
|
|
18
|
-
"homepage": "https://github.com/nerjs/utils/tree/master/eslint-config#readme",
|
|
19
|
-
"repository": {
|
|
20
|
-
"type": "git",
|
|
21
|
-
"url": "git+https://github.com/nerjs/utils.git"
|
|
22
|
-
},
|
|
14
|
+
"homepage": "https://github.com/nerjs",
|
|
23
15
|
"dependencies": {
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"eslint
|
|
27
|
-
"
|
|
28
|
-
"
|
|
16
|
+
"@nerjs/batchloader": "^2.1.0",
|
|
17
|
+
"@nerjs/errors": "^1.2.2",
|
|
18
|
+
"@nerjs/eslint": "^1.0.2",
|
|
19
|
+
"@nerjs/express": "^1.0.3",
|
|
20
|
+
"@nerjs/gql": "^1.4.2",
|
|
21
|
+
"@nerjs/webpack": "^1.0.3",
|
|
22
|
+
"create-redux-store": "^1.1.2",
|
|
23
|
+
"electron-ebt": "^1.1.0",
|
|
24
|
+
"helpers-promise": "^1.3.0",
|
|
25
|
+
"nerjs-utils": "^0.1.23",
|
|
26
|
+
"nlogs": "^2.4.4",
|
|
27
|
+
"@nerjs/gnome-shell-types": "^0.0.2",
|
|
28
|
+
"react-trc": "^2.0.0",
|
|
29
|
+
"@nerjs/task-planner": "^0.0.3"
|
|
29
30
|
}
|
|
30
31
|
}
|