itsa-react-maskedinput 16.1.1 → 16.1.3
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/.eslintrc +64 -81
- package/package.json +1 -1
package/.eslintrc
CHANGED
|
@@ -1,83 +1,66 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
"wrap-regex": 2
|
|
2
|
+
"rules": {
|
|
3
|
+
"indent": ["error", 4, { "SwitchCase": 1 }],
|
|
4
|
+
"linebreak-style": ["error", "unix"],
|
|
5
|
+
"quotes": ["error", "single", "avoid-escape"],
|
|
6
|
+
"semi": ["error", "always"],
|
|
7
|
+
"react/jsx-closing-bracket-location": [2, "after-props"],
|
|
8
|
+
"react/jsx-curly-spacing": [2, "never", { "allowMultiline": false }],
|
|
9
|
+
"react/jsx-indent-props": [2, 4],
|
|
10
|
+
"react/jsx-key": 2,
|
|
11
|
+
"react/jsx-max-props-per-line": [2, { "maximum": 4 }],
|
|
12
|
+
"react/jsx-pascal-case": 2,
|
|
13
|
+
"react/jsx-sort-props": [2, { "ignoreCase": true }],
|
|
14
|
+
"react/sort-prop-types": [2, { "ignoreCase": true }],
|
|
15
|
+
"react/jsx-uses-vars": 1,
|
|
16
|
+
"react/no-danger": 0,
|
|
17
|
+
"react/no-multi-comp": 2,
|
|
18
|
+
"react/self-closing-comp": 2,
|
|
19
|
+
"react/jsx-wrap-multilines": 2,
|
|
20
|
+
"array-bracket-spacing": [2, "never"],
|
|
21
|
+
"brace-style": [2, "stroustrup"],
|
|
22
|
+
"camelcase": [2, { "properties": "always" }],
|
|
23
|
+
"comma-spacing": [2, { "after": true, "before": false }],
|
|
24
|
+
"comma-style": [2, "last"],
|
|
25
|
+
"computed-property-spacing": [2, "never"],
|
|
26
|
+
"dot-location": [2, "property"],
|
|
27
|
+
"eol-last": 2,
|
|
28
|
+
"func-style": [2, "expression"],
|
|
29
|
+
"jsx-quotes": [2, "prefer-double"],
|
|
30
|
+
"keyword-spacing": 2,
|
|
31
|
+
"max-len": [2, 220, 2],
|
|
32
|
+
"no-cond-assign": 0,
|
|
33
|
+
"no-console": [2, { "allow": ["warn", "error"] }],
|
|
34
|
+
"no-else-return": 2,
|
|
35
|
+
"no-eq-null": 0,
|
|
36
|
+
"no-extra-parens": 0,
|
|
37
|
+
"no-multiple-empty-lines": [2, { "max": 2 }],
|
|
38
|
+
"no-trailing-spaces": 2,
|
|
39
|
+
"no-undef-init": 2,
|
|
40
|
+
"no-underscore-dangle": 0,
|
|
41
|
+
"object-curly-spacing": [2, "never"],
|
|
42
|
+
"radix": 2,
|
|
43
|
+
"space-before-blocks": 2,
|
|
44
|
+
"space-before-function-paren": [2, "never"],
|
|
45
|
+
"space-in-parens": [2, "never"],
|
|
46
|
+
"spaced-comment": [2, "always"],
|
|
47
|
+
"strict": [2, "global"],
|
|
48
|
+
"wrap-regex": 2
|
|
49
|
+
},
|
|
50
|
+
"env": {
|
|
51
|
+
"es6": true,
|
|
52
|
+
"node": true,
|
|
53
|
+
"browser": true
|
|
54
|
+
},
|
|
55
|
+
"extends": ["eslint:recommended", "plugin:react/recommended"],
|
|
56
|
+
"parser": "babel-eslint",
|
|
57
|
+
"parserOptions": {
|
|
58
|
+
"ecmaVersion": 6,
|
|
59
|
+
"ecmaFeatures": {
|
|
60
|
+
"experimentalObjectRestSpread": true,
|
|
61
|
+
"jsx": true
|
|
63
62
|
},
|
|
64
|
-
"
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
},
|
|
69
|
-
"extends": ["eslint:recommended", "plugin:react/recommended"],
|
|
70
|
-
"parser": "babel-eslint",
|
|
71
|
-
"parserOptions": {
|
|
72
|
-
"ecmaVersion": 6,
|
|
73
|
-
"ecmaFeatures": {
|
|
74
|
-
"experimentalObjectRestSpread": true,
|
|
75
|
-
"jsx": true
|
|
76
|
-
},
|
|
77
|
-
"sourceType": "module"
|
|
78
|
-
},
|
|
79
|
-
"plugins": [
|
|
80
|
-
"react",
|
|
81
|
-
"security"
|
|
82
|
-
]
|
|
83
|
-
}
|
|
63
|
+
"sourceType": "module"
|
|
64
|
+
},
|
|
65
|
+
"plugins": ["react", "security"]
|
|
66
|
+
}
|