@way2web/eslint-config

ESLint and Prettier Config from Way2Web

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@way2web/eslint-config
050.3.110 months ago3 years agoMinified + gzip package size for @way2web/eslint-config in KB

Readme

Way2Web ESLint Config
These are Way2Web's default settings for ESLint and Prettier.

Example

{
  "extends": [
    "@way2web/eslint-config"
  ],
  "rules": {
    "no-console": 2,
    "prettier/prettier": [
      "error",
      {
        "trailingComma": "es5",
        "singleQuote": true,
        "printWidth": 120,
        "tabWidth": 8,
      }
    ]
  }
}

Installation

yarn add @way2web/eslint-config babel-eslint eslint eslint-config-airbnb-base eslint-config-prettier eslint-plugin-html eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-prettier eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-vue prettier --dev