@eslenys/sit-eslint-config

1.0.4 • Public • Published

Shared ESLint configuration for SIT Projects

Integrate into new project Install this package as devDependency

with Yarn

yarn add -D @eslenys/sit-eslint-config

with npm

npm i -D @eslenys/sit-eslint-config

with pnpm

pnpm add -D @eslenys/sit-eslint-config

Install peer dependencies of this package in your project as devDependencies Therefore, you can make use of the tool install-peerdeps:

with Yarn

yarn dlx install-peerdeps --dev @eslenys/sit-eslint-config

with npm

npx install-peerdeps --dev @eslenys/sit-eslint-config

with pnpm

pnpm dlx install-peerdeps --dev @eslenys/sit-eslint-config

Instead, you can do this manually my adding all entries part of the peerDependencies property (see package.json).

Use ESLint config in your project Create a .eslintrc.js file in project root with the following content:

module.exports = {
  "extends":  require.resolve("@eslenys/sit-eslint-config"),
}

Readme

Keywords

none

Package Sidebar

Install

npm i @eslenys/sit-eslint-config

Weekly Downloads

0

Version

1.0.4

License

none

Unpacked Size

3.54 kB

Total Files

3

Last publish

Collaborators

  • eslenys