Sha256: 0e1ba07b5f8147d55e3d1f5b46471be2e04b0775fefe43e05d8a3765dcb62161

Contents?: true

Size: 704 Bytes

Versions: 22

Compression:

Stored size: 704 Bytes

Contents

/** @type {import("@types/eslint").Linter.Config */

import globals from "globals";
import js from "@eslint/js";
import eslintPluginPrettierRecommended from "eslint-plugin-prettier/recommended";

export default [
  js.configs.recommended,
  eslintPluginPrettierRecommended,
  {
    languageOptions: {
      ecmaVersion: 2022,
      sourceType: "module",
      globals: {
        ...globals.browser,
        ...globals.es2021,
      },
    },
    rules: {
      "no-unused-vars": [
        "error",
        {
          args: "after-used",
          argsIgnorePattern: "^_",
          varsIgnorePattern: "^_",
        },
      ],
      "no-var": "error",
      "prettier/prettier": "error",
    },
  },
];

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
nextgen-0.31.0 template/eslint.config.js
nextgen-0.30.0 template/eslint.config.js
nextgen-0.29.0 template/eslint.config.js
nextgen-0.28.2 template/eslint.config.js
nextgen-0.28.1 template/eslint.config.js
nextgen-0.28.0 template/eslint.config.js
nextgen-0.27.1 template/eslint.config.js
nextgen-0.27.0 template/eslint.config.js
nextgen-0.26.0 template/eslint.config.js
nextgen-0.25.0 template/eslint.config.js
nextgen-0.24.0 template/eslint.config.js
nextgen-0.23.0 template/eslint.config.js
nextgen-0.22.0 template/eslint.config.js
nextgen-0.21.0 template/eslint.config.js
nextgen-0.20.0 template/eslint.config.js
nextgen-0.19.0 template/eslint.config.js
nextgen-0.18.0 template/eslint.config.js
nextgen-0.17.1 template/eslint.config.js
nextgen-0.17.0 template/eslint.config.js
nextgen-0.16.0 template/eslint.config.js