Skip to content

Commit

Permalink
feat(sandbox): add ignore header to js files (#2291)
Browse files Browse the repository at this point in the history
Add an ignore header to each js (or friend) file in the sandbox. This should allow files to be transpiled no matter the contents. For more info, see #2276

The header now consists of:

```js
/* eslint-disable */
// @ts-nocheck
```

But we can later decide to include more ignore rules.
  • Loading branch information
nicojs authored Jul 4, 2020
1 parent 3918633 commit 3adde83
Show file tree
Hide file tree
Showing 24 changed files with 66 additions and 1,537 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ packages/*/test/**/*.js
packages/*/src/**/*.d.ts
packages/*/test/**/*.d.ts
packages/*/dist
e2e/test/*/dist
e2e/test/*/dist-test
.idea
*.iml
*.tmp.txt
Expand Down
3 changes: 2 additions & 1 deletion e2e/tasks/run-e2e-tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ const mutationSwitchingTempWhiteList = [
'karma-mocha',
'karma-jasmine',
'webpack-zero-conf-karma',
'vue-javascript'
'vue-javascript',
'karma-webpack-with-ts'
]

function runE2eTests() {
Expand Down
3 changes: 0 additions & 3 deletions e2e/test/karma-webpack-with-ts/debug.log

This file was deleted.

542 changes: 0 additions & 542 deletions e2e/test/karma-webpack-with-ts/dist-test/tsconfig.tsbuildinfo

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

62 changes: 0 additions & 62 deletions e2e/test/karma-webpack-with-ts/dist-test/unit/helpers/factory.js

This file was deleted.

This file was deleted.

Loading

0 comments on commit 3adde83

Please sign in to comment.