https://github.com/p-toy-factory/eslint-config-pcp
https://github.com/p-toy-factory/eslint-config-pcp
eslint eslint-config
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/p-toy-factory/eslint-config-pcp
- Owner: p-toy-factory
- License: mit
- Created: 2023-12-18T07:33:39.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-11T22:34:16.000Z (3 months ago)
- Last Synced: 2025-03-11T23:28:25.071Z (3 months ago)
- Topics: eslint, eslint-config
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/eslint-config-pcp
- Size: 211 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-config-pcp
## Usage
### Install
```
npm install eslint eslint-config-pcp
```### Create config file
With "type": "module" in package.json (recommended):
```js
// eslint.config.js
import { buildConfig } from "eslint-config-pcp";export default buildConfig();
```With CJS:
```js
// eslint.config.js
const { buildConfig } = require("eslint-config-pcp");module.exports = buildConfig();
```### VS Code support
```json
{
"eslint.experimental.useFlatConfig": true,
// For workspaces
"eslint.workingDirectories": [
{
"mode": "auto"
}
]
}
```