https://github.com/stylelint-types/stylelint-codeguide
https://github.com/stylelint-types/stylelint-codeguide
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/stylelint-types/stylelint-codeguide
- Owner: stylelint-types
- License: mit
- Created: 2023-12-15T10:53:40.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-19T19:03:40.000Z (about 1 year ago)
- Last Synced: 2025-01-28T09:47:39.779Z (3 months ago)
- Language: JavaScript
- Size: 282 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- awesome - stylelint-types/stylelint-codeguide - (JavaScript)
- awesome - stylelint-types/stylelint-codeguide - (JavaScript)
README
# @stylelint-types/stylelint-codeguide
TypeScript definitions for [stylelint-define-config](https://github.com/stylelint-types/stylelint-define-config).
> [!CAUTION]
> `stylelint-codeguide` has been merged into [`stylelint-stylistic`](https://github.com/stylelint-stylistic/stylelint-stylistic), so this package is deprecated.## Install
```sh
npm i -D @stylelint-types/stylelint-codeguide
# or
pnpm add -D @stylelint-types/stylelint-codeguide
# or
yarn add -D @stylelint-types/stylelint-codeguide
```## Usage
```js
// @ts-check
const defineConfig = require('stylelint-define-config')///
module.exports = defineConfig({
rules: {
// ...rules
}
})
```
## Credits
- [@stylelint-types](https://github.com/stylelint-types)
- [@pengzhanbo](https://github.com/pengzhanbo)## LICENSE
[MIT](./LICENSE)