@cookshack/eslint-config 0.1.3 → 0.1.5
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/dist/index.cjs +4 -1
- package/dist/index.js +4 -1
- package/index.js +4 -1
- package/package.json +4 -1
package/dist/index.cjs
CHANGED
|
@@ -33,6 +33,7 @@ exports.rules = {
|
|
|
33
33
|
'array-bracket-spacing': [ 'error', 'always' ],
|
|
34
34
|
'arrow-parens': [ 'error', 'as-needed' ],
|
|
35
35
|
'brace-style': [ 'error', 'stroustrup' ],
|
|
36
|
+
'comma-dangle': 'error',
|
|
36
37
|
'curly': [ 'error', 'multi' ],
|
|
37
38
|
'eol-last': [ 'error', 'always' ],
|
|
38
39
|
'function-paren-newline': [ 'error', 'never' ],
|
|
@@ -57,14 +58,16 @@ exports.rules = {
|
|
|
57
58
|
'no-case-declarations': 'error',
|
|
58
59
|
'no-global-assign': 'error',
|
|
59
60
|
'cookshack/no-logical-not': 'error',
|
|
61
|
+
'no-mixed-operators': 'error',
|
|
60
62
|
'no-multi-spaces': 'error',
|
|
61
63
|
'no-multiple-empty-lines': [ 'error', { max: 1, maxEOF: 0 } ],
|
|
62
64
|
'no-negated-condition': 'error',
|
|
63
|
-
'no-unsafe-negation': 'error',
|
|
64
65
|
'no-redeclare': 'error',
|
|
66
|
+
'no-sequences': 'error',
|
|
65
67
|
'no-tabs': 'error',
|
|
66
68
|
'no-trailing-spaces': 'error',
|
|
67
69
|
'no-undef': 'error',
|
|
70
|
+
'no-unsafe-negation': 'error',
|
|
68
71
|
'no-unused-vars': 'error',
|
|
69
72
|
'no-var': 'error',
|
|
70
73
|
'object-curly-spacing': [ 'error', 'always' ],
|
package/dist/index.js
CHANGED
|
@@ -31,6 +31,7 @@ rules = {
|
|
|
31
31
|
'array-bracket-spacing': [ 'error', 'always' ],
|
|
32
32
|
'arrow-parens': [ 'error', 'as-needed' ],
|
|
33
33
|
'brace-style': [ 'error', 'stroustrup' ],
|
|
34
|
+
'comma-dangle': 'error',
|
|
34
35
|
'curly': [ 'error', 'multi' ],
|
|
35
36
|
'eol-last': [ 'error', 'always' ],
|
|
36
37
|
'function-paren-newline': [ 'error', 'never' ],
|
|
@@ -55,14 +56,16 @@ rules = {
|
|
|
55
56
|
'no-case-declarations': 'error',
|
|
56
57
|
'no-global-assign': 'error',
|
|
57
58
|
'cookshack/no-logical-not': 'error',
|
|
59
|
+
'no-mixed-operators': 'error',
|
|
58
60
|
'no-multi-spaces': 'error',
|
|
59
61
|
'no-multiple-empty-lines': [ 'error', { max: 1, maxEOF: 0 } ],
|
|
60
62
|
'no-negated-condition': 'error',
|
|
61
|
-
'no-unsafe-negation': 'error',
|
|
62
63
|
'no-redeclare': 'error',
|
|
64
|
+
'no-sequences': 'error',
|
|
63
65
|
'no-tabs': 'error',
|
|
64
66
|
'no-trailing-spaces': 'error',
|
|
65
67
|
'no-undef': 'error',
|
|
68
|
+
'no-unsafe-negation': 'error',
|
|
66
69
|
'no-unused-vars': 'error',
|
|
67
70
|
'no-var': 'error',
|
|
68
71
|
'object-curly-spacing': [ 'error', 'always' ],
|
package/index.js
CHANGED
|
@@ -31,6 +31,7 @@ rules = {
|
|
|
31
31
|
'array-bracket-spacing': [ 'error', 'always' ],
|
|
32
32
|
'arrow-parens': [ 'error', 'as-needed' ],
|
|
33
33
|
'brace-style': [ 'error', 'stroustrup' ],
|
|
34
|
+
'comma-dangle': 'error',
|
|
34
35
|
'curly': [ 'error', 'multi' ],
|
|
35
36
|
'eol-last': [ 'error', 'always' ],
|
|
36
37
|
'function-paren-newline': [ 'error', 'never' ],
|
|
@@ -55,14 +56,16 @@ rules = {
|
|
|
55
56
|
'no-case-declarations': 'error',
|
|
56
57
|
'no-global-assign': 'error',
|
|
57
58
|
'cookshack/no-logical-not': 'error',
|
|
59
|
+
'no-mixed-operators': 'error',
|
|
58
60
|
'no-multi-spaces': 'error',
|
|
59
61
|
'no-multiple-empty-lines': [ 'error', { max: 1, maxEOF: 0 } ],
|
|
60
62
|
'no-negated-condition': 'error',
|
|
61
|
-
'no-unsafe-negation': 'error',
|
|
62
63
|
'no-redeclare': 'error',
|
|
64
|
+
'no-sequences': 'error',
|
|
63
65
|
'no-tabs': 'error',
|
|
64
66
|
'no-trailing-spaces': 'error',
|
|
65
67
|
'no-undef': 'error',
|
|
68
|
+
'no-unsafe-negation': 'error',
|
|
66
69
|
'no-unused-vars': 'error',
|
|
67
70
|
'no-var': 'error',
|
|
68
71
|
'object-curly-spacing': [ 'error', 'always' ],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cookshack/eslint-config",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "ESLint config for Cookshack projects",
|
|
5
5
|
"homepage": "https://git.sr.ht/~mattmundell/eslint-config",
|
|
6
6
|
"type": "module",
|
|
@@ -22,5 +22,8 @@
|
|
|
22
22
|
"license": "CC0-1.0",
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"globals": "^15.10.0"
|
|
25
|
+
},
|
|
26
|
+
"devDependencies": {
|
|
27
|
+
"rollup": "^4.27.2"
|
|
25
28
|
}
|
|
26
29
|
}
|