Skip to content

Commit beb9d0b

Browse files
committed
Update scopes to source.tsx
Closes #673
1 parent 729b552 commit beb9d0b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

dist/linter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ var fs = require('fs');
33
var atom_1 = require("atom");
44
exports.provider = {
55
name: 'TS',
6-
grammarScopes: ['source.ts', 'source.ts.tsx'],
6+
grammarScopes: ['source.ts', 'source.tsx'],
77
scope: 'file',
88
lintOnFly: true,
99
lint: function (textEditor) {

dist/main/atom/autoCompleteProvider.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function triggerAutocompletePlus() {
1111
}
1212
exports.triggerAutocompletePlus = triggerAutocompletePlus;
1313
exports.provider = {
14-
selector: '.source.ts',
14+
selector: '.source.ts, .source.tsx',
1515
inclusionPriority: 3,
1616
suggestionPriority: 3,
1717
excludeLowerPriority: false,

lib/linter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ interface LinterMessage {
2020

2121
export var provider = {
2222
name: 'TS',
23-
grammarScopes: ['source.ts', 'source.ts.tsx'],
23+
grammarScopes: ['source.ts', 'source.tsx'],
2424
scope: 'file', // # or 'project'
2525
lintOnFly: true, // # must be false for scope: 'project'
2626
lint: (textEditor: AtomCore.IEditor): Promise<LinterMessage[]> => {

lib/main/atom/autoCompleteProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ interface SnippetsContianer {
7979
}
8080

8181
export var provider: autocompleteplus.Provider = {
82-
selector: '.source.ts',
82+
selector: '.source.ts, .source.tsx',
8383
inclusionPriority: 3,
8484
suggestionPriority: 3,
8585
excludeLowerPriority: false,

0 commit comments

Comments
 (0)