Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hikasami/eslint-config-react
This package provides the Hikasami ESLint and Prettier configuration.
https://github.com/hikasami/eslint-config-react
eslint-config prettier-config prettier-eslint
Last synced: 7 days ago
JSON representation
This package provides the Hikasami ESLint and Prettier configuration.
- Host: GitHub
- URL: https://github.com/hikasami/eslint-config-react
- Owner: hikasami
- License: apache-2.0
- Created: 2024-09-11T01:51:10.000Z (24 days ago)
- Default Branch: main
- Last Pushed: 2024-09-11T01:57:16.000Z (24 days ago)
- Last Synced: 2024-09-24T00:02:12.086Z (11 days ago)
- Topics: eslint-config, prettier-config, prettier-eslint
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@hikasami/eslint-config-react
- Size: 11.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ESLint Config React
This package provides the Hikasami ESLint and Prettier configuration.## ESLint
[ESLint](https://eslint.org/) statically analyzes your code to quickly find problems. ESLint is built into most text editors and you can run ESLint as part of your continuous integration pipeline.
## Prettier
[Prettier](https://prettier.io/) is an opinionated code formatter. It removes original styling and ensures that all outputted code conforms to a consistent style.
## Installation
The Hikasami ESLint config is available as an [NPM package](https://www.npmjs.com/package/@hikasami/eslint-config-react).
```
// npm
npm install @hikasami/eslint-config-react// bun
bun install @hikasami/eslint-config-react
```In the root of your project create the following files:
_.eslintrc.js_
```js
module.exports = {
extends: ['@hikasami/eslint-config-react'],
}
```_.prettier.config.js_
```js
module.exports = require('@hikasami/eslint-config-react/prettier.config.js')
```## License
The Hikasami Development is licensed under the [Apache License 2.0](https://github.com/hikasami/eslint-config-react/blob/master/LICENSE).