Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

eslint-config-lifion-web

lifion10Apache-2.01.0.0TypeScript support: included

Lifion's ESLint config for the Web

config, eslint, eslintconfig, eslintrc, javascript, lifion, react, styleguide, web

readme

eslint-config-lifion-web

npm version Contributor Covenant

This package provides Lifion's base JS .eslintrc for the Web as an extensible shared config.

Usage

Install the module and its peer dependencies:

npm install eslint-config-lifion-web eslint@8 prettier@2 -D

Make sure ESLint uses this module by adding "extends" to your .eslintrc file:

{
  "extends": "lifion-web"
}

Configure Prettier by adding this to your .prettierrc file:

{
  "endOfLine": "auto",
  "printWidth": 100,
  "singleQuote": true,
  "trailingComma": "none"
}

You might want to add these npm scripts to your package.json file:

{
  "scripts": {
    "eslint": "eslint . --ext .js,.json,.md,.ts --ignore-pattern='!.*.*'",
    "prettier": "prettier --write '**/*.{hbs,js,json,md,ts}' '.*rc' '!dist/**/*.js'"
  }
}

License

Apache-2.0

changelog

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

Generated by auto-changelog.

v1.0.0 (2023-03-03)

  • e143b35: Recreate the lock file
  • 7eb6413: Upgrade all dependencies
  • ad1eec1: Upgrade plugins to the latest major versions
  • 6b2901c: Correct the test against the default source type

v1.0.0-rc.1 (2022-04-23)

  • f1bac3e: Add a README, correct the default source type, the ignore patterns, and the published files

v1.0.0-rc.0 (2022-04-23)