BitPhinix/slate-yjs-example

Frontend not running on Windows machines

schlenger opened this issue · 1 comments

I'm getting the error [eslint] Delete 'cr' [prettier/prettier].

Expanding the ruleset for the eslint configuration fixed this for me:

rules: {
    '@typescript-eslint/no-non-null-assertion': 'off',
    '@typescript-eslint/no-explicit-any': 'off',
    'prettier/prettier': [
      'error',
      {
        endOfLine: 'auto',
      },
    ],
  },

Since I've already integrated the changes, I can open a PR if needed.

Also the build is not running since cp is not available on Windows machines. Is it best practice to overwrite the tsconfig.json file? The prebuild command looks like a hack to me.