1.5.0 • Published 3 years ago
@fckff/linter-ng v1.5.0
@fckff / Linter-NG
Angular linter library for your projects
Contents
Install
Install via npm
npm install -D @fckff/linter-ngInstall via pnpm
pnpm add -D @fckff/linter-ngUsage
ESLint
- Create a
.eslintrc.cjsfile in the root directory of the project - Importing files from libraries
// import settings
const angular = module.require('@fckff/linter-ng/eslint');
// set config
module.exports = angular();- Setting up ESLint in the IDE
Prettier
- Create a
.prettierrc.cjsfile in the root directory of the project - Importing files from libraries
// import settings
const angular = module.require('@fckff/linter-ng/prettier');
// set config
module.exports = angular;deprecated TSLint
- Create a
tslint.jsonfile in the root directory of the project - Importing files from libraries
{
"extends": "@fckff/linter-ng/tslint.json"
}- Setting up TSLint in the IDE
License
❤ Thanks for patron me ❤