diff --git a/examples/custom-map-style/src/app.js b/examples/custom-map-style/src/app.tsx similarity index 100% rename from examples/custom-map-style/src/app.js rename to examples/custom-map-style/src/app.tsx diff --git a/examples/custom-map-style/src/main.js b/examples/custom-map-style/src/main.tsx similarity index 100% rename from examples/custom-map-style/src/main.js rename to examples/custom-map-style/src/main.tsx diff --git a/examples/custom-map-style/src/store.js b/examples/custom-map-style/src/store.ts similarity index 100% rename from examples/custom-map-style/src/store.js rename to examples/custom-map-style/src/store.ts diff --git a/examples/custom-map-style/webpack.config.js b/examples/custom-map-style/webpack.config.js index a01d7fee07..df606bc75c 100644 --- a/examples/custom-map-style/webpack.config.js +++ b/examples/custom-map-style/webpack.config.js @@ -29,7 +29,7 @@ const webpack = require('webpack'); const CONFIG = { // bundle app.js and everything it imports, recursively. entry: { - app: resolve('./src/main.js') + app: resolve('./src/main.tsx') }, output: { path: resolve(__dirname, 'build'), diff --git a/package.json b/package.json index 311b56fc81..a6686ac7b0 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "typedoc": "typedoc --theme markdown --out typedoc --inputFiles ./src/reducers --inputFiles ./src/actions --excludeExternals --excludeNotExported --excludePrivate", "example-version": "babel-node ./scripts/edit-version.js", "prettier-all": "prettier --write '{src,examples,test}/**/*.{js,tsx,ts}'", - "lint": "yarn typescript && eslint src test webpack examples/*.js examples/**/src website/*.js website/src --fix", + "lint": "yarn typescript && eslint src test webpack examples/*.js examples/**/src/*.{js,tsx,ts} website/*.js website/src --fix", "lint:css": "stylelint './src/**/*.js'", "typescript": "tsc --noEmit", "web": "(yarn && yarn install:web && yarn start:web)",