open-index/open-npm huggingface dataset:
npm package: @lego/browserslist-config
Description: LEGO shareable browserslist config for js projects
Author: Vincent Briglia
Latest version: 7.1.2

# @lego/browserslist-config

browserslist configuration for external projects

## What is Browserslist?

Browserslist is a configuration to share your project's target browsers between different front-end tools.

- [Browserslist](https://github.com/ai/browserslist) (Github repo)
- [browserl.ist](http://browserl.ist) (Browserslist query syntax validation)
- ["Browserslist is a Good Idea"](https://css-tricks.com/browserlist-good-idea/) (blog post by [@chriscoyier](https://github.com/chriscoyier))

## Installation

```
$ npm install --save-dev @lego/browserslist-config
```

## Usage

To get started, add this to your `package.json` file:

```json
"browserslist": [
  ["extends @lego/browserslist-config"]
]
```

or add a `.browserslistrc` file which contains:

```bash
extends @lego/browserslist-config
```

### Limitations

None

## Tools that use Browserslist

### Autoprefixer

Autoprefixer is a PostCSS plugin to add vendor prefixes to CSS. It adds only actual prefixes according to Browserslist’s target browsers and Can I Use data.

### Babel

Babel is a tool to compile JS files. The most popular way to use it is to compile future JS syntaxes to JS supported by target browsers. From Babel 7.0 @babel/preset-env loads target browsers from the same Browserslist config.

### PostCSS Preset Env

postcss-preset-env is a “Babel for CSS.” It compiles future CSS syntax to CSS supported by target browsers. It is similar to cssnext, but more accurate with CSS spec and has stage option.

### PostCSS Normalize

Browsers have different default styles. To have same styles in all browsers we need to “normalize” these differences.

postcss-normalize is a fork of popular Normalize.css with 2 differents: it doesn’t have opinionated styles, and it adds only necessary fixes according Browserslist target browsers.

### ESLint

ESLint finds mistakes in your JS. eslint-plugin-compat is a plugin to ESLint to warn that JS will not work in all target browsers.

### Stylelint

Stylelint is a “ESLint for CSS” to warn you about mistakes in CSS. It also has stylelint-no-unsupported-browser-features plugin to warn you when CSS property will not work in all target browsers.
npm package: @lego/browserslist-config-internal
Description: LEGO shareable browserslist config for js projects
Author: Vincent Briglia
Latest version: 7.1.2

# @lego/browserslist-config-internal

browserslist configuration for internal projects, supporting the browsers
supported by the internal IT organization

## What is Browserslist?

Browserslist is a configuration to share your project's target browsers between different front-end tools.

- [Browserslist](https://github.com/ai/browserslist) (Github repo)
- [browserl.ist](http://browserl.ist) (Browserslist query syntax validation)
- ["Browserslist is a Good Idea"](https://css-tricks.com/browserlist-good-idea/) (blog post by [@chriscoyier](https://github.com/chriscoyier))

## Installation

```
$ npm install --save-dev @lego/browserslist-config-internal
```

## Usage

To get started, add this to your `package.json` file:

```json
"browserslist": [
  ["extends @lego/browserslist-config-internal"]
]
```

or add a `.browserslistrc` file which contains:

```bash
extends @lego/browserslist-config-internal
```

### Limitations

None

## Tools that use Browserslist

### Autoprefixer

Autoprefixer is a PostCSS plugin to add vendor prefixes to CSS. It adds only actual prefixes according to Browserslist’s target browsers and Can I Use data.

### Babel

Babel is a tool to compile JS files. The most popular way to use it is to compile future JS syntaxes to JS supported by target browsers. From Babel 7.0 @babel/preset-env loads target browsers from the same Browserslist config.

### PostCSS Preset Env

postcss-preset-env is a “Babel for CSS.” It compiles future CSS syntax to CSS supported by target browsers. It is similar to cssnext, but more accurate with CSS spec and has stage option.

### PostCSS Normalize

Browsers have different default styles. To have same styles in all browsers we need to “normalize” these differences.

postcss-normalize is a fork of popular Normalize.css with 2 differents: it doesn’t have opinionated styles, and it adds only necessary fixes according Browserslist target browsers.

### ESLint

ESLint finds mistakes in your JS. eslint-plugin-compat is a plugin to ESLint to warn that JS will not work in all target browsers.

### Stylelint

Stylelint is a “ESLint for CSS” to warn you about mistakes in CSS. It also has stylelint-no-unsupported-browser-features plugin to warn you when CSS property will not work in all target browsers.
npm package: @lego/eslint-config
Description: LEGO shareable eslint config for ts projects
Author: Vincent Briglia
Latest version: 7.2.1

# @lego/eslint-config

## Purpose

This is an opinionated all-round configuration.

## Installation

Install this config package:

```bash
$ npm i -D @lego/eslint-config
```

## Usage

Extend your `eslint.json`, and make sure `@lego/eslint-config` has been added:

```json
{
  "extends": ["@lego/eslint-config"]
}
```

> Note: if you want to use TypeScript don't use `@lego/eslint-config`, use `@lego/eslint-config-typescript` instead.

### Overriding Rules

With the above `eslint.json` configuration example, you can still use or override already defined
rules as such:

```json
{
  "extends": "@lego/eslint-config",
  "rules": {
    "camelcase": "warn"
  }
}
```

It's recommended to inspect the defined rule's configurations where the reasoning for the
configuration lives. If a configuration could benefit more than just the project you're working on,
feel free to create a pull request.
npm package: @lego/eslint-config-angular-template
Description: LEGO shareable eslint config for HTML in Angular projects
Author: Eskild Diderichsen
Latest version: 0.1.2

# @lego/eslint-config-angular-template

## Installation

Install this config package:

```bash
$ npm i -D @lego/eslint-config-angular
$ npm i -D @lego/eslint-config-angular-template
```

*NOTE: `@lego/eslint-config-angular-template` have a peer-dependency on `@lego/eslint-config-angular`*

## Usage

Extend your `eslint.json`, and make sure `@lego/eslint-config-angular-template` has been added, but make sure it always after `@lego/eslint-config-angular`.

```jsonc
"overrides": [
  // other overrides omitted...
  {
    "files": ["*.ts"],
    "extends": ["@lego/eslint-config-angular"]
    // other properties omitted...
  },
  {
    "files": ["*.html"],
    "extends": ["@lego/eslint-config-angular-template"]
  }
]
```

with Prettier:

```jsonc
"overrides": [
  // other overrides omitted...
  {
    "files": ["*.ts"],
    "extends": [
      "@lego/eslint-config-angular",
      "@lego/eslint-config-prettier"
    ]
    // other properties omitted...
  },
  {
    "files": ["*.html"],
    "extends": ["@lego/eslint-config-angular-template"]
  },
  {
    "files": ["*.html"],
    "excludedFiles": ["*inline-template-*.component.html"],
    "extends": ["@lego/eslint-config-prettier"],
    "rules": {
      "prettier/prettier": ["error", { "parser": "angular" }]
    }
  }
]
```

*NOTE: `@angular-eslint/template` rules must not be run together with Prettier. This is why they're are separated into their own overrides. See [notes-for-eslint-plugin-prettier-users](https://github.com/angular-eslint/angular-eslint#notes-for-eslint-plugin-prettier-users) for more info*

### Overriding Rules

With the above `eslint.json` configuration example, you can still use or override already defined rules as such:

```jsonc
"overrides": [
  // other overrides omitted...
  {
    "files": ["*.html"],
    "extends": ["@lego/eslint-config-angular-template"],
    "rules": {
      "@angular-eslint/template/accessibility-alt-text": "off"
    }
  }
]
```

It's recommended to inspect the defined rule's configurations where the reasoning for the configuration lives. If a configuration could benefit more than just the project you're working on, feel free to create a pull request.
npm package: @lego/eslint-config-jest
Description: LEGO shareable eslint config for testing js/ts projects
Author: Vincent Briglia
Latest version: 7.1.2

# @lego/eslint-config-jest

## Purpose

This is an opinionated all-round configuration.

## Installation

Install this config package:

```bash
$ npm i -D @lego/eslint-config-jest
```

## Usage

Extend your `eslint.json`, and make sure `@lego/eslint-config` has been added:

```json
{
  "extends": ["@lego/eslint-config", "@lego/eslint-config-jest"]
}
```

> Note: if you want to use TypeScript don't use `@lego/eslint-config`, use `@lego/eslint-config-typescript` instead.

### Overriding Rules

With the above `eslint.json` configuration example, you can still use or override already defined
rules as such:

```json
{
  "extends": "@lego/eslint-config",
  "rules": {
    "camelcase": "warn"
  }
}
```

It's recommended to inspect the defined rule's configurations where the reasoning for the
configuration lives. If a configuration could benefit more than just the project you're working on,
feel free to create a pull request.
npm package: @lego/eslint-config-prettier
Description: LEGO shareable eslint config for js projects
Author: Vincent Briglia
Latest version: 7.1.2

# @lego/eslint-config-prettier

## Installation

Install this config package:

```bash
$ npm i -D @lego/eslint-config-prettier
```

## Usage

Extend your `eslint.json`, and make sure `@lego/eslint-config-prettier` has been added, but make
sure it's always at the end.

```json
{
  "extends": ["@lego/eslint-config", "@lego/eslint-config-prettier"]
}
```

with TypeScript:

```json
{
  "extends": ["@lego/eslint-config-typescript", "@lego/eslint-config-prettier"]
}
```

with TypeScript & React:

```json
{
  "extends": [
    "@lego/eslint-config-typescript",
    "@lego/eslint-config-react",
    "@lego/eslint-config-prettier"
  ]
}
```

### Overriding Rules

With the above `eslint.json` configuration example, you can still use or override already defined
rules as such:

```json
{
  "extends": [
    "@lego/eslint-config-typescript",
    "@lego/eslint-config-react",
    "@lego/eslint-config-prettier"
  ],
  "rules": {
    // eslint-config rules
    "camelcase": "warn",

    // @typescript-eslint/eslint-plugin rules
    "@typescript-eslint/no-useless-constructor": "error",

    // eslint-plugin-react rules
    "react/jsx-child-element-spacing": "error",

    // eslint-plugin-react-hooks rules
    "react-hooks/exhaustive-deps": "warn",

    // eslint-plugin-prettier rules
    "prettier/prettier": [
      "error",
      {
        "singleQuote": false
      }
    ]
  }
}
```

It's recommended to inspect the defined rule's configurations where the reasoning for the
configuration lives. If a configuration could benefit more than just the project you're working on,
feel free to create a pull request.
npm package: @lego/eslint-config-react
Description: LEGO shareable eslint config for js projects
Author: Vincent Briglia
Latest version: 7.1.2

# @lego/eslint-config-react

## Installation

Install this config package:

```bash
$ npm i -D @lego/eslint-config-react
```

## Usage

Extend your `eslint.json`, and make sure `@lego/eslint-config-react` has been added, but make
sure it's always at the end.

```json
{
  "extends": ["@lego/eslint-config", "@lego/eslint-config-react"]
}
```

with TypeScript:

```json
{
  "extends": ["@lego/eslint-config-typescript", "@lego/eslint-config-react"]
}
```

with TypeScript & React:

```json
{
  "extends": [
    "@lego/eslint-config-typescript",
    "@lego/eslint-config-react",
    "@lego/eslint-config-prettier"
  ]
}
```

### Overriding Rules

With the above `eslint.json` configuration example, you can still use or override already defined
rules as such:

```json
{
  "extends": [
    "@lego/eslint-config-typescript",
    "@lego/eslint-config-react",
    "@lego/eslint-config-prettier"
  ],
  "rules": {
    // eslint-config rules
    "camelcase": "warn",

    // @typescript-eslint/eslint-plugin rules
    "@typescript-eslint/no-useless-constructor": "error",

    // eslint-plugin-react rules
    "react/jsx-child-element-spacing": "error",

    // eslint-plugin-react-hooks rules
    "react-hooks/exhaustive-deps": "warn",

    // eslint-plugin-prettier rules
    "prettier/prettier": [
      "error",
      {
        "singleQuote": false
      }
    ]
  }
}
```

It's recommended to inspect the defined rule's configurations where the reasoning for the
configuration lives. If a configuration could benefit more than just the project you're working on, feel free to create a pull request.
npm package: @lego/eslint-config-react-native
Description: LEGO shareable eslint config for js projects
Author: Vincent Briglia
Latest version: 7.1.2

# @lego/eslint-config-react-native

## Installation

Install this config package:

```bash
$ npm i -D @lego/eslint-config-react-native
```

## Usage

Extend your `.eslintrc.js`, and make sure `@lego/eslint-config-react-native` has been added

```json
{
  "extends": ["@lego/eslint-config", "@lego/eslint-config-react-native"]
}
```

with TypeScript:

```json
{
  "extends": ["@lego/eslint-config-typescript", "@lego/eslint-config-react-native"]
}
```

with TypeScript & React:

```json
{
  "extends": [
    "@lego/eslint-config-typescript",
    "@lego/eslint-config-react-native",
    "@lego/eslint-config-prettier"
  ]
}
```

### Overriding Rules

With the above configuration example, you can still use or override already defined
rules as such:

```json
{
  "extends": [
    "@lego/eslint-config-typescript",
    "@lego/eslint-config-react-native",
    "@lego/eslint-config-prettier"
  ],
  "rules": {
    // eslint-config rules
    "camelcase": "warn",

    // @typescript-eslint/eslint-plugin rules
    "@typescript-eslint/no-useless-constructor": "error",

    // eslint-plugin-react rules
    "react/jsx-child-element-spacing": "error",

    // eslint-plugin-react-hooks rules
    "react-hooks/exhaustive-deps": "warn",

    // slint-plugin-react-native rules
    "react-native/no-unused-styles": "off",

    // eslint-plugin-prettier rules
    "prettier/prettier": [
      "error",
      {
        "singleQuote": false
      }
    ]
  }
}
```

It's recommended to inspect the defined rule's configurations where the reasoning for the
configuration lives. If a configuration could benefit more than just the project you're working on, feel free to create a pull request.
npm package: @lego/eslint-config-typescript
Description: LEGO shareable eslint config for js projects
Author: Vincent Briglia
Latest version: 9.4.1

# @lego/eslint-config-typescript

## Installation

Install this config package:

```bash
$ npm i -D @lego/eslint-config-typescript
```

## Important Note

If your editor supports automatic import sorting and culling of unused imports, prettier might clash
with that, especially in vscode.

read more on:
 - https://github.com/prettier/prettier-vscode/issues/716
 - even though explicit ordering for code actions in vscode is a feature, it doesn't work fully: https://code.visualstudio.com/updates/v1_44#_explicit-ordering-for-code-actions-on-save

therefore ensure that your vscode has the following combination of flags enabled:

```json
{
  ...
  // Editor
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true,
    "source.fixAll.stylelint": true,
    "source.organizeImports": false
  },
  "editor.formatOnSave": false,
  ...
}
```

## Usage

Extend your `eslint.json`, and make sure `@lego/eslint-config-typescript` has been added.

```json
{
  "extends": ["@lego/eslint-config-typescript"]
}
```

with TypeScript & React & Prettier:

```json
{
  "extends": [
    "@lego/eslint-config-typescript",
    "@lego/eslint-config-react",
    "@lego/eslint-config-prettier"
  ]
}
```

### Overriding Rules

With the above `eslint.json` configuration example, you can still use or override already defined
rules as such:

```json
{
  "extends": [
    "@lego/eslint-config-typescript",
    "@lego/eslint-config-react",
    "@lego/eslint-config-prettier"
  ],
  "rules": {
    // eslint-config rules
    "camelcase": "warn",

    // @typescript-eslint/eslint-plugin rules
    "@typescript-eslint/no-useless-constructor": "error",

    // eslint-plugin-react rules
    "react/jsx-child-element-spacing": "error",

    // eslint-plugin-react-hooks rules
    "react-hooks/exhaustive-deps": "warn",

    // eslint-plugin-prettier rules
    "prettier/prettier": [
      "error",
      {
        "singleQuote": false
      }
    ]
  }
}
```

It's recommended to inspect the defined rule's configurations where the reasoning for the
configuration lives. If a configuration could benefit more than just the project you're working on,
feel free to create a pull request.
npm package: @lego/prettier-config
Description: LEGO shareable prettier config
Author: Vincent Briglia
Latest version: 6.1.2

# @lego/prettier-config

Opinionated Prettier configuration.

## Usage

To install this config use the following command

```bash
$ npm i -D @lego/prettier-config
```

Then add below line as `prettier.config.js` or `.prettierrc.js` to the project:

```js
module.exports = require('@lego/prettier-config');
```

or if you want to extend it with your own rules

```js
module.exports = {
  ...require('@lego/prettier-config'),
  singleQuote: false,
};
```
npm package: @lego/stylelint-config
Description: LEGO shareable stylelint config for css and scss projects
Author: Vincent Briglia
Latest version: 6.1.2

# @lego/stylelint-config

## Prerequisites

- Don't use `@lego/stylelint-config` as a globally installed module

## Installation

1. Install this config package:

```bash
$ npm install --save-dev @lego/stylelint-config
```

## Usage

### Full Configurations

This package includes the following complete and ready to use configurations:

- `@lego/stylelint-config` - Base config
- `@lego/stylelint-config/src/configurations/css` - Base config + css specific rules
- `@lego/stylelint-config/src/configurations/scss` - Base config + scss specific rules

add any above configuration in your `stylelint.config.js` file

```js
module.exports = {
  extends: '@lego/stylelint-config/src/configurations/scss.js',
  rules: {
    // your overrides or custom rules here
  },
};
```

or if you prefer the json formatted `.stylelintrc` file:

```json
{
  "extends": "@lego/stylelint-config/src/configurations/scss.js",
  "rules": {
    // your overrides or custom rules here
  }
}
```

**NOTE:** Avoid extending multiple complete configs as it can cause unexpected results, if you need to do this you should consider a piecemeal config as explained below.

### Piecemeal Configurations

Stylelint configuration is broken apart in the `./src/rules` folder, containing Stylelint's rules and rules for specific Stylelint plugins.

f.ex: the full set of Stylelint rules (`./src/rules/eslint`) are broken into categories that mirror Stylelint's documentation.

```
|-- src
|   |-- configurations
|   |   |-- base.js
|   |   |-- css.js
|   |   |-- scss.js
|   |-- rules
|   |   |-- stylelint-declaration-block-no-ignored-properties.js
|   |   |-- stylelint-no-unsupported-browser-features.js
|   |   |-- stylelint-order.js
|   |   |-- stylelint-scss.js
|   |   |-- stylelint
|   |       |-- limit-language-features.js
|   |       |-- possible-errors.js
|   |       |-- stylistic-issues.js
```

## Limitations

Due to an issue with Stylelint, config extension cannot be called from a globally installed (`npm install -g stylelint`) stylelint.

## Included Plugins

### stylelint-declaration-block-no-ignored-properties

Disallow property values that are ignored due to another property value in the same rule.

- https://github.com/kristerkari/stylelint-declaration-block-no-ignored-properties

### stylelint-no-unsupported-browser-features

disallow features that aren't supported by your target browser audience

- https://github.com/ismay/stylelint-no-unsupported-browser-features

### stylelint-order

A plugin pack of order related linting rules for stylelint. Every rule support autofixing (stylelint --fix).

- https://github.com/hudochenkov/stylelint-order
npm package: @lego/stylelint-config-prettier
Description: LEGO shareable stylelint config for ts projects
Author: Vincent Briglia
Latest version: 6.1.2

# @lego/stylelint-config-prettier

## Purpose

This is a stand-alone all-round configuration that inherits prettier configurations from
`@lego/prettier-config` and is tailored towards usage with stylelint.

**NOTE**: if you are using `@lego/stylelint-config` you don't need to worry about this configuration, it
will automatically be included

## Installation

Install this config package:

```bash
npm i -D @lego/stylelint-config-prettier
```

## Standalone Usage

Extend your `.stylelintrc` config file, and make sure `@lego/stylelint-config-prettier` is at the end:

```json
{
  "extends": ["stylelint-prettier", "@lego/stylelint-config-prettier"]
}
```

or your `stylelint.config.js` config file is you want

```javascript
module.exports = {
  extends: ['stylelint-prettier', '@lego/stylelint-config-prettier'],
};
```

### Rules

This package currently implements rules from the following stylelint extensions:

- https://github.com/prettier/stylelint-config-prettier
- https://github.com/prettier/stylelint-prettier

### Overriding Rules

With the above `tslint.json` configuration example, you can still use or override already defined
rules as such:

```json
{
  "extends": ["tslint:latest", "@lego/stylelint-config-prettier"],
  "rules": {
    "prettier": [true, {
      "printWidth": 100,
      "semi": true,
      "singleQuote": true,
      "trailingComma": "es5",
      "arrowParens": "always",
      "proseWrap": "preserve"',
    }],
  }
}
```
npm package: @lego/stylelint-config-scss
Description: LEGO shareable stylelint config for css and scss projects
Author: Vincent Briglia
Latest version: 6.1.2

# @lego/stylelint-config-scss

## Prerequisites

- Don't use `@lego/stylelint-config-scss` as a globally installed module

## Installation

1. Install this config package:

```bash
$ npm install --save-dev @lego/stylelint-config-scss
```

## Usage

### Full Configurations

```js
module.exports = {
  extends: '@lego/stylelint-config-scss',
  rules: {
    // your overrides or custom rules here
  },
};
```

or if you prefer the json formatted `.stylelintrc` file:

```json
{
  "extends": "@lego/stylelint-config-scss",
  "rules": {
    // your overrides or custom rules here
  }
}
```

## Limitations

Due to an issue with Stylelint, config extension cannot be called from a globally installed (`npm install -g stylelint`) stylelint.

## Included Plugins

### stylelint-scss

A collection of SCSS specific linting rules for stylelint

- https://github.com/kristerkari/stylelint-scss
npm package: @lego/tslint-config
Description: LEGO shareable tslint config for ts projects
Author: Vincent Briglia
Latest version: 4.0.0

# @lego/tslint-config

## Purpose

This is an opinionated all-round configuration. It includes the configuration for
`@lego/tslint-config-prettier` so you don't need to add that one separately.

## Installation

Install this config package:

```bash
$ npm i -D @lego/tslint-config
```

You don't need to install `prettier` or `tslint` as it is included. Reasoning is that we match the
ruleset of tslint for its respective version. Adding your own `tslint` would create conflicts.

If you however want to add your own `tslint` should this configuration lag behind, you can refer to
the usage 'overriding rules' to extend the rule definition default in your own `tslint.json` file.

## Usage

Extend your `tslint.json`, and make sure `@lego/tslint-config` has been added:

```json
{
  "extends": ["@lego/tslint-config"]
}
```

### Rules

This package currently implements rules from the following tslint extensions:

- https://github.com/palantir/tslint
- https://github.com/ajafff/tslint-consistent-codestyle
- https://github.com/chinchiheather/tslint-lines-between-class-members

### Overriding Rules

With the above `tslint.json` configuration example, you can still use or override already defined
rules as such:

```json
{
  "extends": "@lego/tslint-config",
  "rules": {
    "no-submodule-imports": [true, "mobx", "mobx-react"]
  }
}
```

It's recommended to inspect the defined rule's configurations where the reasoning for the
configuration lives. If a configuration could benefit more than just the project you're working on,
feel free to create a pull request.
npm package: @lego/tslint-config-angular
Description: LEGO shareable tslint config for ts projects
Author: Vincent Briglia
Latest version: 4.0.0

# @lego/tslint-config-angular

## Purpose

This is an opinionated all-round configuration. It includes the configuration for
`@lego/tslint-config-prettier` so you don't need to add that one separately. This also extends from
`@lego/tslint-config` for generic typescript rules.

## Installation

Install this config package:

```bash
$ npm i -D @lego/tslint-config-angular
```

You don't need to install `prettier` or `tslint` as it is included. Reasoning is that we match the
ruleset of tslint for its respective version. Adding your own `tslint` would create conflicts.

If you however want to add your own `tslint` should this configuration lag behind, you can refer to
the usage 'overriding rules' to extend the rule definition default in your own `tslint.json` file.

## Usage

Extend your `tslint.json`, and make sure `@lego/tslint-config-angular` has been added:

```json
{
  "extends": ["@lego/tslint-config-angular"]
}
```

### Rules

This package currently implements rules from the following tslint extensions:

- https://github.com/mgechev/codelyzer

### Overriding Rules

With the above `tslint.json` configuration example, you can still use or override already defined
rules as such:

```js
{
  "extends": "@lego/tslint-config-angular",
  "rules": {
    // make sure we import { Observable } from 'rxjs/Observable';
    "import-blacklist": [true, "rxjs", "rxjs/Rx"]
  }
}
```

It's recommended to inspect the defined rule's configurations where the reasoning for the
configuration lives. If a configuration could benefit more than just the project you're working on, feel free to create a pull request.
npm package: @lego/tslint-config-prettier
Description: LEGO shareable tslint config for ts projects
Author: Vincent Briglia
Latest version: 3.0.0

# @lego/tslint-config-prettier

## Purpose

This is a stand-alone all-round configuration that inherits prettier configurations from
`@lego/prettier-config` and is tailored towards usage with tslint.

If you want to use your own tslint ruleset without the other packages like `@lego/tslint-config`
then you should install this package, otherwise refer to the aforementioned.

## Installation

Install this config package:

```bash
npm i -D @lego/tslint-config-prettier
```

## Usage

Extend your `tslint.json`, and make sure `@lego/tslint-config-prettier` is at the end:

```json
{
  "extends": ["tslint:latest", "@lego/tslint-config-prettier"]
}
```

### Rules

This package currently implements rules from the following tslint extensions:

- https://github.com/prettier/tslint-config-prettier

### Overriding Rules

With the above `tslint.json` configuration example, you can still use or override already defined
rules as such:

```json
{
  "extends": ["tslint:latest", "@lego/tslint-config-prettier"],
  "rules": {
    "prettier": [true, {
      "printWidth": 100,
      "semi": true,
      "singleQuote": true,
      "trailingComma": "es5",
      "arrowParens": "always",
      "proseWrap": "preserve"',
    }],
  }
}
```
npm package: @lego/tslint-config-react
Description: LEGO shareable tslint config for ts projects
Author: Vincent Briglia
Latest version: 3.0.0

# @lego/tslint-config-react

## Purpose

This is an opinionated all-round configuration. It includes the configuration for
`@lego/tslint-config-prettier` so you don't need to add that one separately. This also extends from
`@lego/tslint-config` for generic typescript rules.

## Installation

Install this config package:

```bash
$ npm i -D @lego/tslint-config-react
```

You don't need to install `prettier` or `tslint` as it is included. Reasoning is that we match the
ruleset of tslint for its respective version. Adding your own `tslint` would create conflicts.

If you however want to add your own `tslint` should this configuration lag behind, you can refer to
the usage 'overriding rules' to extend the rule definition default in your own `tslint.json` file.

## Usage

Extend your `tslint.json`, and make sure `@lego/tslint-config-react` has been added:

```json
{
  "extends": ["@lego/tslint-config-react"]
}
```

### Rules

This package currently implements rules from the following tslint extensions:

- https://github.com/palantir/tslint-react

### Overriding Rules

With the above `tslint.json` configuration example, you can still use or override already defined
rules as such:

```json
{
  "extends": "@lego/tslint-config-react",
  "rules": {
    "jsx-space-before-trailing-slash": false
  }
}
```

It's recommended to inspect the defined rule's configurations where the reasoning for the
configuration lives. If a configuration could benefit more than just the project you're working on,
feel free to create a pull request.
npm package: @lego/tslint-config-react-native
Description: LEGO shareable tslint config for React Native TS projects
Author: Vincent Briglia
Latest version: 3.0.0

# @lego/tslint-config-react-native

## Purpose

This is an opinionated all-round configuration. It includes the configuration for
`@lego/tslint-config-prettier` so you don't need to add that one separately. This also extends from
`@lego/tslint-config` for generic typescript rules and `@lego/tslint-config-react` for react
specific rules.

## Installation

Install this config package:

```bash
$ npm i -D @lego/tslint-config-react
```

You don't need to install `prettier` or `tslint` as it is included. Reasoning is that we match the
ruleset of tslint for its respective version. Adding your own `tslint` would create conflicts.

If you however want to add your own `tslint` should this configuration lag behind, you can refer to
the usage 'overriding rules' to extend the rule definition default in your own `tslint.json` file.

## Usage

Extend your `tslint.json`, and make sure `@lego/tslint-config-react-native` has been added:

```json
{
  "extends": ["@lego/tslint-config-react-native"]
}
```

### Rules

This package currently implements rules from the following tslint extensions:

- https://github.com/Vauhtio/tslint-react-native

### Overriding Rules

With the above `tslint.json` configuration example, you can still use or override already defined
rules as such:

```json
{
  "extends": "@lego/tslint-config-react-native",
  "rules": {
    "no-unused-styles": false
  }
}
```

It's recommended to inspect the defined rule's configurations where the reasoning for the
configuration lives. If a configuration could benefit more than just the project you're working on,
feel free to create a pull request.
npm package: @legochiang/vuepress-theme-zero
Description: Lego Edition of VuePress theme
Author: Lego Chiang
Latest version: 1.2.1

# @vuepress/theme-default

> theme-default for VuePress

## Plugins

The default theme has the following plugin built in:

- [@vuepress/plugin-active-header-links](https://github.com/vuejs/vuepress/tree/master/packages/@vuepress/plugin-active-header-links)
- [@vuepress/plugin-google-analytics](https://github.com/vuejs/vuepress/tree/master/packages/%40vuepress/plugin-google-analytics)
- [@vuepress/plugin-search](https://github.com/vuejs/vuepress/tree/master/packages/%40vuepress/plugin-search)
npm package: @legocss/foundation
Description: LegoCSS foundation package
Author: morgantaylor
Latest version: 0.0.7

# @legocss/foundation

[![NPM](https://img.shields.io/npm/v/@legocss/foundation.svg)](https://www.npmjs.com/package/@legocss/foundation) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm i --save @legocss/foundation
```

## Usage: WIP

This package contains the foundation styles of the LegoCSS library, including:
- Colors
- Font
- Type-scale
- Typography

## License

MIT © [morgantaylor](https://github.com/morgantaylor)

## Development

To compile css to the dist folder - dev:
```bash
npm run dev
```

To compile css to the dist folder - product:
```bash
npm run package
```
npm package: @legodude/rot.js
Description: ROguelike Toolkit for JS
Author: JDB, Coalpha, Ondras
Latest version: 0.8.1

rot.js
======

This is a fork of rot.js by ondras

Right now, we're trying to port this thing to es6.
It's really big and painful.
Due to the nature of this program, it's also object oriented which is just icing on the cake,
in the sense of "get icced".