Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dgchrt/eslint-config-classic

ESlint rules for classic-style JavaScript
https://github.com/dgchrt/eslint-config-classic

accessibility braces classic config eslint indentation javascript lint linter linting padding perfect pretty quotes readability rules semicolons standard tabs

Last synced: about 2 months ago
JSON representation

ESlint rules for classic-style JavaScript

Awesome Lists containing this project

README

        

[![code style](https://img.shields.io/badge/code_style-classic-blue.svg)](http://diogoeichert.github.io/eslint-config-classic)
[![downloads](https://img.shields.io/npm/dt/eslint-config-classic.svg)](https://www.npmjs.com/package/eslint-config-classic)
[![license](https://img.shields.io/github/license/diogoeichert/eslint-config-classic.svg)](LICENSE)
[![npm version](https://img.shields.io/npm/v/eslint-config-classic.svg)](https://www.npmjs.com/package/eslint-config-classic)

![classic logo](./classic.jpg)

# Classic (eslint-config-classic)
Classic-style [ESlint](https://eslint.org) rules for JavaScript.

## Run
```shell
npx eslint-config-classic
```

## Install
```shell
npm install --save-dev eslint-config-classic
```

## Usage
### Standalone
Add a `lint` script in `package.json`:
```json
"scripts": {
"lint": "eslint-config-classic"
}
```
### Existing Configuration
Extend `classic` from your existing `.eslintrc.js` file:
```js
module.exports = {
"extends": "classic"
};
```