neatlint 1.0.2 → 1.0.4
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 +0 -35
- package/dist/defaults/NeatlintOptions.default.js +0 -4
- package/dist/defaults/NeatlintOptions.default.mjs +0 -4
- package/dist/main.js +0 -4
- package/dist/main.mjs +0 -4
- package/dist/utils/Neatlint.util.js +0 -4
- package/dist/utils/Neatlint.util.mjs +0 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -32,7 +32,6 @@
|
|
|
32
32
|
- [Import](#import)
|
|
33
33
|
- [Methods](#methods)
|
|
34
34
|
- [Recommended use](#recommended-use)
|
|
35
|
-
- [What does it do?](#what-does-it-do)
|
|
36
35
|
- [Types](#types)
|
|
37
36
|
- [Links](#links)
|
|
38
37
|
- [Discord](https://discord.gg/keift)
|
|
@@ -168,40 +167,6 @@ Suggested uses are as follows. We recommend using Prettier.
|
|
|
168
167
|
> }
|
|
169
168
|
> ```
|
|
170
169
|
|
|
171
|
-
### What does it do?
|
|
172
|
-
|
|
173
|
-
Neatlint offers strict ESLint settings.
|
|
174
|
-
|
|
175
|
-
| Rule | Description |
|
|
176
|
-
| -------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ |
|
|
177
|
-
| [arrow-body-style](https://eslint.org/docs/latest/rules/arrow-body-style) | Require braces around arrow function bodies. |
|
|
178
|
-
| [func-style](https://eslint.org/docs/latest/rules/func-style) | Enforce the consistent use of either function declarations or expressions assigned to variables. |
|
|
179
|
-
| [no-duplicate-imports](https://eslint.org/docs/latest/rules/no-duplicate-imports) | Disallow duplicate module imports. |
|
|
180
|
-
| [no-empty](https://eslint.org/docs/latest/rules/no-empty) | Disallow empty block statements. |
|
|
181
|
-
| [no-restricted-syntax](https://eslint.org/docs/latest/rules/no-restricted-syntax) | Disallow specified syntax. |
|
|
182
|
-
| [no-useless-backreference](https://eslint.org/docs/latest/rules/no-useless-backreference) | Disallow useless backreferences in regular expressions. |
|
|
183
|
-
| [no-useless-computed-key](https://eslint.org/docs/latest/rules/no-useless-computed-key) | Disallow unnecessary computed property keys in objects and classes. |
|
|
184
|
-
| [no-useless-catch](https://eslint.org/docs/latest/rules/no-useless-catch) | Disallow unnecessary catch clauses. |
|
|
185
|
-
| [no-useless-concat](https://eslint.org/docs/latest/rules/no-useless-concat) | Disallow unnecessary concatenation of literals or template literals. |
|
|
186
|
-
| [no-useless-constructor](https://eslint.org/docs/latest/rules/no-useless-constructor) | Disallow unnecessary constructors. |
|
|
187
|
-
| [no-useless-escape](https://eslint.org/docs/latest/rules/no-useless-escape) | Disallow unnecessary escape characters. |
|
|
188
|
-
| [no-useless-rename](https://eslint.org/docs/latest/rules/no-useless-rename) | Disallow renaming import, export, and destructured assignments to the same name. |
|
|
189
|
-
| [no-useless-return](https://eslint.org/docs/latest/rules/no-useless-return) | Disallow redundant return statements. |
|
|
190
|
-
| [no-var](https://eslint.org/docs/latest/rules/no-var) | Require let or const instead of var. |
|
|
191
|
-
| [object-shorthand](https://eslint.org/docs/latest/rules/object-shorthand) | Require or disallow method and property shorthand syntax for object literals. |
|
|
192
|
-
| [prefer-arrow-callback](https://eslint.org/docs/latest/rules/prefer-arrow-callback) | Require using arrow functions for callbacks. |
|
|
193
|
-
| [prefer-const](https://eslint.org/docs/latest/rules/prefer-const) | Require const declarations for variables that are never reassigned after declared. |
|
|
194
|
-
| [prefer-template](https://eslint.org/docs/latest/rules/prefer-template) | Require template literals instead of string concatenation. |
|
|
195
|
-
| [eqeqeq](https://eslint.org/docs/latest/rules/eqeqeq) | Require the use of === and !==. |
|
|
196
|
-
| [@typescript-eslint/consistent-type-definitions](https://typescript-eslint.io/rules/consistent-type-definitions) | Enforce type definitions to consistently use either interface or type. |
|
|
197
|
-
| [@typescript-eslint/consistent-type-exports](https://typescript-eslint.io/rules/consistent-type-exports) | Enforce consistent usage of type exports. |
|
|
198
|
-
| [@typescript-eslint/consistent-type-imports](https://typescript-eslint.io/rules/consistent-type-imports) | Enforce consistent usage of type imports. |
|
|
199
|
-
| [@typescript-eslint/explicit-function-return-type](https://typescript-eslint.io/rules/explicit-function-return-type) | Require explicit return types on functions and class methods. |
|
|
200
|
-
| [@typescript-eslint/explicit-member-accessibility](https://typescript-eslint.io/rules/explicit-member-accessibility) | Require explicit accessibility modifiers on class properties and methods. |
|
|
201
|
-
| [@typescript-eslint/no-inferrable-types](https://typescript-eslint.io/rules/no-inferrable-types) | Disallow explicit type declarations for variables or parameters initialized to a number, string, or boolean. |
|
|
202
|
-
| [@typescript-eslint/prefer-readonly](https://typescript-eslint.io/rules/prefer-readonly) | Require private members to be marked as readonly if they're never modified outside of the constructor. |
|
|
203
|
-
| [@typescript-eslint/strict-boolean-expressions](https://typescript-eslint.io/rules/strict-boolean-expressions) | Disallow certain types in boolean expressions. |
|
|
204
|
-
|
|
205
170
|
### Types
|
|
206
171
|
|
|
207
172
|
| Type |
|
|
@@ -65,14 +65,10 @@ var NeatlintOptionsDefault = {
|
|
|
65
65
|
"arrow-body-style": "error",
|
|
66
66
|
"func-style": ["error", "expression", { allowArrowFunctions: true }],
|
|
67
67
|
"no-duplicate-imports": "error",
|
|
68
|
-
"no-empty": "error",
|
|
69
68
|
"no-restricted-syntax": ["error", "SwitchStatement"],
|
|
70
|
-
"no-useless-backreference": "error",
|
|
71
|
-
"no-useless-catch": "error",
|
|
72
69
|
"no-useless-computed-key": "error",
|
|
73
70
|
"no-useless-concat": "error",
|
|
74
71
|
"no-useless-constructor": "error",
|
|
75
|
-
"no-useless-escape": "error",
|
|
76
72
|
"no-useless-rename": "error",
|
|
77
73
|
"no-useless-return": "error",
|
|
78
74
|
"no-var": "error",
|
|
@@ -31,14 +31,10 @@ var NeatlintOptionsDefault = {
|
|
|
31
31
|
"arrow-body-style": "error",
|
|
32
32
|
"func-style": ["error", "expression", { allowArrowFunctions: true }],
|
|
33
33
|
"no-duplicate-imports": "error",
|
|
34
|
-
"no-empty": "error",
|
|
35
34
|
"no-restricted-syntax": ["error", "SwitchStatement"],
|
|
36
|
-
"no-useless-backreference": "error",
|
|
37
|
-
"no-useless-catch": "error",
|
|
38
35
|
"no-useless-computed-key": "error",
|
|
39
36
|
"no-useless-concat": "error",
|
|
40
37
|
"no-useless-constructor": "error",
|
|
41
|
-
"no-useless-escape": "error",
|
|
42
38
|
"no-useless-rename": "error",
|
|
43
39
|
"no-useless-return": "error",
|
|
44
40
|
"no-var": "error",
|
package/dist/main.js
CHANGED
|
@@ -71,14 +71,10 @@ var NeatlintOptionsDefault = {
|
|
|
71
71
|
"arrow-body-style": "error",
|
|
72
72
|
"func-style": ["error", "expression", { allowArrowFunctions: true }],
|
|
73
73
|
"no-duplicate-imports": "error",
|
|
74
|
-
"no-empty": "error",
|
|
75
74
|
"no-restricted-syntax": ["error", "SwitchStatement"],
|
|
76
|
-
"no-useless-backreference": "error",
|
|
77
|
-
"no-useless-catch": "error",
|
|
78
75
|
"no-useless-computed-key": "error",
|
|
79
76
|
"no-useless-concat": "error",
|
|
80
77
|
"no-useless-constructor": "error",
|
|
81
|
-
"no-useless-escape": "error",
|
|
82
78
|
"no-useless-rename": "error",
|
|
83
79
|
"no-useless-return": "error",
|
|
84
80
|
"no-var": "error",
|
package/dist/main.mjs
CHANGED
|
@@ -35,14 +35,10 @@ var NeatlintOptionsDefault = {
|
|
|
35
35
|
"arrow-body-style": "error",
|
|
36
36
|
"func-style": ["error", "expression", { allowArrowFunctions: true }],
|
|
37
37
|
"no-duplicate-imports": "error",
|
|
38
|
-
"no-empty": "error",
|
|
39
38
|
"no-restricted-syntax": ["error", "SwitchStatement"],
|
|
40
|
-
"no-useless-backreference": "error",
|
|
41
|
-
"no-useless-catch": "error",
|
|
42
39
|
"no-useless-computed-key": "error",
|
|
43
40
|
"no-useless-concat": "error",
|
|
44
41
|
"no-useless-constructor": "error",
|
|
45
|
-
"no-useless-escape": "error",
|
|
46
42
|
"no-useless-rename": "error",
|
|
47
43
|
"no-useless-return": "error",
|
|
48
44
|
"no-var": "error",
|
|
@@ -69,14 +69,10 @@ var NeatlintOptionsDefault = {
|
|
|
69
69
|
"arrow-body-style": "error",
|
|
70
70
|
"func-style": ["error", "expression", { allowArrowFunctions: true }],
|
|
71
71
|
"no-duplicate-imports": "error",
|
|
72
|
-
"no-empty": "error",
|
|
73
72
|
"no-restricted-syntax": ["error", "SwitchStatement"],
|
|
74
|
-
"no-useless-backreference": "error",
|
|
75
|
-
"no-useless-catch": "error",
|
|
76
73
|
"no-useless-computed-key": "error",
|
|
77
74
|
"no-useless-concat": "error",
|
|
78
75
|
"no-useless-constructor": "error",
|
|
79
|
-
"no-useless-escape": "error",
|
|
80
76
|
"no-useless-rename": "error",
|
|
81
77
|
"no-useless-return": "error",
|
|
82
78
|
"no-var": "error",
|
|
@@ -35,14 +35,10 @@ var NeatlintOptionsDefault = {
|
|
|
35
35
|
"arrow-body-style": "error",
|
|
36
36
|
"func-style": ["error", "expression", { allowArrowFunctions: true }],
|
|
37
37
|
"no-duplicate-imports": "error",
|
|
38
|
-
"no-empty": "error",
|
|
39
38
|
"no-restricted-syntax": ["error", "SwitchStatement"],
|
|
40
|
-
"no-useless-backreference": "error",
|
|
41
|
-
"no-useless-catch": "error",
|
|
42
39
|
"no-useless-computed-key": "error",
|
|
43
40
|
"no-useless-concat": "error",
|
|
44
41
|
"no-useless-constructor": "error",
|
|
45
|
-
"no-useless-escape": "error",
|
|
46
42
|
"no-useless-rename": "error",
|
|
47
43
|
"no-useless-return": "error",
|
|
48
44
|
"no-var": "error",
|