https://github.com/old-course-wp/ucudal-eslint-config
JavaScript style guide
https://github.com/old-course-wp/ucudal-eslint-config
eslint eslintconfig javascript styleguide
Last synced: 4 months ago
JSON representation
JavaScript style guide
- Host: GitHub
- URL: https://github.com/old-course-wp/ucudal-eslint-config
- Owner: old-course-wp
- Created: 2018-08-03T14:00:59.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-08-30T15:34:48.000Z (almost 7 years ago)
- Last Synced: 2025-02-24T20:39:40.359Z (5 months ago)
- Topics: eslint, eslintconfig, javascript, styleguide
- Language: JavaScript
- Size: 26.4 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# @ucudal/eslint-config
This package provides UCUDAL's base JavaScript `.eslintrc` as an extensible
shared config.## Usage
1. Install the correct versions of each peer dependency, which are listed by the
command:```sh
npm info "@ucudal/eslint-config@latest" peerDependencies
```Linux/OSX users can run:
```sh
(
export PKG=@ucudal/eslint-config;
npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG@latest"
)
```Which produces and runs a command like:
```sh
npm install --save-dev @ucudal/eslint-config@latest eslint@^x.y.z eslint-plugin-import@^x.y.z
```Windows users can install the `@ucudal/eslint-config` and all its peer
dependencies manually.2. Add `"extends": "@ucudal"` to your `.eslintrc` file.