declaremodule'eslint-define-config'{exportinterfaceCustomRuleOptions{/*** Require consistently using either `T[]` or `Array<T>` for arrays.**@see[array-type](https://typescript-eslint.io/rules/array-type)*/'@typescript-eslint/array-type':[{default?:'array'|'generic'|'array-simple';re...
TypeScriptRules// { '@typescript-eslint/indent': 'error', ... }}from'@antfu/eslint-define-config'typeRenamedRules = RenamePrefix<TypeScriptRules,'@typescript-eslint/','ts/'>// { 'ts/indent': 'error', ... } This way it could work for Flat Config plugin renaming: importpluginType...
eslint-define-config Provide a defineConfig function for .eslintrc.js, and a defineFlatConfig function for eslint.config.js files. Installation # add eslint and eslint-define-config to project’s dev dependencies npm add --save-dev eslint eslint-define-config # or yarn add --dev eslint...
针对你遇到的错误“error @antfu/eslint-define-config@1.23.0-2: the engine 'node' is incompatible”,我们可以按照以下步骤进行排查和解决: 确认错误信息的完整内容: 错误信息提示“the engine 'node' is incompatible”,意味着当前安装的Node.js版本与@antfu/eslint-define-config@1.23.0-2包不兼容。 分析错...
Actions: eslint-types/eslint-define-configActions All workflows CI Publish Management Caches Attestations All workflows Showing runs from all workflows 807 workflow runs Event Status Branch Actor Update eslint (major) CI #2272: Pull request #286 synchronize by renovate bot renovate/major-es...
2 "name": "@antfu/eslint-define-config", 3 "version": "1.23.0-2", 4 "description": "Provide a defineConfig function for .eslintrc.js files", 5 "type": "module", 6 "main": "dist/index.cjs", 7 "module": "dist/index.js", ...
Provide a defineConfig function for .eslintrc.js files. Latest version: 1.0.1, last published: a year ago. Start using @monousoooo/eslint-define-config in your project by running `npm i @monousoooo/eslint-define-config`. There is 1 other project in the n
我的个人项目的可共享ESLint配置。 安装 安装此软件包,ESLint和必要的插件。 npm install --save-dev @electerious/eslint-config eslint eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-import eslint-plugin-react-native 用法 在项目的根文件夹中创建一个名为.eslintrc.json的文件, .eslin...
Description The dependency eslint-define-config is no longer required, since eslint v9. typescript-eslint ships with their own defineConfig function. Others Found in #3106. chore(tooling): install...
"eslint-define-config": "^1.0.2", "eslint-define-config": "^1.0.3", "eslint-plugin-import": "^2.22.1", "eslint-plugin-jsdoc": "^32.3.0", "eslint-plugin-prefer-arrow": "^1.2.3", 0 comments on commit 1c270bc Please sign in to comment. Footer...