https://github.com/moonwalker/pre-flight-check
Linting, formatting and tooling for :moon: :walking:
https://github.com/moonwalker/pre-flight-check
eslint-config lint-staged prettier stylelint-config
Last synced: 10 months ago
JSON representation
Linting, formatting and tooling for :moon: :walking:
- Host: GitHub
- URL: https://github.com/moonwalker/pre-flight-check
- Owner: moonwalker
- License: mit
- Created: 2019-08-28T10:43:05.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2025-04-09T03:34:38.000Z (about 1 year ago)
- Last Synced: 2025-04-09T04:26:34.325Z (about 1 year ago)
- Topics: eslint-config, lint-staged, prettier, stylelint-config
- Language: JavaScript
- Homepage:
- Size: 1.73 MB
- Stars: 1
- Watchers: 9
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: License.md
Awesome Lists containing this project
README
# pre-flight-check
[](https://www.npmjs.com/package/@moonwalker/pre-flight-check)
[](https://renovatebot.com/dashboard#github/moonwalker/pre-flight-check)
[](https://github.com/moonwalker/pre-flight-check/actions?query=workflow%3Aci)
Linting, formatting and tooling for :moon: :walking:
## Install
```shell
npm install --dev @moonwalker/pre-flight-check
```
## Configuration
### Eslint
```js
// eslint config (eslint.config.js)
module.exports = {
extends: ['@moonwalker/pre-flight-check/eslint']
}
```
or for `node`:
```js
// eslint config (eslint.config.js)
module.exports = {
extends: ['@moonwalker/pre-flight-check/eslint-base']
}
```
### Stylelint
```js
// stylelint.config.js
module.exports = {
extends: '@moonwalker/pre-flight-check/stylelint'
};
```
### Prettier
```js
// prettier.config.js
module.exports = require('@moonwalker/pre-flight-check/prettier');
```
### Husky
```js
// .huskyrc.js
module.exports = require('@moonwalker/pre-flight-check/husky');
```
### lint-staged
```js
// lint-staged.config.js
module.exports = require('@moonwalker/pre-flight-check/lint-staged');
```