https://github.com/springload/eslint-config-springload
Springload's ESLint shareable configuration
https://github.com/springload/eslint-config-springload
eslint eslint-config javascript
Last synced: 8 months ago
JSON representation
Springload's ESLint shareable configuration
- Host: GitHub
- URL: https://github.com/springload/eslint-config-springload
- Owner: springload
- Created: 2017-04-24T07:41:54.000Z (almost 9 years ago)
- Default Branch: main
- Last Pushed: 2022-08-09T04:14:17.000Z (over 3 years ago)
- Last Synced: 2025-06-16T00:54:08.508Z (8 months ago)
- Topics: eslint, eslint-config, javascript
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/eslint-config-springload
- Size: 135 KB
- Stars: 1
- Watchers: 17
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# eslint-config-springload [](https://www.npmjs.com/package/eslint-config-springload) [](https://travis-ci.org/springload/eslint-config-springload)
> Springload's ESLint shareable configuration. Based on [`eslint-config-airbnb`](https://github.com/airbnb/javascript), but laxer.
## Usage
Install the config and its dependencies:
```sh
npm install --save-exact --save-dev eslint@^3.19.0 eslint-config-springload eslint-plugin-import@^2.7.0 eslint-plugin-jsx-a11y@^5.1.1
```
Configure ESLint to use this config. For example, in your package.json, this would be:
```json
"eslintConfig": {
"extends": "springload"
},
```
## Development
### Install
```sh
git clone git@github.com:springload/eslint-config-springload.git
cd eslint-config-springload
nvm install
# Then, install all project dependencies.
npm install
# Install the git hooks.
./.githooks/deploy
```
### Development
```sh
# Runs linting.
npm run lint
# Runs tests.
npm run test
```
### Releases
This project follows [Semantic Versioning](http://semver.org/spec/v2.0.0.html) as well as ESLint's [Semantic Versioning Policy](https://github.com/eslint/eslint#semantic-versioning-policy).
```sh
# 1. Make a new branch for the release of the new version.
git chore release-vx.y.z
# 2. Update the version in package.json
# 3. Use irish-pub to check the package content. Install with `npm install -g` first.
irish-pub
# 4. Update the [CHANGELOG](CHANGELOG.md) for the upcoming release.
# 5. Update the README with the right install command. Use the next command to find out what those are.
npm info eslint-config-springload@latest peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g'
# 6. Create a PR and merge it.
# 7. On master,
npm publish
# 8. Finally, go to GitHub and create a release and a tag for the new version.
```