Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zachhardesty7/eslint-config-hardesty
This package provides Zach Hardesty's .eslintrc as an extensible shared config.
https://github.com/zachhardesty7/eslint-config-hardesty
Last synced: about 9 hours ago
JSON representation
This package provides Zach Hardesty's .eslintrc as an extensible shared config.
- Host: GitHub
- URL: https://github.com/zachhardesty7/eslint-config-hardesty
- Owner: zachhardesty7
- License: mit
- Created: 2019-07-13T19:28:28.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-02-22T22:40:37.000Z (9 months ago)
- Last Synced: 2024-04-24T16:47:53.297Z (7 months ago)
- Language: JavaScript
- Size: 1.23 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-config-hardesty
This package provides Zach Hardesty's `.eslintrc` as an extensible shared config.
[NPM Package Listing](https://npmjs.com/eslint-config-hardesty)
## Usage
Our default export contains all of our ESLint rules, including ECMAScript 6+ and React,
but excludes TypeScript. In the future, React may be split into a separate config in
this repo.1. Ensure your project has `eslint` installed: `npm install eslint --save-dev`. Not all
versions are compatible with this config.
2. Add `"extends": ["hardesty"]` to your .eslintrc or set
`eslintConfig: { "extends": ["hardesty"] },` in your `package.json`.
- If you're using TypeScript, additionally add `"hardesty/typescript"` as a new item
in the "extends" array after `"hardesty"`.
- If your project is a Node project, additionally add `"hardesty/node"` as a new item
in the "extends" array after `"hardesty"`.