Wrong indents in stryker.conf.js file after stryker init command
See original GitHub issueHi!
Right after stryker init
command executed successfully I get this code in stryker.conf.js
:
svlad at sharikovvlad in ~/sandbox/test-stryker
$ cat stryker.conf.js
module.exports = function(config){
config.set(
{
"files": [
{
"pattern": "src/**/*.js",
"mutated": true,
"included": false
},
"test/**/*.js"
],
"testRunner": "jest",
"reporter": [
"clear-text",
"progress"
],
"coverageAnalysis": "all"
}
);
}
svlad at sharikovvlad in ~/sandbox/test-stryker
$
All indents are saved.
Why don’t you use some format tool when creating the config file?
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Make stryker config file mandatory · Issue #390 - GitHub
Running stryker with command line options won't read a stryker.conf.js file. This results in unexpacted behavior, for example:.
Read more >stryker-mutator/core/CHANGELOG.md - UNPKG
The CDN for @stryker-mutator/core. ... 1434, * **init command:** indent "stryker.conf.js" file after "stryker init" ...
Read more >stryker | Yarn - Package Manager
By default, Stryker will look for a stryker.conf.js file in the current working directory (if it exists). This can be overridden by specifying...
Read more >stryker-mutator/stryker - Gitter
How do we setup stryker for both angular and node js if they're in the same folder. Can i add two configs to...
Read more >How do I fix incorrect inline Javascript indentation in Vim?
It does the same if I re-indent the whole file. How do I get it to automatically indent using the more standard JS...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@sharikovvladislav It works like a charm! Thanks for the hard work!
@nicojs ok, done.