bigbite / build-tools

MIT License
6 stars 1 forks source link

Alter eslint config to not use function #97

Closed ampersarnie closed 1 year ago

ampersarnie commented 1 year ago

Description

An issue where ESLint config is not able to load in an editor such as VSCode due to the nature of using a function for compiling the config and linting config not being able to be set. Despite this, linting worked and the issue was not affecting build runs.

Additional config is required for having ESLint running within the editor experience and a package.json needs to be configured using eslintConfig properties:

{
  "name": "my-package",
  "version": "1.0.0",
  "eslintConfig": {
    "extends": "./node_modules/@bigbite/build-tools/configs/eslint",
  },
  "dependencies": {}
}

Change Log