npm

@runjiapp/eslint-config

0.5.5 • Public • Published

eslint-config

JS 编码规范之 ESLint 配置文件

安装

npm i -D @runjiapp/eslint-config

使用

在你的 .eslintrc.js 文件中添加如下内容:

module.exports = {
	// ...
	extends: [
		'@runjiapp/eslint-config/preset/essential',
		'@runjiapp/eslint-config/preset/recommended',
		'@runjiapp/eslint-config/preset/stylistic',
		'@runjiapp/eslint-config/preset/vue/essential',
		'@runjiapp/eslint-config/preset/vue/recommended',
		'@runjiapp/eslint-config/preset/vue/stylistic',
	],
    // ...
}

Readme

Keywords

Package Sidebar

Install

npm i @runjiapp/eslint-config

Weekly Downloads

0

Version

0.5.5

License

ISC

Unpacked Size

20.7 kB

Total Files

30

Last publish

Collaborators

  • runji-team
  • cssmagic