@storm-software/eslint 0.123.2 → 0.123.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/dist/preset.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Linter } from 'eslint';
|
|
2
2
|
import { FlatConfigComposer } from 'eslint-flat-config-utils';
|
|
3
|
-
import { O as OptionsConfig, R as RuleOptions, T as TypedFlatConfigItem, A as Awaitable, C as ConfigNames } from './types-
|
|
3
|
+
import { O as OptionsConfig, R as RuleOptions, T as TypedFlatConfigItem, A as Awaitable, C as ConfigNames } from './types-CHy285SF.js';
|
|
4
4
|
import '@nx/eslint-plugin/src/utils/runtime-lint-utils';
|
|
5
5
|
import '@stylistic/eslint-plugin';
|
|
6
6
|
import '@typescript-eslint/parser';
|
package/dist/preset.js
CHANGED
|
@@ -166,8 +166,8 @@ __name(disables, "disables");
|
|
|
166
166
|
var StylisticConfigDefaults = {
|
|
167
167
|
indent: 2,
|
|
168
168
|
jsx: true,
|
|
169
|
-
quotes: "
|
|
170
|
-
semi:
|
|
169
|
+
quotes: "double",
|
|
170
|
+
semi: true
|
|
171
171
|
};
|
|
172
172
|
async function stylistic(options = {}) {
|
|
173
173
|
const { indent, jsx: jsx2, overrides = {}, quotes, semi } = {
|
|
@@ -787,7 +787,7 @@ async function javascript(options = {}) {
|
|
|
787
787
|
},
|
|
788
788
|
{
|
|
789
789
|
// Banner
|
|
790
|
-
...banner_plugin_default.configs["recommended"],
|
|
790
|
+
...banner_plugin_default.configs?.["recommended"],
|
|
791
791
|
name: "storm/javascript/banner",
|
|
792
792
|
plugins: {
|
|
793
793
|
banner: banner_plugin_default
|
|
@@ -3436,7 +3436,7 @@ async function cspell(options = {}) {
|
|
|
3436
3436
|
const { configFile = "./.vscode/cspell.json" } = options;
|
|
3437
3437
|
return [
|
|
3438
3438
|
{
|
|
3439
|
-
name: "storm/cspell",
|
|
3439
|
+
name: "storm/cspell/rules",
|
|
3440
3440
|
...cspellConfig,
|
|
3441
3441
|
rules: {
|
|
3442
3442
|
...cspellConfig.rules,
|
|
@@ -14457,8 +14457,7 @@ interface OptionsTypeScriptWithTypes {
|
|
|
14457
14457
|
*/
|
|
14458
14458
|
overridesTypeAware?: TypedFlatConfigItem["rules"];
|
|
14459
14459
|
}
|
|
14460
|
-
|
|
14461
|
-
}
|
|
14460
|
+
type StylisticConfig = Pick<StylisticCustomizeOptions, "indent" | "quotes" | "jsx" | "semi">;
|
|
14462
14461
|
interface OptionsOverrides {
|
|
14463
14462
|
overrides?: TypedFlatConfigItem["rules"];
|
|
14464
14463
|
}
|
package/dist/utils/combine.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Awaitable } from 'eslint-flat-config-utils';
|
|
2
|
-
import { T as TypedFlatConfigItem } from '../types-
|
|
2
|
+
import { T as TypedFlatConfigItem } from '../types-CHy285SF.js';
|
|
3
3
|
import '@nx/eslint-plugin/src/utils/runtime-lint-utils';
|
|
4
4
|
import '@stylistic/eslint-plugin';
|
|
5
5
|
import '@typescript-eslint/parser';
|
package/package.json
CHANGED