Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/planjs/fabric
code style
https://github.com/planjs/fabric
Last synced: 23 days ago
JSON representation
code style
- Host: GitHub
- URL: https://github.com/planjs/fabric
- Owner: planjs
- Created: 2020-08-29T17:50:00.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-09-30T05:03:53.000Z (3 months ago)
- Last Synced: 2024-12-03T23:34:56.245Z (about 1 month ago)
- Language: TypeScript
- Size: 1.03 MB
- Stars: 1
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# fabric
> `prettier`,`eslint`,`stylelint` commonly used configuration files.
## Usage
in `.eslintrc.js`
```javascript
module.exports = {
extends: [require.resolve('@planjs/fabric/dist/eslint')],globals: {
App: 'readonly',
Page: 'readonly',
Component: 'readonly',
},rules: {
// your rules
},
};
```in `.stylelintrc.js`
```javascript
module.exports = {
extends: [require.resolve('@planjs/fabric/dist/stylelint')],
rules: {
// your rules
},
};
```in `.prettierrc.js`
```javascript
const { prettier } = require('@planjs/fabric');module.exports = prettier;
```