eslint-config-recombix

An awesome ESLint configuration for writing solid, quality code in Node.js and the browser.

MIT 35 个版本
安装
npm install eslint-config-recombix
yarn add eslint-config-recombix
pnpm add eslint-config-recombix
bun add eslint-config-recombix
README

eslint-config-recombix

An awesome ESLint configuration for writing solid, quality code in Node.js and the browser.

Why This Module Exists

This module exists to help developers to write code that is understandable and easy to maintain. The linting rules are deliberately opinionated to encourage developers to write code that is easy to read, easy to reason about, and easy to understand for newcomers.

Latest Standards

The module will be kept up-to-date with the latest ECMAScript standards in line with the functionality that Node.js supports. If you wish to use this config whilst developing for legacy browsers it's recommended you use a transpiler such as Babel to convert your code from ES2015+ to ES5.

Basic Usage

Add the following development dependencies into your project's package.json:

"devDependencies": {
	"babel-eslint": "latest",
	"eslint": "latest",
	"eslint-config-recombix": "latest",
	"eslint-config-vue": "latest",
	"eslint-plugin-disable": "latest",
	"eslint-plugin-filenames": "latest",
	"eslint-plugin-html": "latest",
	"eslint-plugin-json": "latest",
	"eslint-plugin-node": "latest",
	"eslint-plugin-promise": "latest",
	"eslint-plugin-vue": "latest"
},

You should also set the Node version you plan to use for your project, for example:

"engines": {
	"node" : ">=7.5 < 8.0"  // <-- Example!
}
版本列表
0.5.7 2019-05-18
0.5.6 2019-05-11
0.5.5 2019-05-07
0.5.4 2019-04-02
0.5.3 2019-01-02
0.5.2 2019-01-02
0.5.1 2019-01-02
0.5.0 2019-01-02
0.4.6 2018-12-18
0.4.5 2018-12-18
0.4.4 2018-12-12
0.4.3 2018-12-12
0.4.2 2018-12-12
0.4.1 2018-11-14
0.4.0 2018-10-19
0.3.11 2018-01-23
0.3.9 2018-01-22
0.3.8 2017-12-01
0.3.7 2017-11-20
0.3.6 2017-11-20
0.3.5 2017-11-20
0.3.4 2017-11-20
0.3.3 2017-11-14
0.3.2 2017-11-14
0.3.1 2017-11-14
0.3.0 2017-11-14
0.2.6 2017-11-09
0.2.5 2017-03-13
0.2.4 2017-03-10
0.2.3 2017-02-24
0.2.2 2017-02-19
0.2.1 2017-02-17
0.2.0 2017-02-17
0.1.12 2017-02-17
0.1.11 2017-02-17