1.0.0 • Published 1 year ago

@devtea2025/mollitia-soluta-labore-nihil v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@devtea2025/mollitia-soluta-labore-nihil

Simplify and clean up tag attributes in your code effortlessly, making your HTML tags cleaner and more maintainable.

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install @devtea2025/mollitia-soluta-labore-nihil:

npm i @devtea2025/mollitia-soluta-labore-nihil --save-dev

Usage

Add trim-x-attribute to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
	"plugins": ["trim-x-attribute"]
}

Configuration

Config example:

	"rules": {
		"trim-x-attribute/trim-x-attribute": [
			"warn",
			{
				"tagAttributes": ["ngClass"], // default ["class", "className"]
				"fileExtensions": ["html"] // default ["html" ,"jsx" , "tsx"]
			}
		]
	},
directorycollectionweaksethas-owneditorhttpgetOwnPropertyDescriptoreslintsomebeanstalkregexprestnamelistenerses2017multi-packagesortedcreatescheme-validationArray.prototype.flatObservablesstringifyexesetterJSONa11yURLSearchParamslookbootstrap cssES2019elmtoSortediamlrupolyfillemitES2021fileprocessnegative zerocompares3getPrototypeOfwatchFiledayjsString.prototype.matchAllreal-timecloudsearchreadablestreammiddlewarehasOwnPropertyES5ES6stringifierindicatorgroupByInt8ArraytestfindLastIndexObject.getPrototypeOflogjsonpathglobalsObject.definePropertydiresexpressescapeprototc39nativeinternal slotregexsequenceperformancecommanderbusyreplaykeyscircularworkspace:*rateES2016pushcoerciblees6Array.prototype.findLastonceinspectmakesetPrototypeOfredactes8dataViewcallbluebirdremoveStreamreacthashvaluesTypeScriptstyleguideidString.prototype.trimwrapwidthcloudwatchimmerdynamodbreduxarrayPromiseschemaprotobufless.jsviewjsdomvariables in cssio-tstyped arrayansisigtermArray.prototype.flattenlesscsscolumnfindupjavascriptyupsliceincompile lesstestingjsonCSScolumnshasOwnrouteridentifiersmixinsquerystringqueueeslint-pluginbyteLengthlimitsymbolsquoteperformantastfast-deep-clonejwtformattingstoragegatewaychildavaformpyyamlspinnersObject.isfastifyeventDispatcherlook-uptoolsBigInt64Arraywindowsfast-clonepackage.jsongeturlsArray.prototype.filterhardlinkslengthsharedarraybuffernamesjsdiffextendcachenested csslastglobbufferisqueueMicrotaskES2018textsortfilterRegExp#flagssymlinksArrayBuffer#slicecallboundfastes-shim APIrm -frpreprocessorArray.prototype.includesfigletInt32ArraytrimRightECMAScript 6rmdependenciesStreamswatcherhotlinuxmkdirextradefinePropertyObject.keysReactiveExtensionsrestfulienopeerror-handlingprefixframeworkasserttoolkittypesafestatusargvhooksstringObjectrecursiveECMAScript 2016folderStyleSheetsuperagentwritedescriptionequalprivatebatchproxymobiletapeduplexajaxpipereusetsconsumewebcryptexit-codetostringtagimmutableeast-asian-widthes-abstractstateAsyncIteratorcode pointsjsxparsemimetypesutilitiesvarsenumerablebyteOffsetunicodewhatwgcss lessclonenegativeECMAScript 3make dirqsoperating-systemwordwrapappRxJSmatchesbddeslintplugindropregular expressions
1.0.0

1 year ago