@baic/yolk-cli 2.1.0-alpha.139 → 2.1.0-alpha.140

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.
@@ -27,14 +27,14 @@ const isStrict = yolkConfig.strict !== false;
27
27
  const prettierCLI = 'prettier --write';
28
28
  const eslintCLI = `eslint --fix ${
29
29
  isStrict ? '--no-inline-config' : ''
30
- } --no-error-on-unmatched-pattern --config ${getEsLintConfigPath()} --ignore-pattern ${defaultIgnore.join(
31
- ',',
32
- )}`;
30
+ } --no-error-on-unmatched-pattern --config ${getEsLintConfigPath()} ${defaultIgnore
31
+ .map((i) => `--ignore-pattern ${i}`)
32
+ .join(' ')}`;
33
33
  const stylelintCLI = `stylelint --fix ${
34
34
  isStrict ? '--ignore-disables' : ''
35
- } '--allow-empty-input' --config ${getStyleLintConfigPath()} --ignore-pattern ${defaultIgnore.join(
36
- ',',
37
- )}`;
35
+ } '--allow-empty-input' --config ${getStyleLintConfigPath()} ${defaultIgnore
36
+ .map((i) => `--ignore-pattern ${i}`)
37
+ .join(' ')}`;
38
38
 
39
39
  const config = {
40
40
  '*.{md,json}': [prettierCLI],
@@ -27,14 +27,14 @@ const isStrict = yolkConfig.strict !== false;
27
27
  const prettierCLI = 'prettier --write';
28
28
  const eslintCLI = `eslint --fix ${
29
29
  isStrict ? '--no-inline-config' : ''
30
- } --no-error-on-unmatched-pattern --config ${getEsLintConfigPath()} --ignore-pattern ${defaultIgnore.join(
31
- ',',
32
- )}`;
30
+ } --no-error-on-unmatched-pattern --config ${getEsLintConfigPath()} ${defaultIgnore
31
+ .map((i) => `--ignore-pattern ${i}`)
32
+ .join(' ')}`;
33
33
  const stylelintCLI = `stylelint --fix ${
34
34
  isStrict ? '--ignore-disables' : ''
35
- } '--allow-empty-input' --config ${getStyleLintConfigPath()} --ignore-pattern ${defaultIgnore.join(
36
- ',',
37
- )}`;
35
+ } '--allow-empty-input' --config ${getStyleLintConfigPath()} ${defaultIgnore
36
+ .map((i) => `--ignore-pattern ${i}`)
37
+ .join(' ')}`;
38
38
 
39
39
  const config = {
40
40
  '*.{md,json}': [prettierCLI],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@baic/yolk-cli",
3
- "version": "2.1.0-alpha.139",
3
+ "version": "2.1.0-alpha.140",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/303394539/yolk.git"
@@ -51,5 +51,5 @@
51
51
  "publishConfig": {
52
52
  "access": "public"
53
53
  },
54
- "gitHead": "570906752728875373fe275f75f8af47902cbcc5"
54
+ "gitHead": "a16db56fecd0204faeed5f94283830c75190fbf2"
55
55
  }