@golemio/lint-config-frontend

1.0.0-dev.741512476 • Public • Published

@golemio/lint-config-frontend

Golemio Linting Shareable Config for Frontend

Installation

yarn add -D @golemio/lint-config-frontend prettier eslint typescript@4.7.4 @typescript-eslint/parser @typescript-eslint/eslint-plugin eslint-config-next eslint-config-prettier eslint-plugin-prettier eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-simple-import-sort lint-staged postcss stylelint stylelint-config-prettier-scss stylelint-config-standard-scss

Usage

// for NEXT.js projects
// .eslintrc.json
module.exports = {
    extends: "@golemio/lint-config-frontend",
};
// and copy .lintstagedrc.json, .prettierrc.json and .stylelintrc.json from repository
// optionally add to package.json scripts for local manual linting: "ts-lint": "tsc --noEmit -p tsconfig.json", "style": "stylelint **/*.scss --fix"

Tests

Package Sidebar

Install

npm i @golemio/lint-config-frontend

Weekly Downloads

0

Version

1.0.0-dev.741512476

License

MIT

Unpacked Size

7.06 kB

Total Files

13

Last publish

Collaborators

  • sinacek
  • benaktom
  • vlasaty
  • oict-robot
  • asciidan