mirror of
https://github.com/ezolenko/rollup-plugin-typescript2.git
synced 2025-12-08 19:06:16 +00:00
- linting
This commit is contained in:
parent
67bd6d258d
commit
7a815cf685
@ -22,7 +22,7 @@ export class LanguageServiceHost implements ts.LanguageServiceHost
|
||||
{
|
||||
fileName = this.normalize(fileName);
|
||||
|
||||
let snapshot = ts.ScriptSnapshot.fromString(data);
|
||||
const snapshot = ts.ScriptSnapshot.fromString(data);
|
||||
this.snapshots[fileName] = snapshot;
|
||||
this.versions[fileName] = (this.versions[fileName] || 0) + 1;
|
||||
return snapshot;
|
||||
|
||||
@ -13,4 +13,4 @@ export interface ICache <DataType>
|
||||
touch(name: string): void;
|
||||
|
||||
roll(): void;
|
||||
};
|
||||
}
|
||||
|
||||
@ -19,8 +19,8 @@
|
||||
"max-line-length": [false],
|
||||
"object-literal-sort-keys": false,
|
||||
"curly": false,
|
||||
"ordered-imports": [],
|
||||
"only-arrow-functions": [],
|
||||
"ordered-imports": [ false ],
|
||||
"only-arrow-functions": [ false ],
|
||||
"class-name": true
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user