|
1 | 1 | // Jest Snapshot v1, https://goo.gl/fbAQLP
|
2 | 2 |
|
3 |
| -exports[`pre-commit calls lint-staged CLI with default args 1`] = `lint-staged --config ./src/config/lintstagedrc.js`; |
4 |
| - |
5 |
| -exports[`pre-commit calls lint-staged CLI with default args 2`] = `npm run validate`; |
6 |
| - |
7 |
| -exports[`pre-commit does not use built-in config with .lintstagedrc file 1`] = `lint-staged`; |
8 |
| - |
9 |
| -exports[`pre-commit does not use built-in config with .lintstagedrc file 2`] = `npm run validate`; |
10 |
| - |
11 |
| -exports[`pre-commit does not use built-in config with --config 1`] = `lint-staged --config ./custom-config.js`; |
12 |
| - |
13 |
| -exports[`pre-commit does not use built-in config with --config 2`] = `npm run validate`; |
14 |
| - |
15 |
| -exports[`pre-commit does not use built-in config with lint-staged pkg prop 1`] = `lint-staged`; |
16 |
| - |
17 |
| -exports[`pre-commit does not use built-in config with lint-staged pkg prop 2`] = `npm run validate`; |
18 |
| - |
19 |
| -exports[`pre-commit does not use built-in config with lint-staged.config.js file 1`] = `lint-staged`; |
20 |
| - |
21 |
| -exports[`pre-commit does not use built-in config with lint-staged.config.js file 2`] = `npm run validate`; |
22 |
| - |
23 |
| -exports[`pre-commit forwards args 1`] = `lint-staged --config ./src/config/lintstagedrc.js --verbose`; |
24 |
| - |
25 |
| -exports[`pre-commit forwards args 2`] = `npm run validate`; |
| 3 | +exports[`pre-commit calls lint-staged CLI with default args 1`] = ` |
| 4 | +Array [ |
| 5 | + lint-staged --config ./src/config/lintstagedrc.js, |
| 6 | + npm run validate, |
| 7 | +] |
| 8 | +`; |
| 9 | + |
| 10 | +exports[`pre-commit does not run validate script if it's not defined 1`] = ` |
| 11 | +Array [ |
| 12 | + lint-staged --config ./src/config/lintstagedrc.js, |
| 13 | +] |
| 14 | +`; |
| 15 | + |
| 16 | +exports[`pre-commit does not use built-in config with .lintstagedrc file 1`] = ` |
| 17 | +Array [ |
| 18 | + lint-staged , |
| 19 | + npm run validate, |
| 20 | +] |
| 21 | +`; |
| 22 | + |
| 23 | +exports[`pre-commit does not use built-in config with --config 1`] = ` |
| 24 | +Array [ |
| 25 | + lint-staged --config ./custom-config.js, |
| 26 | + npm run validate, |
| 27 | +] |
| 28 | +`; |
| 29 | + |
| 30 | +exports[`pre-commit does not use built-in config with lint-staged pkg prop 1`] = ` |
| 31 | +Array [ |
| 32 | + lint-staged , |
| 33 | + npm run validate, |
| 34 | +] |
| 35 | +`; |
| 36 | + |
| 37 | +exports[`pre-commit does not use built-in config with lint-staged.config.js file 1`] = ` |
| 38 | +Array [ |
| 39 | + lint-staged , |
| 40 | + npm run validate, |
| 41 | +] |
| 42 | +`; |
| 43 | + |
| 44 | +exports[`pre-commit forwards args 1`] = ` |
| 45 | +Array [ |
| 46 | + lint-staged --config ./src/config/lintstagedrc.js --verbose, |
| 47 | + npm run validate, |
| 48 | +] |
| 49 | +`; |
0 commit comments