# eslint-plugin-simtropolis

> Shared eslint configurations

Latest version **1.0.1** (published 2023-01-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install eslint-plugin-simtropolis
pnpm add eslint-plugin-simtropolis
yarn add eslint-plugin-simtropolis
bun add eslint-plugin-simtropolis
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2023-01-31 |
| First published | 2023-01-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 8 |
| Unpacked size | 37.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Simtropolis |
| Maintainers | asvegah |
| Keywords | eslint, eslintplugin, eslint-plugin |

## Links

- npm: https://www.npmjs.com/package/eslint-plugin-simtropolis
- Repository: https://github.com/simtropolis/eslint-plugin-simtropolis
- Issues: https://github.com/simtropolis/eslint-plugin-simtropolis/issues
- npm.io page: https://npm.io/package/eslint-plugin-simtropolis

## Dependencies (8)

- [eslint-plugin-n](https://npm.io/package/eslint-plugin-n.md) ^15.6.0
- [ember-cli-htmlbars](https://npm.io/package/ember-cli-htmlbars.md) ^6.1.1
- [eslint-plugin-ember](https://npm.io/package/eslint-plugin-ember.md) 11.4.2
- [eslint-plugin-mocha](https://npm.io/package/eslint-plugin-mocha.md) 7.0.1
- [eslint-plugin-unicorn](https://npm.io/package/eslint-plugin-unicorn.md) 42.0.0
- [eslint-plugin-filenames](https://npm.io/package/eslint-plugin-filenames.md) 1.3.2
- [eslint-plugin-sort-imports-es6-autofix](https://npm.io/package/eslint-plugin-sort-imports-es6-autofix.md) 0.6.0
- [@kapouer/eslint-plugin-no-return-in-loop](https://npm.io/package/@kapouer/eslint-plugin-no-return-in-loop.md) 1.0.0

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@pandacss/eslint-plugin](https://npm.io/package/@pandacss/eslint-plugin.md) — 18.7K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2023-01-31
- 1.0.0 — 2023-01-13

## README

# eslint-plugin-simtropolis

Shared eslint configurations, useful plugins & custom rules.

Inside of lib/config you'll find a set of configs for different
environments + base.js.

Base.js effectively documents our code style. Please make sure any
rules you add come with an explanation!

## Basic setup
1. Make sure that `gstenv` is green. See our [Dev Environment](https://github.com/simtropolis/Team/blob/master/Engineering/Dev%20Environment.md) docs.
2. `git clone` this repo & `cd` into it as usual
3. Run `yarn install` to install dependencies.

## Testing

Run `yarn link` inside of me, and then run `yarn link eslint-plugin-simtropolis`
inside of the project you want to lint.

## Usage

- Inside of package.json, add this rule: `"lint": "eslint . --ext .js --cache"`
- Then, in your project root, create an `.eslintrc.js` file, and add the
following code:
```
module.exports = {
    plugins: ['simtropolis'],
    extends: [
        'plugin:simtropolis/[config]',
    ]
};
```
- Change `[config]` to be E.g. node, browser, test etc depending on what environment you are linting
- If you have a test folder, browser JS, etc, you can add multiple `.eslintrc.js` files, nesting them inside the folder they belong to.


## Publishing

 - `yarn ship`	 - `yarn ship`

# Copyright & License

Copyright (c) 2020-2022 Simtropolis - Released under the [MIT license](LICENSE). Simtropolis and the Simtropolis Logo are trademarks of Simtropolis Ltd. Please see our [trademark policy](https://simtropolis.org/trademark/) for info on acceptable usage.

---
_Source: https://npm.io/package/eslint-plugin-simtropolis · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
