Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/standard/eslint-config-standard
ESLint Config for JavaScript Standard Style
https://github.com/standard/eslint-config-standard
development ecmascript es6 eslint javascript linter nodejs standard static-code-analysis style-guide
Last synced: 5 days ago
JSON representation
ESLint Config for JavaScript Standard Style
- Host: GitHub
- URL: https://github.com/standard/eslint-config-standard
- Owner: standard
- License: mit
- Created: 2015-05-13T01:05:57.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-12-10T03:51:16.000Z (12 days ago)
- Last Synced: 2024-12-11T20:45:02.875Z (10 days ago)
- Topics: development, ecmascript, es6, eslint, javascript, linter, nodejs, standard, static-code-analysis, style-guide
- Language: TypeScript
- Homepage: https://standardjs.com
- Size: 691 KB
- Stars: 2,611
- Watchers: 41
- Forks: 565
- Open Issues: 28
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-config-standard [![CI][ci-image]][ci-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url]
[ci-image]: https://github.com/standard/eslint-config-standard/actions/workflows/ci.yml/badge.svg?branch=master
[ci-url]: https://github.com/standard/eslint-config-standard/actions/workflows/ci.yml
[npm-image]: https://img.shields.io/npm/v/eslint-config-standard.svg
[npm-url]: https://npmjs.org/package/eslint-config-standard
[downloads-image]: https://img.shields.io/npm/dm/eslint-config-standard.svg
[downloads-url]: https://npmjs.org/package/eslint-config-standard
[standard-image]: https://img.shields.io/badge/code_style-standard-brightgreen.svg
[standard-url]: https://standardjs.com#### The ESLint config of [JavaScript Standard Style](http://standardjs.com)
[![JavaScript Style Guide - Standard Style](https://cdn.rawgit.com/standard/standard/master/badge.svg)](http://standardjs.com)
This module is for advanced users. You probably want to use [`standard`](http://standardjs.com) instead :)
## Usage
This package exports [a flat ESLint configuration](https://eslint.org/docs/latest/use/configure/configuration-files-new).
```bash
npm install --save-dev eslint eslint-config-standard
```Example `eslint.config.js`:
```js
const standard = require('eslint-config-standard')module.exports = [
standard,
{
// your overrides here
}
]
```### Looking for something easier than this?
The easiest way to use JavaScript Standard Style to check your code is to use the
[`standard`](http://standardjs.com) package. This comes with a global
Node command line program (`standard`) that you can run or add to your `npm test` script
to quickly check your style.## Badge
Use this in one of your projects? Include one of these badges in your readme to
let people know that your code is using the standard style.[![js-standard-style](https://cdn.rawgit.com/standard/standard/master/badge.svg)](http://standardjs.com)
```markdown
[![js-standard-style](https://cdn.rawgit.com/standard/standard/master/badge.svg)](http://standardjs.com)
```[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com)
```markdown
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com)
```## Learn more
For the full listing of rules, editor plugins, FAQs, and more, visit the main
[JavaScript Standard Style repo](http://standardjs.com).## License
MIT. Copyright (c) [Feross Aboukhadijeh](http://feross.org).