prettier-config-octaviaflow 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +41 -0
- package/index.js +19 -0
- package/package.json +25 -0
package/README.md
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# prettier-config-octaviaflow
|
|
2
|
+
|
|
3
|
+
> Prettier config for the OctaviaFlow Design System
|
|
4
|
+
|
|
5
|
+
## Getting started
|
|
6
|
+
|
|
7
|
+
To install `prettier-config-octaviaflow` in your project, you will need to run the
|
|
8
|
+
following command using [npm](https://www.npmjs.com/):
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
npm install -S prettier-config-octaviaflow
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
If you prefer [Yarn](https://yarnpkg.com/en/), use the following command
|
|
15
|
+
instead:
|
|
16
|
+
|
|
17
|
+
```bash
|
|
18
|
+
yarn add prettier-config-octaviaflow
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Usage
|
|
22
|
+
|
|
23
|
+
You can use this prettier configuration by creating a `prettier.config.js` file
|
|
24
|
+
in the root of project and using this package in the following way:
|
|
25
|
+
|
|
26
|
+
```js
|
|
27
|
+
'use strict';
|
|
28
|
+
|
|
29
|
+
const prettierConfig = require('prettier-config-octaviaflow');
|
|
30
|
+
module.exports = prettierConfig;
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
## 🙌 Contributing
|
|
34
|
+
|
|
35
|
+
We're always looking for contributors to help us fix bugs, build new features,
|
|
36
|
+
or help us improve the project documentation. If you're interested, definitely
|
|
37
|
+
check out our [Contributing Guide](/.github/CONTRIBUTING.md)! 👀
|
|
38
|
+
|
|
39
|
+
## 📝 License
|
|
40
|
+
|
|
41
|
+
Licensed under the [Apache 2.0 License](/LICENSE).
|
package/index.js
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright OctaviaFlow
|
|
3
|
+
* Author: Vishal Kumar
|
|
4
|
+
* Created: 11/November/2025
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
'use strict';
|
|
9
|
+
|
|
10
|
+
module.exports = {
|
|
11
|
+
semi: true,
|
|
12
|
+
singleQuote: true,
|
|
13
|
+
tabWidth: 2,
|
|
14
|
+
trailingComma: 'es5',
|
|
15
|
+
printWidth: 80,
|
|
16
|
+
bracketSpacing: true,
|
|
17
|
+
arrowParens: 'always',
|
|
18
|
+
endOfLine: 'lf'
|
|
19
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "prettier-config-octaviaflow",
|
|
3
|
+
"description": "Prettier configuration for OctaviaFlow Design System",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
|
+
"main": "index.js",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/OctaviaFlow/OctaviaFlow-Design-System.git",
|
|
10
|
+
"directory": "config/prettier-config-octaviaflow"
|
|
11
|
+
},
|
|
12
|
+
"bugs": "https://github.com/OctaviaFlow/OctaviaFlow-Design-System/issues",
|
|
13
|
+
"keywords": [
|
|
14
|
+
"octaviaflow",
|
|
15
|
+
"octaviaflow-design-system",
|
|
16
|
+
"components",
|
|
17
|
+
"react"
|
|
18
|
+
],
|
|
19
|
+
"publishConfig": {
|
|
20
|
+
"access": "public"
|
|
21
|
+
},
|
|
22
|
+
"dependencies": {
|
|
23
|
+
"prettier": "^3.5.3"
|
|
24
|
+
}
|
|
25
|
+
}
|