@openally/config.stylelint 1.0.0 → 1.0.1
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 +31 -31
- package/package.json +40 -39
package/README.md
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
<p align="center">
|
|
2
|
-
<h1 align="center">Stylelint Config</h1>
|
|
3
|
-
</p>
|
|
4
|
-
|
|
5
|
-
<div align="center">OpenAlly front-end Stylelint configuration</div>
|
|
6
|
-
|
|
7
|
-
## Requirements
|
|
8
|
-
- [Node.js](https://nodejs.org/en/) v24 or higher
|
|
9
|
-
|
|
10
|
-
## Getting Started
|
|
11
|
-
|
|
12
|
-
This package is available in the Node Package Repository and can be easily installed with [npm](https://docs.npmjs.com/getting-started/what-is-npm) or [yarn](https://yarnpkg.com).
|
|
13
|
-
|
|
14
|
-
```bash
|
|
15
|
-
$ npm i -D @openally/config.stylelint
|
|
16
|
-
# or
|
|
17
|
-
$ yarn add @openally/config.stylelint -D
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
## Usage
|
|
21
|
-
|
|
22
|
-
Create a `.stylelintrc.json` file in the root of your project and extend the `@openally/config.stylelint` configuration.
|
|
23
|
-
|
|
24
|
-
```json
|
|
25
|
-
{
|
|
26
|
-
"extends": "@openally/config.stylelint"
|
|
27
|
-
}
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
## License
|
|
31
|
-
MIT
|
|
1
|
+
<p align="center">
|
|
2
|
+
<h1 align="center">Stylelint Config</h1>
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
<div align="center">OpenAlly front-end Stylelint configuration</div>
|
|
6
|
+
|
|
7
|
+
## Requirements
|
|
8
|
+
- [Node.js](https://nodejs.org/en/) v24 or higher
|
|
9
|
+
|
|
10
|
+
## Getting Started
|
|
11
|
+
|
|
12
|
+
This package is available in the Node Package Repository and can be easily installed with [npm](https://docs.npmjs.com/getting-started/what-is-npm) or [yarn](https://yarnpkg.com).
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
$ npm i -D @openally/config.stylelint
|
|
16
|
+
# or
|
|
17
|
+
$ yarn add @openally/config.stylelint -D
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Usage
|
|
21
|
+
|
|
22
|
+
Create a `.stylelintrc.json` file in the root of your project and extend the `@openally/config.stylelint` configuration.
|
|
23
|
+
|
|
24
|
+
```json
|
|
25
|
+
{
|
|
26
|
+
"extends": "@openally/config.stylelint"
|
|
27
|
+
}
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
## License
|
|
31
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,39 +1,40 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@openally/config.stylelint",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "OpenAlly Stylelint configuration for front-end with Lit.js",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "./dist/index.js",
|
|
7
|
-
"scripts": {
|
|
8
|
-
"build": "tsc",
|
|
9
|
-
"prepublishOnly": "npm run build",
|
|
10
|
-
"test-only": "node --test ./test/**/*.test.ts",
|
|
11
|
-
"test": "c8 --all --src ./src -r html npm run test-only",
|
|
12
|
-
"lint": "eslint src/**/*.ts"
|
|
13
|
-
},
|
|
14
|
-
"publishConfig": {
|
|
15
|
-
"registry": "https://registry.npmjs.org",
|
|
16
|
-
"access": "public"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
"
|
|
29
|
-
"stylelint
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"stylelint
|
|
38
|
-
|
|
39
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@openally/config.stylelint",
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"description": "OpenAlly Stylelint configuration for front-end with Lit.js",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"build": "tsc",
|
|
9
|
+
"prepublishOnly": "npm run build",
|
|
10
|
+
"test-only": "node --test ./test/**/*.test.ts",
|
|
11
|
+
"test": "c8 --all --src ./src -r html npm run test-only",
|
|
12
|
+
"lint": "eslint src/**/*.ts"
|
|
13
|
+
},
|
|
14
|
+
"publishConfig": {
|
|
15
|
+
"registry": "https://registry.npmjs.org",
|
|
16
|
+
"access": "public",
|
|
17
|
+
"provenance": true
|
|
18
|
+
},
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "https://github.com/OpenAlly/configs",
|
|
22
|
+
"directory": "src/stylelint"
|
|
23
|
+
},
|
|
24
|
+
"files": [
|
|
25
|
+
"dist"
|
|
26
|
+
],
|
|
27
|
+
"keywords": [
|
|
28
|
+
"openally",
|
|
29
|
+
"stylelint",
|
|
30
|
+
"stylelint-config"
|
|
31
|
+
],
|
|
32
|
+
"author": "GENTILHOMME Thomas <gentilhomme.thomas@gmail.com>",
|
|
33
|
+
"license": "MIT",
|
|
34
|
+
"dependencies": {
|
|
35
|
+
"@stylistic/stylelint-plugin": "5.3.0",
|
|
36
|
+
"postcss-lit": "1.4.1",
|
|
37
|
+
"stylelint": "17.15.0",
|
|
38
|
+
"stylelint-config-standard": "40.0.0"
|
|
39
|
+
}
|
|
40
|
+
}
|