File tree Expand file tree Collapse file tree 3 files changed +17
-18
lines changed
test/samples/typescript-block-filenames Expand file tree Collapse file tree 3 files changed +17
-18
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ export class DocumentMapper {
135
135
/**
136
136
* Get the offset of the line and character position
137
137
* @param position Line and character position
138
- * @param text The text for which the offset should be retrived
138
+ * @param text The text for which the offset should be retrieved
139
139
*/
140
140
function offset_at ( position , text ) {
141
141
const line_offsets = get_line_offsets ( text ) ;
Original file line number Diff line number Diff line change 1
1
import { new_block , get_translation } from './block.js' ;
2
2
import { processor_options } from './processor_options.js' ;
3
3
import { state } from './state.js' ;
4
- import { DocumentMapper } from './mapping' ;
4
+ import { DocumentMapper } from './mapping.js ' ;
5
5
6
6
let default_compiler ;
7
7
Original file line number Diff line number Diff line change @@ -3,26 +3,25 @@ module.exports = {
3
3
extends : [ 'plugin:@typescript-eslint/recommended' ] ,
4
4
plugins : [ '@typescript-eslint' ] ,
5
5
overrides : [
6
- {
7
- files : [ '**/*.svelte/*_template.ts' ] ,
8
- rules : {
9
- curly : 'off' ,
6
+ {
7
+ files : [ '**/*.svelte/*_template.ts' ] ,
8
+ rules : {
9
+ curly : 'off' ,
10
+ } ,
10
11
} ,
11
- } ,
12
- {
13
- files : [ '**/*.svelte/*_module.ts' ] ,
14
- rules : {
15
- 'no-undef' : 'off' ,
12
+ {
13
+ files : [ '**/*.svelte/*_module.ts' ] ,
14
+ rules : {
15
+ 'no-undef' : 'off' ,
16
+ } ,
16
17
} ,
17
- } ,
18
18
] ,
19
19
settings : {
20
- 'svelte3/typescript' : require ( 'typescript' ) ,
21
- 'svelte3/named-blocks' : true ,
20
+ 'svelte3/typescript' : require ( 'typescript' ) ,
21
+ 'svelte3/named-blocks' : true ,
22
22
} ,
23
23
rules : {
24
- curly : 'error' ,
25
- 'no-undef' : 'error' ,
24
+ curly : 'error' ,
25
+ 'no-undef' : 'error' ,
26
26
} ,
27
- } ;
28
-
27
+ } ;
You can’t perform that action at this time.
0 commit comments