安装
npm install eslint-config-meetic
yarn add eslint-config-meetic
pnpm add eslint-config-meetic
bun add eslint-config-meetic
README

eslint-config-meetic

NPM version Build Status Code Climate

A set of configurable ESLint configurations used in Meetic projects.

Installation

Install this config package and ESLint:

$ npm install --save-dev eslint-config-meetic

Usage

This set of configs is meant to be extended on a per-project basis as necessary using ESLint's shareable configs feature. For more details about how shareable configs work, see the ESLint documentation.

This package includes the following full configurations:

  • meetic - The default ES6 config
  • meetic/configurations/es5 - The default ES5 config
  • meetic/configurations/es6 - The default ES6 config

The default configuration assumes ECMAScript-6. To extend a config in ESLint just add the extends attribute to your .eslintrc:

{
  "extends": "meetic"
}

If your project is written in ECMAScript-5, you can extend with the ES5 subset of configuration:

{
  "extends": "meetic/configurations/es5"
}

This ruleset enforces neither env nor globals settings. They are meant to be set individually on every project.

License

MIT License

版本列表
5.0.1 2017-08-17
5.0.0 2017-08-17
4.0.0 2016-12-12
3.0.0 2016-11-28
2.0.0 2016-02-22
0.1.2 2016-01-19
0.1.1 2015-10-09
0.1.0 2015-10-09
0.0.4 2015-07-31