neatlint 1.1.5 → 1.1.6

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
@@ -99,7 +99,7 @@ Briefly as follows.
99
99
  > **📁 ./eslint.config.ts**
100
100
  >
101
101
  > ```typescript
102
- > import { Neatlint } from "neatlint";
102
+ > import { Neatlint } from 'neatlint';
103
103
  >
104
104
  > export default Neatlint();
105
105
  > ```
@@ -129,7 +129,7 @@ Suggested uses are as follows. We recommend using [Prettier](https://npmjs.com/p
129
129
  > **📁 ./eslint.config.ts**
130
130
  >
131
131
  > ```typescript
132
- > import { Neatlint } from "neatlint";
132
+ > import { Neatlint } from 'neatlint';
133
133
  >
134
134
  > export default Neatlint();
135
135
  > ```
@@ -157,7 +157,7 @@ Suggested uses are as follows. We recommend using [Prettier](https://npmjs.com/p
157
157
  > ```json
158
158
  > {
159
159
  > "semi": true,
160
- > "singleQuote": false,
160
+ > "singleQuote": true,
161
161
  >
162
162
  > "printWidth": 9999,
163
163
  > "tabWidth": 2,
@@ -50,6 +50,7 @@ var NeatlintOptionsDefault = {
50
50
  "no-duplicate-imports": "error",
51
51
  "no-eval": "error",
52
52
  "no-restricted-syntax": ["error", "DebuggerStatement", "EmptyStatement", "ForInStatement", "LabeledStatement", "SequenceExpression", "SwitchStatement", "WithStatement"],
53
+ "no-useless-call": "error",
53
54
  "no-useless-computed-key": "error",
54
55
  "no-useless-concat": "error",
55
56
  "no-useless-constructor": "error",
@@ -84,8 +85,6 @@ var NeatlintOptionsDefault = {
84
85
  "@typescript-eslint/consistent-type-exports": "error",
85
86
  "@typescript-eslint/consistent-type-imports": "error",
86
87
  "@typescript-eslint/explicit-member-accessibility": "error",
87
- "@typescript-eslint/no-inferrable-types": "error",
88
- // stylisticTypeChecked
89
88
  "@typescript-eslint/prefer-readonly": "error",
90
89
  "@typescript-eslint/strict-boolean-expressions": "error"
91
90
  }
@@ -16,6 +16,7 @@ var NeatlintOptionsDefault = {
16
16
  "no-duplicate-imports": "error",
17
17
  "no-eval": "error",
18
18
  "no-restricted-syntax": ["error", "DebuggerStatement", "EmptyStatement", "ForInStatement", "LabeledStatement", "SequenceExpression", "SwitchStatement", "WithStatement"],
19
+ "no-useless-call": "error",
19
20
  "no-useless-computed-key": "error",
20
21
  "no-useless-concat": "error",
21
22
  "no-useless-constructor": "error",
@@ -50,8 +51,6 @@ var NeatlintOptionsDefault = {
50
51
  "@typescript-eslint/consistent-type-exports": "error",
51
52
  "@typescript-eslint/consistent-type-imports": "error",
52
53
  "@typescript-eslint/explicit-member-accessibility": "error",
53
- "@typescript-eslint/no-inferrable-types": "error",
54
- // stylisticTypeChecked
55
54
  "@typescript-eslint/prefer-readonly": "error",
56
55
  "@typescript-eslint/strict-boolean-expressions": "error"
57
56
  }
package/dist/main.js CHANGED
@@ -55,6 +55,7 @@ var NeatlintOptionsDefault = {
55
55
  "no-duplicate-imports": "error",
56
56
  "no-eval": "error",
57
57
  "no-restricted-syntax": ["error", "DebuggerStatement", "EmptyStatement", "ForInStatement", "LabeledStatement", "SequenceExpression", "SwitchStatement", "WithStatement"],
58
+ "no-useless-call": "error",
58
59
  "no-useless-computed-key": "error",
59
60
  "no-useless-concat": "error",
60
61
  "no-useless-constructor": "error",
@@ -89,8 +90,6 @@ var NeatlintOptionsDefault = {
89
90
  "@typescript-eslint/consistent-type-exports": "error",
90
91
  "@typescript-eslint/consistent-type-imports": "error",
91
92
  "@typescript-eslint/explicit-member-accessibility": "error",
92
- "@typescript-eslint/no-inferrable-types": "error",
93
- // stylisticTypeChecked
94
93
  "@typescript-eslint/prefer-readonly": "error",
95
94
  "@typescript-eslint/strict-boolean-expressions": "error"
96
95
  }
package/dist/main.mjs CHANGED
@@ -19,6 +19,7 @@ var NeatlintOptionsDefault = {
19
19
  "no-duplicate-imports": "error",
20
20
  "no-eval": "error",
21
21
  "no-restricted-syntax": ["error", "DebuggerStatement", "EmptyStatement", "ForInStatement", "LabeledStatement", "SequenceExpression", "SwitchStatement", "WithStatement"],
22
+ "no-useless-call": "error",
22
23
  "no-useless-computed-key": "error",
23
24
  "no-useless-concat": "error",
24
25
  "no-useless-constructor": "error",
@@ -53,8 +54,6 @@ var NeatlintOptionsDefault = {
53
54
  "@typescript-eslint/consistent-type-exports": "error",
54
55
  "@typescript-eslint/consistent-type-imports": "error",
55
56
  "@typescript-eslint/explicit-member-accessibility": "error",
56
- "@typescript-eslint/no-inferrable-types": "error",
57
- // stylisticTypeChecked
58
57
  "@typescript-eslint/prefer-readonly": "error",
59
58
  "@typescript-eslint/strict-boolean-expressions": "error"
60
59
  }
@@ -3,18 +3,18 @@ import 'eslint';
3
3
 
4
4
  type NeatlintOptions = {
5
5
  disabled?: boolean;
6
- ignores?: ESLintConfig["ignores"];
6
+ ignores?: ESLintConfig['ignores'];
7
7
  javascript?: {
8
- files?: ESLintConfig["files"];
9
- languageOptions?: ESLintConfig["languageOptions"];
10
- plugins?: ESLintConfig["plugins"];
11
- rules?: ESLintConfig["rules"];
8
+ files?: ESLintConfig['files'];
9
+ languageOptions?: ESLintConfig['languageOptions'];
10
+ plugins?: ESLintConfig['plugins'];
11
+ rules?: ESLintConfig['rules'];
12
12
  };
13
13
  typescript?: {
14
- files?: ESLintConfig["files"];
15
- languageOptions?: ESLintConfig["languageOptions"];
16
- plugins?: ESLintConfig["plugins"];
17
- rules?: ESLintConfig["rules"];
14
+ files?: ESLintConfig['files'];
15
+ languageOptions?: ESLintConfig['languageOptions'];
16
+ plugins?: ESLintConfig['plugins'];
17
+ rules?: ESLintConfig['rules'];
18
18
  };
19
19
  config?: ESLintConfig[];
20
20
  };
@@ -3,18 +3,18 @@ import 'eslint';
3
3
 
4
4
  type NeatlintOptions = {
5
5
  disabled?: boolean;
6
- ignores?: ESLintConfig["ignores"];
6
+ ignores?: ESLintConfig['ignores'];
7
7
  javascript?: {
8
- files?: ESLintConfig["files"];
9
- languageOptions?: ESLintConfig["languageOptions"];
10
- plugins?: ESLintConfig["plugins"];
11
- rules?: ESLintConfig["rules"];
8
+ files?: ESLintConfig['files'];
9
+ languageOptions?: ESLintConfig['languageOptions'];
10
+ plugins?: ESLintConfig['plugins'];
11
+ rules?: ESLintConfig['rules'];
12
12
  };
13
13
  typescript?: {
14
- files?: ESLintConfig["files"];
15
- languageOptions?: ESLintConfig["languageOptions"];
16
- plugins?: ESLintConfig["plugins"];
17
- rules?: ESLintConfig["rules"];
14
+ files?: ESLintConfig['files'];
15
+ languageOptions?: ESLintConfig['languageOptions'];
16
+ plugins?: ESLintConfig['plugins'];
17
+ rules?: ESLintConfig['rules'];
18
18
  };
19
19
  config?: ESLintConfig[];
20
20
  };
@@ -53,6 +53,7 @@ var NeatlintOptionsDefault = {
53
53
  "no-duplicate-imports": "error",
54
54
  "no-eval": "error",
55
55
  "no-restricted-syntax": ["error", "DebuggerStatement", "EmptyStatement", "ForInStatement", "LabeledStatement", "SequenceExpression", "SwitchStatement", "WithStatement"],
56
+ "no-useless-call": "error",
56
57
  "no-useless-computed-key": "error",
57
58
  "no-useless-concat": "error",
58
59
  "no-useless-constructor": "error",
@@ -87,8 +88,6 @@ var NeatlintOptionsDefault = {
87
88
  "@typescript-eslint/consistent-type-exports": "error",
88
89
  "@typescript-eslint/consistent-type-imports": "error",
89
90
  "@typescript-eslint/explicit-member-accessibility": "error",
90
- "@typescript-eslint/no-inferrable-types": "error",
91
- // stylisticTypeChecked
92
91
  "@typescript-eslint/prefer-readonly": "error",
93
92
  "@typescript-eslint/strict-boolean-expressions": "error"
94
93
  }
@@ -19,6 +19,7 @@ var NeatlintOptionsDefault = {
19
19
  "no-duplicate-imports": "error",
20
20
  "no-eval": "error",
21
21
  "no-restricted-syntax": ["error", "DebuggerStatement", "EmptyStatement", "ForInStatement", "LabeledStatement", "SequenceExpression", "SwitchStatement", "WithStatement"],
22
+ "no-useless-call": "error",
22
23
  "no-useless-computed-key": "error",
23
24
  "no-useless-concat": "error",
24
25
  "no-useless-constructor": "error",
@@ -53,8 +54,6 @@ var NeatlintOptionsDefault = {
53
54
  "@typescript-eslint/consistent-type-exports": "error",
54
55
  "@typescript-eslint/consistent-type-imports": "error",
55
56
  "@typescript-eslint/explicit-member-accessibility": "error",
56
- "@typescript-eslint/no-inferrable-types": "error",
57
- // stylisticTypeChecked
58
57
  "@typescript-eslint/prefer-readonly": "error",
59
58
  "@typescript-eslint/strict-boolean-expressions": "error"
60
59
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "neatlint",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "description": "Strict ESLint presets for modern TypeScript projects.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/keift/neatlint",