Skip to content

Commit b280acd

Browse files
committed
Fix spelling of “TypeScript”
1 parent e62011f commit b280acd

File tree

10 files changed

+19
-19
lines changed

10 files changed

+19
-19
lines changed

.travis.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ matrix:
6565

6666
fast_finish: true
6767
allow_failures:
68-
# issues with typescript deps in this version intersection
68+
# issues with TypeScript deps in this version intersection
6969
- node_js: '4'
7070
env: ESLINT_VERSION=4
7171

CHANGELOG.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
1313

1414
### Fixed
1515
- `default`: make error message less confusing ([#1470], thanks [@golopot])
16-
- Support export of a merged typescript namespace declaration ([#1495], thanks [@benmunro])
16+
- Support export of a merged TypeScript namespace declaration ([#1495], thanks [@benmunro])
1717
- [`import/order`]: fix autofix to not move imports across fn calls ([#1253], thanks [@tihonove])
1818

1919
## [2.18.2] - 2019-07-19
@@ -25,7 +25,7 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
2525
- Improve parse perf when using `@typescript-eslint/parser` ([#1409], thanks [@bradzacher])
2626
- [`prefer-default-export`]: don't warn on TypeAlias & TSTypeAliasDeclaration ([#1377], thanks [@sharmilajesupaul])
2727
- [`no-unused-modules`]: Exclude package "main"/"bin"/"browser" entry points ([#1404], thanks [@rfermann])
28-
- [`export`]: false positive for typescript overloads ([#1412], thanks [@golopot])
28+
- [`export`]: false positive for TypeScript overloads ([#1412], thanks [@golopot])
2929

3030
### Refactors
3131
- [`no-extraneous-dependencies`], `importType`: remove lodash ([#1419], thanks [@ljharb])
@@ -36,7 +36,7 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
3636
- Support eslint v6 ([#1393], thanks [@sheepsteak])
3737
- [`order`]: Adds support for correctly sorting unknown types into a single group ([#1375], thanks [@swernerx])
3838
- [`order`]: add fixer for destructuring commonjs import ([#1372], thanks [@golopot])
39-
- typescript config: add TS def extensions + defer to TS over JS ([#1366], thanks [@benmosher])
39+
- TypeScript config: add TS def extensions + defer to TS over JS ([#1366], thanks [@benmosher])
4040

4141
### Fixed
4242
- [`no-unused-modules`]: handle ClassDeclaration ([#1371], thanks [@golopot])
@@ -54,7 +54,7 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
5454
- [`no-unused-modules`]: make appveyor tests passing ([#1333], thanks [@rfermann])
5555
- [`named`]: ignore Flow `typeof` imports and `type` exports ([#1345], thanks [@loganfsmyth])
5656
- [refactor] fix eslint 6 compat by fixing imports (thank [@ljharb])
57-
- Improve support for Typescript declare structures ([#1356], thanks [@christophercurrie])
57+
- Improve support for TypeScript declare structures ([#1356], thanks [@christophercurrie])
5858

5959
### Docs
6060
- add missing `no-unused-modules` in README ([#1358], thanks [@golopot])
@@ -79,7 +79,7 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
7979
- [`no-useless-path-segments`]: Add `noUselessIndex` option ([#1290], thanks [@timkraut])
8080
- [`no-duplicates`]: Add autofix ([#1312], thanks [@lydell])
8181
- Add [`no-unused-modules`] rule ([#1142], thanks [@rfermann])
82-
- support export type named exports from typescript ([#1304], thanks [@bradennapier] and [@schmod])
82+
- support export type named exports from TypeScript ([#1304], thanks [@bradennapier] and [@schmod])
8383

8484
### Fixed
8585
- [`order`]: Fix interpreting some external modules being interpreted as internal modules ([#793], [#794] thanks [@ephys])
@@ -88,11 +88,11 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
8888
- [`namespace`]: add check for null ExportMap ([#1235], [#1144], thanks [@ljqx])
8989
- [ExportMap] fix condition for checking if block comment ([#1234], [#1233], thanks [@ljqx])
9090
- Fix overwriting of dynamic import() CallExpression ([`no-cycle`], [`no-relative-parent-import`], [`no-unresolved`], [`no-useless-path-segments`]) ([#1218], [#1166], [#1035], thanks [@vikr01])
91-
- [`export`]: false positives for typescript type + value export ([#1319], thanks [@bradzacher])
92-
- [`export`]: Support typescript namespaces ([#1320], [#1300], thanks [@bradzacher])
91+
- [`export`]: false positives for TypeScript type + value export ([#1319], thanks [@bradzacher])
92+
- [`export`]: Support TypeScript namespaces ([#1320], [#1300], thanks [@bradzacher])
9393

9494
### Docs
95-
- Update readme for Typescript ([#1256], [#1277], thanks [@kirill-konshin])
95+
- Update readme for TypeScript ([#1256], [#1277], thanks [@kirill-konshin])
9696
- make rule names consistent ([#1112], thanks [@feychenie])
9797

9898
### Tests

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ rules:
152152
# etc...
153153
```
154154

155-
# Typescript
155+
# TypeScript
156156

157157
You may use the following shortcut or assemble your own config using the granular settings described below.
158158

src/rules/export.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import docsUrl from '../docsUrl'
33
import includes from 'array-includes'
44

55
/*
6-
Notes on Typescript namespaces aka TSModuleDeclaration:
6+
Notes on TypeScript namespaces aka TSModuleDeclaration:
77
88
There are two forms:
99
- active namespaces: namespace Foo {} / module Foo {}
@@ -86,7 +86,7 @@ module.exports = {
8686
if (node.declaration == null) return
8787

8888
const parent = getParent(node)
89-
// support for old typescript versions
89+
// support for old TypeScript versions
9090
const isTypeVariableDecl = node.declaration.kind === 'type'
9191

9292
if (node.declaration.id != null) {

tests/dep-time-travel.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44

55
npm install --no-save eslint@$ESLINT_VERSION --ignore-scripts || true
66

7-
# completely remove the new typescript parser for ESLint < v5
7+
# completely remove the new TypeScript parser for ESLint < v5
88
if [[ "$ESLINT_VERSION" -lt "5" ]]; then
99
echo "Removing @typescript-eslint/parser..."
1010
npm uninstall --no-save @typescript-eslint/parser
1111
fi
1212

13-
# use these alternate typescript dependencies for ESLint < v4
13+
# use these alternate TypeScript dependencies for ESLint < v4
1414
if [[ "$ESLINT_VERSION" -lt "4" ]]; then
1515
echo "Downgrading babel-eslint..."
1616
npm i --no-save [email protected]

tests/src/rules/export.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ ruleTester.run('export', rule, {
108108
})
109109

110110

111-
context('Typescript', function () {
111+
context('TypeScript', function () {
112112
getTSParsers().forEach((parser) => {
113113
const parserConfig = {
114114
parser: parser,

tests/src/rules/named.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ ruleTester.run('named (export *)', rule, {
282282
})
283283

284284

285-
context('Typescript', function () {
285+
context('TypeScript', function () {
286286
getTSParsers().forEach((parser) => {
287287
['typescript', 'typescript-declare', 'typescript-export-assign', 'typescript-export-assign-merged'].forEach((source) => {
288288
ruleTester.run(`named`, rule, {

tests/src/rules/no-deprecated.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ ruleTester.run('no-deprecated: hoisting', rule, {
198198
],
199199
})
200200

201-
describe('Typescript', function () {
201+
describe('TypeScript', function () {
202202
getTSParsers().forEach((parser) => {
203203
const parserConfig = {
204204
parser: parser,

tests/src/rules/prefer-default-export.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ ruleTester.run('prefer-default-export', rule, {
142142
],
143143
})
144144

145-
context('Typescript', function() {
145+
context('TypeScript', function() {
146146
getNonDefaultParsers().forEach((parser) => {
147147
const parserConfig = {
148148
parser: parser,

utils/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ This change log adheres to standards from [Keep a CHANGELOG](http://keepachangel
99

1010
### Fixed
1111
- Improve parse perf when using `@typescript-eslint/parser` ([#1409], thanks [@bradzacher])
12-
- Improve support for Typescript declare structures ([#1356], thanks [@christophercurrie])
12+
- Improve support for TypeScript declare structures ([#1356], thanks [@christophercurrie])
1313

1414
## v2.4.0 - 2019-04-13
1515

0 commit comments

Comments
 (0)