https://github.com/powerfulyang/lint
https://github.com/powerfulyang/lint
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/powerfulyang/lint
- Owner: powerfulyang
- Created: 2021-02-06T03:14:56.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-08-10T02:21:23.000Z (about 2 years ago)
- Last Synced: 2025-04-21T16:22:20.752Z (6 months ago)
- Language: TypeScript
- Homepage:
- Size: 1.7 MB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# lint
A collection of configuration files containing prettier, eslint, stylelint## Install
```bash
npm install --save-dev @powerfulyang/lint
```## eslint
Copy the following configuration to your project root directory `.eslintrc.js`.
```js
const { eslint } = require('@powerfulyang/lint');module.exports = {
...eslint,
};
```## prettier
Copy the following configuration to your project root directory `.prettierrc.js`.
```js
const { prettier } = require('@powerfulyang/lint');module.exports = {
...prettier,
};
```## stylelint
Copy the following configuration to your project root directory `.stylelintrc.js`.
```js
const { stylelint } = require('@powerfulyang/lint');module.exports = {
...stylelint,
};
```