@fckff/linter-ng

1.5.0 • Public • Published

@fckff / Linter-NG

Angular linter library for your projects

Contents

Install

Install via npm

npm install -D @fckff/linter-ng

Install via pnpm

pnpm add -D @fckff/linter-ng

Usage

ESLint

  1. Create a .eslintrc.cjs file in the root directory of the project
  2. Importing files from libraries
// import settings
const angular = module.require('@fckff/linter-ng/eslint');
// set config
module.exports = angular();
  1. Setting up ESLint in the IDE

Prettier

  1. Create a .prettierrc.cjs file in the root directory of the project
  2. Importing files from libraries
// import settings
const angular = module.require('@fckff/linter-ng/prettier');
// set config
module.exports = angular;

deprecated TSLint

  1. Create a tslint.json file in the root directory of the project
  2. Importing files from libraries
{
  "extends": "@fckff/linter-ng/tslint.json"
}
  1. Setting up TSLint in the IDE

License

LICENSE.md

Thanks for patron me

Package Sidebar

Install

npm i @fckff/linter-ng

Weekly Downloads

0

Version

1.5.0

License

ISC

Unpacked Size

15.8 kB

Total Files

10

Last publish

Collaborators

  • ffckff