Software zum Installieren eines Smart-Mirror Frameworks , zum Nutzen von hochschulrelevanten Informationen, auf einem Raspberry-Pi.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 1.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. # ESLintRC Library
  2. This repository contains the legacy ESLintRC configuration file format for ESLint.
  3. **Note:** This package is not intended for use outside of the ESLint ecosystem. It is ESLint-specific and not intended for use in other programs.
  4. ## Installation
  5. You can install the package as follows:
  6. ```
  7. npm install @eslint/eslintrc --save-dev
  8. # or
  9. yarn add @eslint/eslintrc -D
  10. ```
  11. ## Future Usage
  12. **Note:** This package is not intended for public use at this time. The following is an example of how it will be used in the future.
  13. The primary class in this package is `FlatCompat`, which is a utility to translate ESLintRC-style configs into flat configs. Here's how you use it inside of your `eslint.config.js` file:
  14. ```js
  15. import { FlatCompat } from "@eslint/eslintrc";
  16. const compat = new FlatCompat();
  17. export default [
  18. // mimic ESLintRC-style extends
  19. compat.extends("standard", "example"),
  20. // mimic environments
  21. compat.env({
  22. es2020: true,
  23. node: true
  24. }),
  25. // mimic plugins
  26. compat.plugins("airbnb", "react"),
  27. // translate an entire config
  28. compat.config({
  29. plugins: ["airbnb", "react"],
  30. extends: "standard",
  31. env: {
  32. es2020: true,
  33. node: true
  34. },
  35. rules: {
  36. semi: "error"
  37. }
  38. })
  39. ];
  40. ```
  41. ## License
  42. MIT License