Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Pessimistress committed Feb 4, 2024
1 parent 151e621 commit d5accde
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ const {getESLintConfig} = require('ocular-dev-tools/configuration');
module.exports = getESLintConfig({
react: '18.0.0',
overrides: {
parser: '',
parserOptions: {
project: ['./tsconfig.json'],
ecmaVersion: 2020
Expand Down Expand Up @@ -41,7 +42,7 @@ module.exports = getESLintConfig({

overrides: [
{
files: ['**/*.ts', '**/*.tsx', '**/*.d.ts'],
files: ['**/*.js', '**/*.ts', '**/*.tsx', '**/*.d.ts'],
rules: {
indent: 0,
// For parquet module
Expand Down
9 changes: 8 additions & 1 deletion modules/core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,14 @@ export {default as OrthographicViewport} from './viewports/orthographic-viewport
export {default as FirstPersonViewport} from './viewports/first-person-viewport';

// Shader modules
export {picking, project, project32, gouraudLighting, phongLighting, shadow} from './shaderlib/index';
export {
picking,
project,
project32,
gouraudLighting,
phongLighting,
shadow
} from './shaderlib/index';

export {default as View} from './views/view';
export {default as MapView} from './views/map-view';
Expand Down
8 changes: 7 additions & 1 deletion modules/geo-layers/src/terrain-layer/terrain-layer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,13 @@ import {COORDINATE_SYSTEM} from '@deck.gl/core';
import type {MeshAttributes} from '@loaders.gl/schema';
import {TerrainWorkerLoader} from '@loaders.gl/terrain';
import TileLayer, {TileLayerProps} from '../tile-layer/tile-layer';
import type {Bounds, GeoBoundingBox, TileBoundingBox, TileLoadProps, ZRange} from '../tileset-2d/index';
import type {
Bounds,
GeoBoundingBox,
TileBoundingBox,
TileLoadProps,
ZRange
} from '../tileset-2d/index';
import {Tile2DHeader, urlType, getURLFromTemplate, URLTemplate} from '../tileset-2d/index';

const DUMMY_DATA = [1];
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.build.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{"path": "modules/extensions"},
{"path": "modules/geo-layers"},
{"path": "modules/google-maps"},
// {"path": "modules/json"},
{"path": "modules/json"},
// {"path": "modules/jupyter-widget"},
{"path": "modules/layers"},
{"path": "modules/main"},
Expand Down

0 comments on commit d5accde

Please sign in to comment.