Skip to content

Update eslint and evaluate babel needing #11670

@offtherailz

Description

@offtherailz

Description

Our current version of eslint is very old and is a constrant for productivity (automation and checks) expecially for JSON parsing that have to be done manually.

Here the version support: https://eslint.org/version-support/

We need to find a way to updated it.
we need aslo to evaluate babel needing, because now espree works better with prettier etc..

(to use the branch here you need to:

cd utility/eslint/
npm link
cd ../..
npm link @mapstore/eslint-config-mapstore

The branch contains only partial work.
Need to (not complete list):

  • Clean up rules to adhere as much as possible to new standards
  • Fix new issues found on lint (not committed to avoid conflicts)
  • Update project creation
  • Properly test all features
  • Update extension project too
  • Migration guidelines

What kind of improvement you want to add? (check one with "x", remove the others)

  • Minor changes to existing features
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

Other useful information

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions