added all files to project

This commit is contained in:
2022-03-10 10:36:59 +01:00
parent 09dd957b33
commit 46a936d7de
25351 changed files with 3883356 additions and 0 deletions
+48
View File
@@ -0,0 +1,48 @@
# Changelog
## 5.0.0
- Removed: `stylelint` less than `13.13.0` from peer dependencies.
- Added: `no-invalid-position-at-import-rule` rule.
- Added: `no-irregular-whitespace` rule.
- Fixed: `selector-type-no-unknown` for custom elements.
## 4.0.0
- Removed: `stylelint` less than `13.12.0` from peer dependencies.
- Added: `declaration-block-no-duplicate-custom-properties` rule.
- Added: `named-grid-areas-no-invalid` rule.
## 3.0.0
- Removed: `stylelint` < 10.1.0 from peer dependencies. `stylelint@10.1.0+` is required now.
- Added: `function-calc-no-invalid` rule.
## 2.2.0
- Added: `stylelint@10` to peer dependency range.
## 2.1.0
- Added: `stylelint@9` to peer dependency range.
## 2.0.1
- Removed: `declaration-block-no-redundant-longhand-properties` rule. This time it is actually removed.
## 2.0.0
- Removed: `declaration-block-no-redundant-longhand-properties` rule.
- Removed: `shorthand-property-no-redundant-values` rule.
- Added: `font-family-no-missing-generic-family-keyword` rule.
- Added: `no-descending-specificity` rule.
- Added: `no-duplicate-at-import-rules` rule.
- Added: `no-duplicate-selectors` rule.
## 1.0.0
- Use `stylelint@8`.
## 0.1.0
- Initial release
+21
View File
@@ -0,0 +1,21 @@
MIT License
Copyright (c) 2018 - present stylelint
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
+67
View File
@@ -0,0 +1,67 @@
# stylelint-config-recommended
[![NPM version](https://img.shields.io/npm/v/stylelint-config-recommended.svg)](https://www.npmjs.org/package/stylelint-config-recommended) [![Build Status](https://github.com/stylelint/stylelint-config-recommended/workflows/CI/badge.svg)](https://github.com/stylelint/stylelint-config-recommended/actions)
> The recommended shareable config for stylelint.
It turns on all the [_possible errors_](https://stylelint.io/user-guide/rules#possible-errors) rules within stylelint.
Use it as is or as a foundation for your own config.
## Installation
```bash
npm install stylelint-config-recommended --save-dev
```
## Usage
If you've installed `stylelint-config-recommended` locally within your project, just set your `stylelint` config to:
```json
{
"extends": "stylelint-config-recommended"
}
```
If you've globally installed `stylelint-config-recommended` using the `-g` flag, then you'll need to use the absolute path to `stylelint-config-recommended` in your config e.g.
```json
{
"extends": "/absolute/path/to/stylelint-config-recommended"
}
```
Since [stylelint 9.7.0](https://github.com/stylelint/stylelint/blob/9.7.0/CHANGELOG.md#970), you can simply use the globally installed configuration name instead of the absolute path:
```json
{
"extends": "stylelint-config-recommended"
}
```
### Extending the config
Simply add a `"rules"` key to your config, then add your overrides and additions there.
For example, to change the `at-rule-no-unknown` rule to use its `ignoreAtRules` option, turn off the `block-no-empty` rule, and add the `unit-allowed-list` rule:
```json
{
"extends": "stylelint-config-recommended",
"rules": {
"at-rule-no-unknown": [
true,
{
"ignoreAtRules": ["extends"]
}
],
"block-no-empty": null,
"unit-allowed-list": ["em", "rem", "s"]
}
}
```
## [Changelog](CHANGELOG.md)
## [License](LICENSE)
+45
View File
@@ -0,0 +1,45 @@
'use strict';
module.exports = {
rules: {
'at-rule-no-unknown': true,
'block-no-empty': true,
'color-no-invalid-hex': true,
'comment-no-empty': true,
'declaration-block-no-duplicate-custom-properties': true,
'declaration-block-no-duplicate-properties': [
true,
{
ignore: ['consecutive-duplicates-with-different-values'],
},
],
'declaration-block-no-shorthand-property-overrides': true,
'font-family-no-duplicate-names': true,
'font-family-no-missing-generic-family-keyword': true,
'function-calc-no-invalid': true,
'function-calc-no-unspaced-operator': true,
'function-linear-gradient-no-nonstandard-direction': true,
'keyframe-declaration-no-important': true,
'media-feature-name-no-unknown': true,
'named-grid-areas-no-invalid': true,
'no-descending-specificity': true,
'no-duplicate-at-import-rules': true,
'no-duplicate-selectors': true,
'no-empty-source': true,
'no-extra-semicolons': true,
'no-invalid-double-slash-comments': true,
'no-invalid-position-at-import-rule': true,
'no-irregular-whitespace': true,
'property-no-unknown': true,
'selector-pseudo-class-no-unknown': true,
'selector-pseudo-element-no-unknown': true,
'selector-type-no-unknown': [
true,
{
ignore: ['custom-elements'],
},
],
'string-no-newline': true,
'unit-no-unknown': true,
},
};
+102
View File
@@ -0,0 +1,102 @@
{
"_args": [
[
"stylelint-config-recommended@5.0.0",
"/home/pi/Desktop/smartMirrorTestEnvironment/MagicMirror"
]
],
"_development": true,
"_from": "stylelint-config-recommended@5.0.0",
"_id": "stylelint-config-recommended@5.0.0",
"_inBundle": false,
"_integrity": "sha512-c8aubuARSu5A3vEHLBeOSJt1udOdS+1iue7BmJDTSXoCBmfEQmmWX+59vYIj3NQdJBY6a/QRv1ozVFpaB9jaqA==",
"_location": "/stylelint-config-recommended",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "stylelint-config-recommended@5.0.0",
"name": "stylelint-config-recommended",
"escapedName": "stylelint-config-recommended",
"rawSpec": "5.0.0",
"saveSpec": null,
"fetchSpec": "5.0.0"
},
"_requiredBy": [
"/stylelint-config-standard"
],
"_resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-5.0.0.tgz",
"_spec": "5.0.0",
"_where": "/home/pi/Desktop/smartMirrorTestEnvironment/MagicMirror",
"author": {
"name": "stylelint"
},
"bugs": {
"url": "https://github.com/stylelint/stylelint-config-recommended/issues"
},
"description": "Recommended shareable config for stylelint",
"devDependencies": {
"@stylelint/prettier-config": "^2.0.0",
"@stylelint/remark-preset": "^2.0.0",
"eslint": "^7.21.0",
"eslint-config-stylelint": "^13.1.0",
"husky": "^6.0.0",
"is-ci": "^3.0.0",
"jest": "^26.6.3",
"lint-staged": "^10.5.4",
"np": "^7.4.0",
"npm-run-all": "^4.1.5",
"pinst": "^2.1.6",
"prettier": "^2.2.1",
"remark-cli": "^9.0.0",
"stylelint": "^13.13.0"
},
"eslintConfig": {
"extends": [
"stylelint"
]
},
"files": [
"index.js"
],
"homepage": "https://github.com/stylelint/stylelint-config-recommended#readme",
"keywords": [
"stylelint",
"stylelint-config",
"recommended"
],
"license": "MIT",
"lint-staged": {
"*.js": "eslint --cache --fix",
"*.{js,md,yml}": "prettier --write"
},
"main": "index.js",
"name": "stylelint-config-recommended",
"peerDependencies": {
"stylelint": "^13.13.0"
},
"prettier": "@stylelint/prettier-config",
"remarkConfig": {
"plugins": [
"@stylelint/remark-preset"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/stylelint/stylelint-config-recommended.git"
},
"scripts": {
"format": "prettier . --write",
"lint": "npm-run-all --parallel lint:*",
"lint:formatting": "prettier . --check",
"lint:js": "eslint . --ignore-path .gitignore",
"lint:md": "remark . --quiet --frail --ignore-path .gitignore",
"postpublish": "pinst --enable",
"prepare": "is-ci || husky install",
"prepublishOnly": "pinst --disable",
"release": "np",
"test": "jest",
"watch": "jest --watch"
},
"version": "5.0.0"
}