Skip to content

bishalspkt/geojson-app

Repository files navigation

geojson.app

This repository hosts react frontend for geojson.app. This app using MapLibre as a base map, and allows import, manipulation, and export of various Geographical data types, including JSON

Getting Started

In order to get started run the following

# Install dependencies
npm installl

# Start server in dev mode
npm run dev

For other options see package.json

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:

  • Configure the top-level parserOptions property like this:
export default {
  // other rules...
  parserOptions: {
    ecmaVersion: 'latest',
    sourceType: 'module',
    project: ['./tsconfig.json', './tsconfig.node.json'],
    tsconfigRootDir: __dirname,
  },
}
  • Replace plugin:@typescript-eslint/recommended to plugin:@typescript-eslint/recommended-type-checked or plugin:@typescript-eslint/strict-type-checked
  • Optionally add plugin:@typescript-eslint/stylistic-type-checked
  • Install eslint-plugin-react and add plugin:react/recommended & plugin:react/jsx-runtime to the extends list