@danielwaltz/eslint-config 0.0.3 → 0.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/CHANGELOG.md +12 -0
- package/dist/index.d.mts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.mjs +5 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
## v0.0.4
|
|
5
|
+
|
|
6
|
+
[compare changes](https://github.com/danielwaltz/eslint-config/compare/v0.0.3...v0.0.4)
|
|
7
|
+
|
|
8
|
+
### 🩹 Fixes
|
|
9
|
+
|
|
10
|
+
- Make main config fn synchronous ([aa1682c](https://github.com/danielwaltz/eslint-config/commit/aa1682c))
|
|
11
|
+
|
|
12
|
+
### ❤️ Contributors
|
|
13
|
+
|
|
14
|
+
- Daniel Waltz ([@danielwaltz](http://github.com/danielwaltz))
|
|
15
|
+
|
|
4
16
|
## v0.0.3
|
|
5
17
|
|
|
6
18
|
[compare changes](https://github.com/danielwaltz/eslint-config/compare/v0.0.2...v0.0.3)
|
package/dist/index.d.mts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as eslint_flat_config_utils from 'eslint-flat-config-utils';
|
|
2
2
|
import { ResolvableFlatConfig, FlatConfigComposer } from 'eslint-flat-config-utils';
|
|
3
|
+
import * as eslint from 'eslint';
|
|
3
4
|
|
|
4
5
|
declare function defineFlatConfigs(...configs: ResolvableFlatConfig[]): FlatConfigComposer;
|
|
5
6
|
|
|
6
|
-
declare function danielwaltz(...userConfigs: ResolvableFlatConfig[]):
|
|
7
|
+
declare function danielwaltz(...userConfigs: ResolvableFlatConfig[]): eslint_flat_config_utils.FlatConfigComposer<eslint.Linter.Config<eslint.Linter.RulesRecord>, never>;
|
|
7
8
|
|
|
8
9
|
export { danielwaltz, defineFlatConfigs };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as eslint_flat_config_utils from 'eslint-flat-config-utils';
|
|
2
2
|
import { ResolvableFlatConfig, FlatConfigComposer } from 'eslint-flat-config-utils';
|
|
3
|
+
import * as eslint from 'eslint';
|
|
3
4
|
|
|
4
5
|
declare function defineFlatConfigs(...configs: ResolvableFlatConfig[]): FlatConfigComposer;
|
|
5
6
|
|
|
6
|
-
declare function danielwaltz(...userConfigs: ResolvableFlatConfig[]):
|
|
7
|
+
declare function danielwaltz(...userConfigs: ResolvableFlatConfig[]): eslint_flat_config_utils.FlatConfigComposer<eslint.Linter.Config<eslint.Linter.RulesRecord>, never>;
|
|
7
8
|
|
|
8
9
|
export { danielwaltz, defineFlatConfigs };
|
package/dist/index.mjs
CHANGED
|
@@ -97,12 +97,12 @@ function defineFlatConfigs(...configs) {
|
|
|
97
97
|
return composer(...configs);
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
|
|
100
|
+
function danielwaltz(...userConfigs) {
|
|
101
101
|
const composer = defineFlatConfigs(...userConfigs);
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
102
|
+
composer.prepend(globalConfigs());
|
|
103
|
+
composer.append(typescriptConfigs());
|
|
104
|
+
composer.append(importConfigs());
|
|
105
|
+
composer.append(formattingConfigs());
|
|
106
106
|
return composer;
|
|
107
107
|
}
|
|
108
108
|
|