@openally/config.stylelint 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.
Files changed (2) hide show
  1. package/README.md +31 -0
  2. package/package.json +39 -0
package/README.md ADDED
@@ -0,0 +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
package/package.json ADDED
@@ -0,0 +1,39 @@
1
+ {
2
+ "name": "@openally/config.stylelint",
3
+ "version": "1.0.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
+ "repository": {
19
+ "type": "git",
20
+ "url": "https://github.com/OpenAlly/configs",
21
+ "directory": "src/stylelint"
22
+ },
23
+ "files": [
24
+ "dist"
25
+ ],
26
+ "keywords": [
27
+ "openally",
28
+ "stylelint",
29
+ "stylelint-config"
30
+ ],
31
+ "author": "GENTILHOMME Thomas <gentilhomme.thomas@gmail.com>",
32
+ "license": "MIT",
33
+ "dependencies": {
34
+ "@stylistic/stylelint-plugin": "5.3.0",
35
+ "postcss-lit": "1.4.1",
36
+ "stylelint": "17.15.0",
37
+ "stylelint-config-standard": "40.0.0"
38
+ }
39
+ }