https://github.com/jane/eslint-plugin-jane
Jane's ESlint plugin and configurations
https://github.com/jane/eslint-plugin-jane
config eslint eslint-config eslint-plugin eslintconfig eslintplugin jane lint plugin
Last synced: 4 months ago
JSON representation
Jane's ESlint plugin and configurations
- Host: GitHub
- URL: https://github.com/jane/eslint-plugin-jane
- Owner: jane
- License: mit
- Created: 2018-07-20T22:38:36.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2023-07-18T20:37:33.000Z (almost 3 years ago)
- Last Synced: 2025-08-09T05:48:13.870Z (10 months ago)
- Topics: config, eslint, eslint-config, eslint-plugin, eslintconfig, eslintplugin, jane, lint, plugin
- Language: JavaScript
- Homepage: http://npm.im/eslint-plugin-jane
- Size: 1000 KB
- Stars: 4
- Watchers: 20
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# eslint-plugin-jane
Jane's ESLint plugin and configurations.
[](https://npm.im/eslint-plugin-jane) [](https://codeclimate.com/github/jane/eslint-plugin-jane/maintainability)
---
## Installation
`npm i -D eslint eslint-plugin-jane`
## Usage
.eslintrc.json:
```json
{
"root": true,
"extends": [
"plugin:jane/recommended",
"plugin:jane/react",
"plugin:jane/node",
"plugin:jane/typescript",
"plugin:jane/prettier",
"plugin:jane/jest"
],
"plugins": ["jane"]
}
```
You can extend any or all of the exported configurations.
If you are using the typescript plugin, some of the rules require this to be
added to the .eslintrc file
```json
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
},
```
You can also use or extend our Prettier config:
.prettierrc.js:
```javascript
module.exports = require('eslint-plugin-jane/prettier')
```
## License
[MIT](./LICENSE.md)