https://github.com/pressmodo/eslint-config
Pressmodo custom ESLint shareable config for WordPress.
https://github.com/pressmodo/eslint-config
eslint eslint-config pressmodo wordpress wordpress-standards
Last synced: 3 months ago
JSON representation
Pressmodo custom ESLint shareable config for WordPress.
- Host: GitHub
- URL: https://github.com/pressmodo/eslint-config
- Owner: Pressmodo
- License: mit
- Created: 2019-02-25T15:39:15.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-22T15:42:37.000Z (about 5 years ago)
- Last Synced: 2025-02-15T21:47:57.934Z (3 months ago)
- Topics: eslint, eslint-config, pressmodo, wordpress, wordpress-standards
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
Pressmodo ESLint Config
=====================In order to improve both our efficiency and consistency, we need to standardize what we use and how we use it. This repository contains Pressmodo's standard configuration for [ESLint](http://eslint.org/).
## Installation
To use this config, install [@pressmodo/eslint-config](https://github.com/pressmodo/eslint-config) as a development dependecy of your project:
```sh
npm install @pressmodo/eslint-config --save-dev
```Next, add this configuration to your `package.json`:
```json
{
"eslintConfig": {
"extends": "@pressmodo/eslint-config"
}
}
```Or add a .eslintrc file to your project root containing:
```json
{
"extends": "@pressmodo/eslint-config"
}
```