launchrctl / web

Launchr Web plugin
Apache License 2.0
1 stars 2 forks source link

Added lint script and autofixer lint:fix #19

Closed koskinpark closed 3 months ago

koskinpark commented 3 months ago

Closes #18

iberdinsky-skilld commented 3 months ago

i've found that default refine eslint.cjs has much simpler config. probably later we can and need simplify it.

/* eslint-env node */

module.exports = {
  env: { browser: true, es2020: true },
  extends: [
    "eslint:recommended",
    "plugin:@typescript-eslint/recommended",
    "plugin:react-hooks/recommended",
  ],
  parser: "@typescript-eslint/parser",
  parserOptions: { ecmaVersion: "latest", sourceType: "module" },
  plugins: ["react-refresh"],
  rules: {
    "react-refresh/only-export-components": "warn",
  },
};

But not critical for now. let's merge and continue