neatlint 1.0.0 → 1.0.1

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 CHANGED
@@ -175,15 +175,12 @@ Neatlint offers strict ESLint settings.
175
175
  | Rule | Description |
176
176
  | -------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------ |
177
177
  | [arrow-body-style](https://eslint.org/docs/latest/rules/arrow-body-style) | Require braces around arrow function bodies. |
178
- | [comma-dangle](https://eslint.org/docs/latest/rules/comma-dangle) | Require or disallow trailing commas. |
179
178
  | [func-style](https://eslint.org/docs/latest/rules/func-style) | Enforce the consistent use of either function declarations or expressions assigned to variables. |
180
179
  | [no-duplicate-imports](https://eslint.org/docs/latest/rules/no-duplicate-imports) | Disallow duplicate module imports. |
181
180
  | [no-empty](https://eslint.org/docs/latest/rules/no-empty) | Disallow empty block statements. |
182
- | [no-multi-spaces](https://eslint.org/docs/latest/rules/no-multi-spaces) | Disallow multiple spaces. |
183
- | [no-multiple-empty-lines](https://eslint.org/docs/latest/rules/no-multiple-empty-lines) | Disallow multiple empty lines. |
184
181
  | [no-restricted-syntax](https://eslint.org/docs/latest/rules/no-restricted-syntax) | Disallow specified syntax. |
185
- | [no-trailing-spaces](https://eslint.org/docs/latest/rules/no-trailing-spaces) | Disallow trailing whitespace at the end of lines. |
186
182
  | [no-useless-catch](https://eslint.org/docs/latest/rules/no-useless-catch) | Disallow unnecessary catch clauses. |
183
+ | [no-useless-concat](https://eslint.org/docs/latest/rules/no-useless-concat) | Disallow unnecessary concatenation of literals or template literals. |
187
184
  | [no-useless-constructor](https://eslint.org/docs/latest/rules/no-useless-constructor) | Disallow unnecessary constructors. |
188
185
  | [no-useless-rename](https://eslint.org/docs/latest/rules/no-useless-rename) | Disallow renaming import, export, and destructured assignments to the same name. |
189
186
  | [no-useless-return](https://eslint.org/docs/latest/rules/no-useless-return) | Disallow redundant return statements. |
@@ -192,10 +189,7 @@ Neatlint offers strict ESLint settings.
192
189
  | [prefer-arrow-callback](https://eslint.org/docs/latest/rules/prefer-arrow-callback) | Require using arrow functions for callbacks. |
193
190
  | [prefer-const](https://eslint.org/docs/latest/rules/prefer-const) | Require const declarations for variables that are never reassigned after declared. |
194
191
  | [prefer-template](https://eslint.org/docs/latest/rules/prefer-template) | Require template literals instead of string concatenation. |
195
- | [quote-props](https://eslint.org/docs/latest/rules/quote-props) | Require quotes around object literal property names. |
196
192
  | [eqeqeq](https://eslint.org/docs/latest/rules/eqeqeq) | Require the use of === and !==. |
197
- | [indent](https://eslint.org/docs/latest/rules/indent) | Enforce consistent indentation. |
198
- | [quotes](https://eslint.org/docs/latest/rules/quotes) | Enforce the consistent use of either backticks, double, or single quotes. |
199
193
  | [@typescript-eslint/consistent-type-definitions](https://typescript-eslint.io/rules/consistent-type-definitions) | Enforce type definitions to consistently use either interface or type. |
200
194
  | [@typescript-eslint/consistent-type-exports](https://typescript-eslint.io/rules/consistent-type-exports) | Enforce consistent usage of type exports. |
201
195
  | [@typescript-eslint/consistent-type-imports](https://typescript-eslint.io/rules/consistent-type-imports) | Enforce consistent usage of type imports. |
@@ -63,15 +63,12 @@ var NeatlintOptionsDefault = {
63
63
  plugins: {},
64
64
  rules: {
65
65
  "arrow-body-style": "error",
66
- "comma-dangle": "error",
67
66
  "func-style": ["error", "expression", { allowArrowFunctions: true }],
68
67
  "no-duplicate-imports": "error",
69
68
  "no-empty": "error",
70
- "no-multi-spaces": "error",
71
- "no-multiple-empty-lines": ["error", { max: 1 }],
72
69
  "no-restricted-syntax": ["error", "SwitchStatement"],
73
- "no-trailing-spaces": "error",
74
70
  "no-useless-catch": "error",
71
+ "no-useless-concat": "error",
75
72
  "no-useless-constructor": "error",
76
73
  "no-useless-rename": "error",
77
74
  "no-useless-return": "error",
@@ -80,10 +77,7 @@ var NeatlintOptionsDefault = {
80
77
  "prefer-arrow-callback": "error",
81
78
  "prefer-const": "error",
82
79
  "prefer-template": "error",
83
- "quote-props": ["error", "as-needed"],
84
- eqeqeq: "error",
85
- indent: ["error", 2],
86
- quotes: ["error", "double"]
80
+ eqeqeq: "error"
87
81
  }
88
82
  }
89
83
  };
@@ -29,15 +29,12 @@ var NeatlintOptionsDefault = {
29
29
  plugins: {},
30
30
  rules: {
31
31
  "arrow-body-style": "error",
32
- "comma-dangle": "error",
33
32
  "func-style": ["error", "expression", { allowArrowFunctions: true }],
34
33
  "no-duplicate-imports": "error",
35
34
  "no-empty": "error",
36
- "no-multi-spaces": "error",
37
- "no-multiple-empty-lines": ["error", { max: 1 }],
38
35
  "no-restricted-syntax": ["error", "SwitchStatement"],
39
- "no-trailing-spaces": "error",
40
36
  "no-useless-catch": "error",
37
+ "no-useless-concat": "error",
41
38
  "no-useless-constructor": "error",
42
39
  "no-useless-rename": "error",
43
40
  "no-useless-return": "error",
@@ -46,10 +43,7 @@ var NeatlintOptionsDefault = {
46
43
  "prefer-arrow-callback": "error",
47
44
  "prefer-const": "error",
48
45
  "prefer-template": "error",
49
- "quote-props": ["error", "as-needed"],
50
- eqeqeq: "error",
51
- indent: ["error", 2],
52
- quotes: ["error", "double"]
46
+ eqeqeq: "error"
53
47
  }
54
48
  }
55
49
  };
package/dist/main.js CHANGED
@@ -69,15 +69,12 @@ var NeatlintOptionsDefault = {
69
69
  plugins: {},
70
70
  rules: {
71
71
  "arrow-body-style": "error",
72
- "comma-dangle": "error",
73
72
  "func-style": ["error", "expression", { allowArrowFunctions: true }],
74
73
  "no-duplicate-imports": "error",
75
74
  "no-empty": "error",
76
- "no-multi-spaces": "error",
77
- "no-multiple-empty-lines": ["error", { max: 1 }],
78
75
  "no-restricted-syntax": ["error", "SwitchStatement"],
79
- "no-trailing-spaces": "error",
80
76
  "no-useless-catch": "error",
77
+ "no-useless-concat": "error",
81
78
  "no-useless-constructor": "error",
82
79
  "no-useless-rename": "error",
83
80
  "no-useless-return": "error",
@@ -86,10 +83,7 @@ var NeatlintOptionsDefault = {
86
83
  "prefer-arrow-callback": "error",
87
84
  "prefer-const": "error",
88
85
  "prefer-template": "error",
89
- "quote-props": ["error", "as-needed"],
90
- eqeqeq: "error",
91
- indent: ["error", 2],
92
- quotes: ["error", "double"]
86
+ eqeqeq: "error"
93
87
  }
94
88
  }
95
89
  };
package/dist/main.mjs CHANGED
@@ -33,15 +33,12 @@ var NeatlintOptionsDefault = {
33
33
  plugins: {},
34
34
  rules: {
35
35
  "arrow-body-style": "error",
36
- "comma-dangle": "error",
37
36
  "func-style": ["error", "expression", { allowArrowFunctions: true }],
38
37
  "no-duplicate-imports": "error",
39
38
  "no-empty": "error",
40
- "no-multi-spaces": "error",
41
- "no-multiple-empty-lines": ["error", { max: 1 }],
42
39
  "no-restricted-syntax": ["error", "SwitchStatement"],
43
- "no-trailing-spaces": "error",
44
40
  "no-useless-catch": "error",
41
+ "no-useless-concat": "error",
45
42
  "no-useless-constructor": "error",
46
43
  "no-useless-rename": "error",
47
44
  "no-useless-return": "error",
@@ -50,10 +47,7 @@ var NeatlintOptionsDefault = {
50
47
  "prefer-arrow-callback": "error",
51
48
  "prefer-const": "error",
52
49
  "prefer-template": "error",
53
- "quote-props": ["error", "as-needed"],
54
- eqeqeq: "error",
55
- indent: ["error", 2],
56
- quotes: ["error", "double"]
50
+ eqeqeq: "error"
57
51
  }
58
52
  }
59
53
  };
@@ -67,15 +67,12 @@ var NeatlintOptionsDefault = {
67
67
  plugins: {},
68
68
  rules: {
69
69
  "arrow-body-style": "error",
70
- "comma-dangle": "error",
71
70
  "func-style": ["error", "expression", { allowArrowFunctions: true }],
72
71
  "no-duplicate-imports": "error",
73
72
  "no-empty": "error",
74
- "no-multi-spaces": "error",
75
- "no-multiple-empty-lines": ["error", { max: 1 }],
76
73
  "no-restricted-syntax": ["error", "SwitchStatement"],
77
- "no-trailing-spaces": "error",
78
74
  "no-useless-catch": "error",
75
+ "no-useless-concat": "error",
79
76
  "no-useless-constructor": "error",
80
77
  "no-useless-rename": "error",
81
78
  "no-useless-return": "error",
@@ -84,10 +81,7 @@ var NeatlintOptionsDefault = {
84
81
  "prefer-arrow-callback": "error",
85
82
  "prefer-const": "error",
86
83
  "prefer-template": "error",
87
- "quote-props": ["error", "as-needed"],
88
- eqeqeq: "error",
89
- indent: ["error", 2],
90
- quotes: ["error", "double"]
84
+ eqeqeq: "error"
91
85
  }
92
86
  }
93
87
  };
@@ -33,15 +33,12 @@ var NeatlintOptionsDefault = {
33
33
  plugins: {},
34
34
  rules: {
35
35
  "arrow-body-style": "error",
36
- "comma-dangle": "error",
37
36
  "func-style": ["error", "expression", { allowArrowFunctions: true }],
38
37
  "no-duplicate-imports": "error",
39
38
  "no-empty": "error",
40
- "no-multi-spaces": "error",
41
- "no-multiple-empty-lines": ["error", { max: 1 }],
42
39
  "no-restricted-syntax": ["error", "SwitchStatement"],
43
- "no-trailing-spaces": "error",
44
40
  "no-useless-catch": "error",
41
+ "no-useless-concat": "error",
45
42
  "no-useless-constructor": "error",
46
43
  "no-useless-rename": "error",
47
44
  "no-useless-return": "error",
@@ -50,10 +47,7 @@ var NeatlintOptionsDefault = {
50
47
  "prefer-arrow-callback": "error",
51
48
  "prefer-const": "error",
52
49
  "prefer-template": "error",
53
- "quote-props": ["error", "as-needed"],
54
- eqeqeq: "error",
55
- indent: ["error", 2],
56
- quotes: ["error", "double"]
50
+ eqeqeq: "error"
57
51
  }
58
52
  }
59
53
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "neatlint",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Strict ESLint presets for modern TypeScript projects.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/keift/neatlint",