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