npm install npm run lint npm run test npm run docs:dev # navigate to the URL provided by Vitepress Readme Keywords eslint config eslintconfig eslint-configPackage Sidebar Install npm i eslint-config-simplesense
// eslint.config.mjsimport{base}from'eslint-config-ali';exportdefault[...base]; React JavaScript/TypeScript 项目 针对JS React 项目,继承了默认配置,并启用了eslint-plugin-react和eslint-plugin-react-hooks的规则。 ESLint 配置: // eslint.config.mjsimport{react}from'eslint-config-ali';exportdefa...
eslint.config.cjs: consttencentEslintConfig=require('@tencent/eslint-config-tencent/flat');module.exports=tencentEslintConfig({tsconfigRootDir:__dirname,}); Orange-ci 插件 增量检查 master:merge_request: -stages: -name:make changelisttype:git:changeListoptions:changed:changed.txt-name:git diff es...
importvuetifyfrom'eslint-config-vuetify';exportdefaultvuetify() Most features are automatically detected, but you can explicitly turn them on/off or customize them importvuetifyfrom'eslint-config-vuetify';exportdefaultvuetify({vue:true,ts:{preset:'all'}}) ...
这是因为eslint-plugin-standard版本不兼容。 解决方法: 将eslint-config-standard版本进行降级为^14.1.1: 代码语言:javascript 代码运行次数:0 运行 AI代码解释 npm i[emailprotected]/* <![CDATA[ */!function(t,e,r,n,c,a,p){try{t=document.currentScript||function(){for(t=document.getElementsByTagN...
My ESLint config. Latest version: 0.0.97, last published: 22 days ago. Start using @susisu/eslint-config in your project by running `npm i @susisu/eslint-config`. There are no other projects in the npm registry using @susisu/eslint-config.
The ultimate ESLint config - successor to Airbnb Config. Built on Anthony Fu's ESLint config, Airbnb, UnoCSS, Tailwind, JSX, ESLint Stylistic, Perfectionist, React, TypeScript, Astro,JSDocs(soon), Prettier*, Node.js, Unicorns, Promises, and more. ...
// eslint.config.ts import { skiyee } from '@skiyee/eslint-config' export default skiyee( { typescript: true, vue: true, }, // 自定义规则 { rules: { 'no-console': 'warn', 'style/semi': ['error', 'always'], }, }, // 为特定文件应用规则 { files: ['src/components/**/...
NiftyCo's TypeScript ESLint shared config. Latest version: 3.3.2, last published: 2 years ago. Start using eslint-config-nifty in your project by running `npm i eslint-config-nifty`. There are no other projects in the npm registry using eslint-config-nif
1) Setup regular Airbnb config Make sure you have the regular Airbnb config setup. If you are using React, useeslint-config-airbnb, or if you aren't using React, useeslint-config-airbnb-base. 2) Install dependencies (and peer dependencies) ...