Provide a defineConfig function for .eslintrc.js files. Latest version: 2.1.0, last published: a year ago. Start using eslint-define-config in your project by running `npm i eslint-define-config`. There are 430 other projects in the npm registry using es
Provide a defineConfig function for .eslintrc.js files. Latest version: 1.23.0-2, last published: 11 days ago. Start using @antfu/eslint-define-config in your project by running `npm i @antfu/eslint-define-config`. There are 11 other projects in the npm
# add eslint and eslint-define-config to project’s dev dependencies npm add --save-dev eslint eslint-define-config # or yarn add --dev eslint eslint-define-config # or pnpm add --save-dev eslint eslint-define-config Usage By default only eslint's rules are supported. To activate...
In preparation for this, the project was moved into a new GitHub organization calledeslint-types. The v2 version is already available via the npm dist-tag "alpha". So if you already want to advance custom support with your own plugin, don't hold back and start incorporating it into your ...
接下来,你需要查找@antfu/eslint-define-config@1.23.0-2的package.json文件(通常可以在npm官网或GitHub仓库的package.json文件中找到),查看其engines字段中指定的Node.js版本范围。如果当前Node.js版本不在该范围内,则需要升级或降级Node.js。 根据需要调整node版本并验证是否解决了兼容性问题: 如果需要升级Node.js...
94 "npm-run-all": "~4.1.5", 95 "prettier": "3.0.3", 96 "prettier-plugin-organize-imports": "~3.2.3", 97 "rimraf": "~5.0.5", 98 "ts-dedent": "~2.2.0", 99 "tsup": "~7.2.0", 100 "tsx": "~3.13.0", ...
我的个人项目的可共享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...
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
#add eslint and eslint-define-config to project’s dev dependenciesnpm add --save-dev eslint eslint-define-config#oryarn add --dev eslint eslint-define-config#orpnpm add --save-dev eslint eslint-define-config Usage By default onlyeslint's rules are supported. To activate auto-suggestio...