@ethang/eslint-config 21.0.0 → 21.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/config.angular.js +1 -1
- package/config.angular.js.map +1 -1
- package/package.json +2 -2
package/config.angular.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as e,b as r,c as a}from"./chunk-WK3YS7OG.js";import t from"angular-eslint";import n from"@angular-eslint/eslint-plugin-template";import l from"@angular-eslint/eslint-plugin";import o from"typescript-eslint";var m=o.config({ignores:["**/*.spec.ts","src/main.server.ts"]},{files:["**/*.ts"],ignores:e,languageOptions:r,processor:t.processInlineTemplates,plugins:{"@angular-eslint":l},rules:{"@angular-eslint/component-class-suffix":"error","@angular-eslint/component-max-inline-declarations":"error","@angular-eslint/component-selector":["error",{prefix:"app",style:"kebab-case",type:"element"}],"@angular-eslint/consistent-component-styles":"error","@angular-eslint/contextual-decorator":"error","@angular-eslint/contextual-lifecycle":"error","@angular-eslint/directive-class-suffix":"error","@angular-eslint/directive-selector":["error",{prefix:"app",style:"camelCase",type:"attribute"}],"@angular-eslint/no-async-lifecycle-method":"error","@angular-eslint/no-attribute-decorator":"error","@angular-eslint/no-conflicting-lifecycle":"error","@angular-eslint/no-duplicates-in-metadata-arrays":"error","@angular-eslint/no-empty-lifecycle-method":"error","@angular-eslint/no-forward-ref":"error","@angular-eslint/no-input-prefix":"error","@angular-eslint/no-input-rename":"error","@angular-eslint/no-inputs-metadata-property":"error","@angular-eslint/no-lifecycle-call":"error","@angular-eslint/no-output-native":"error","@angular-eslint/no-output-on-prefix":"error","@angular-eslint/no-output-rename":"error","@angular-eslint/no-outputs-metadata-property":"error","@angular-eslint/no-pipe-impure":"error","@angular-eslint/no-queries-metadata-property":"error","@angular-eslint/pipe-prefix":"error","@angular-eslint/prefer-on-push-component-change-detection":"error","@angular-eslint/prefer-output-readonly":"error","@angular-eslint/prefer-signals":"error","@angular-eslint/prefer-standalone":"error","@angular-eslint/relative-url-prefix":"error","@angular-eslint/require-localize-metadata":"error","@angular-eslint/runtime-localize":"error","@angular-eslint/sort-lifecycle-methods":"error","@angular-eslint/use-component-selector":"error","@angular-eslint/use-component-view-encapsulation":"error","@angular-eslint/use-injectable-provided-in":"error","@angular-eslint/use-lifecycle-interface":"error","@angular-eslint/use-pipe-transform-interface":"error"}},{files:["**/*.html"],languageOptions:a,plugins:{"@angular-eslint/template":n},rules:{"@angular-eslint/template/alt-text":"error","@angular-eslint/template/attributes-order":"error","@angular-eslint/template/banana-in-box":"error","@angular-eslint/template/button-has-type":"error","@angular-eslint/template/click-events-have-key-events":"error","@angular-eslint/template/conditional-complexity":"error","@angular-eslint/template/cyclomatic-complexity":"error","@angular-eslint/template/elements-content":"error","@angular-eslint/template/eqeqeq":"error","@angular-eslint/template/i18n":"off","@angular-eslint/template/interactive-supports-focus":"error","@angular-eslint/template/label-has-associated-control":"error","@angular-eslint/template/mouse-events-have-key-events":"error","@angular-eslint/template/no-any":"error","@angular-eslint/template/no-autofocus":"error","@angular-eslint/template/no-call-expression":"off","@angular-eslint/template/no-distracting-elements":"error","@angular-eslint/template/no-duplicate-attributes":"error","@angular-eslint/template/no-inline-styles":"error","@angular-eslint/template/no-interpolation-in-attributes":"error","@angular-eslint/template/no-negated-async":"error","@angular-eslint/template/no-positive-tabindex":"error","@angular-eslint/template/prefer-control-flow":"error","@angular-eslint/template/prefer-ngsrc":"warn","@angular-eslint/template/prefer-self-closing-tags":"error","@angular-eslint/template/role-has-required-aria":"error","@angular-eslint/template/table-scope":"error","@angular-eslint/template/use-track-by-function":"error","@angular-eslint/template/valid-aria":"error"}});export{m as default};
|
|
2
2
|
//# sourceMappingURL=config.angular.js.map
|
package/config.angular.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/config.angular.js"],"sourcesContent":["// @ts-nocheck\nimport { angularLanguageOptions } from \"./constants.js\"\nimport { ignores, languageOptions } from \"./constants.js\";\nimport angular from \"angular-eslint\";\nimport angularTemplate from \"@angular-eslint/eslint-plugin-template\";\nimport angularTS from \"@angular-eslint/eslint-plugin\";\nimport tseslint from \"typescript-eslint\";\n\nexport default tseslint.config(\n {\n ignores: [\"**/*.spec.ts\", \"src/main.server.ts\"],\n },{\n files: [\"**/*.ts\"],\nignores,\nlanguageOptions,\nprocessor: angular.processInlineTemplates,\n plugins: {\n \"@angular-eslint\": angularTS,\n },\n rules: {\n \"@angular-eslint/component-class-suffix\":\"error\",\"@angular-eslint/component-max-inline-declarations\":\"error\",\"@angular-eslint/component-selector\":[\"error\",{\"prefix\":\"app\",\"style\":\"kebab-case\",\"type\":\"element\"}],\"@angular-eslint/consistent-component-styles\":\"error\",\"@angular-eslint/contextual-decorator\":\"error\",\"@angular-eslint/contextual-lifecycle\":\"error\",\"@angular-eslint/directive-class-suffix\":\"error\",\"@angular-eslint/directive-selector\":[\"error\",{\"prefix\":\"app\",\"style\":\"camelCase\",\"type\":\"attribute\"}],\"@angular-eslint/no-async-lifecycle-method\":\"error\",\"@angular-eslint/no-attribute-decorator\":\"error\",\"@angular-eslint/no-conflicting-lifecycle\":\"error\",\"@angular-eslint/no-duplicates-in-metadata-arrays\":\"error\",\"@angular-eslint/no-empty-lifecycle-method\":\"error\",\"@angular-eslint/no-forward-ref\":\"error\",\"@angular-eslint/no-input-prefix\":\"error\",\"@angular-eslint/no-input-rename\":\"error\",\"@angular-eslint/no-inputs-metadata-property\":\"error\",\"@angular-eslint/no-lifecycle-call\":\"error\",\"@angular-eslint/no-output-native\":\"error\",\"@angular-eslint/no-output-on-prefix\":\"error\",\"@angular-eslint/no-output-rename\":\"error\",\"@angular-eslint/no-outputs-metadata-property\":\"error\",\"@angular-eslint/no-pipe-impure\":\"error\",\"@angular-eslint/no-queries-metadata-property\":\"error\",\"@angular-eslint/pipe-prefix\":\"error\",\"@angular-eslint/prefer-on-push-component-change-detection\":\"error\",\"@angular-eslint/prefer-output-readonly\":\"error\",\"@angular-eslint/prefer-signals\":\"error\",\"@angular-eslint/prefer-standalone\":\"error\",\"@angular-eslint/relative-url-prefix\":\"error\",\"@angular-eslint/require-localize-metadata\":\"error\",\"@angular-eslint/runtime-localize\":\"error\",\"@angular-eslint/sort-lifecycle-methods\":\"error\",\"@angular-eslint/use-component-selector\":\"error\",\"@angular-eslint/use-component-view-encapsulation\":\"error\",\"@angular-eslint/use-injectable-provided-in\":\"error\",\"@angular-eslint/use-lifecycle-interface\":\"error\",\"@angular-eslint/use-pipe-transform-interface\":\"error\"\n },\n },\n{\n files: [\"**/*.html\"],\nlanguageOptions
|
|
1
|
+
{"version":3,"sources":["../src/config.angular.js"],"sourcesContent":["// @ts-nocheck\nimport { angularLanguageOptions } from \"./constants.js\"\nimport { ignores, languageOptions } from \"./constants.js\";\nimport angular from \"angular-eslint\";\nimport angularTemplate from \"@angular-eslint/eslint-plugin-template\";\nimport angularTS from \"@angular-eslint/eslint-plugin\";\nimport tseslint from \"typescript-eslint\";\n\nexport default tseslint.config(\n {\n ignores: [\"**/*.spec.ts\", \"src/main.server.ts\"],\n },{\n files: [\"**/*.ts\"],\nignores,\nlanguageOptions,\nprocessor: angular.processInlineTemplates,\n plugins: {\n \"@angular-eslint\": angularTS,\n },\n rules: {\n \"@angular-eslint/component-class-suffix\":\"error\",\"@angular-eslint/component-max-inline-declarations\":\"error\",\"@angular-eslint/component-selector\":[\"error\",{\"prefix\":\"app\",\"style\":\"kebab-case\",\"type\":\"element\"}],\"@angular-eslint/consistent-component-styles\":\"error\",\"@angular-eslint/contextual-decorator\":\"error\",\"@angular-eslint/contextual-lifecycle\":\"error\",\"@angular-eslint/directive-class-suffix\":\"error\",\"@angular-eslint/directive-selector\":[\"error\",{\"prefix\":\"app\",\"style\":\"camelCase\",\"type\":\"attribute\"}],\"@angular-eslint/no-async-lifecycle-method\":\"error\",\"@angular-eslint/no-attribute-decorator\":\"error\",\"@angular-eslint/no-conflicting-lifecycle\":\"error\",\"@angular-eslint/no-duplicates-in-metadata-arrays\":\"error\",\"@angular-eslint/no-empty-lifecycle-method\":\"error\",\"@angular-eslint/no-forward-ref\":\"error\",\"@angular-eslint/no-input-prefix\":\"error\",\"@angular-eslint/no-input-rename\":\"error\",\"@angular-eslint/no-inputs-metadata-property\":\"error\",\"@angular-eslint/no-lifecycle-call\":\"error\",\"@angular-eslint/no-output-native\":\"error\",\"@angular-eslint/no-output-on-prefix\":\"error\",\"@angular-eslint/no-output-rename\":\"error\",\"@angular-eslint/no-outputs-metadata-property\":\"error\",\"@angular-eslint/no-pipe-impure\":\"error\",\"@angular-eslint/no-queries-metadata-property\":\"error\",\"@angular-eslint/pipe-prefix\":\"error\",\"@angular-eslint/prefer-on-push-component-change-detection\":\"error\",\"@angular-eslint/prefer-output-readonly\":\"error\",\"@angular-eslint/prefer-signals\":\"error\",\"@angular-eslint/prefer-standalone\":\"error\",\"@angular-eslint/relative-url-prefix\":\"error\",\"@angular-eslint/require-localize-metadata\":\"error\",\"@angular-eslint/runtime-localize\":\"error\",\"@angular-eslint/sort-lifecycle-methods\":\"error\",\"@angular-eslint/use-component-selector\":\"error\",\"@angular-eslint/use-component-view-encapsulation\":\"error\",\"@angular-eslint/use-injectable-provided-in\":\"error\",\"@angular-eslint/use-lifecycle-interface\":\"error\",\"@angular-eslint/use-pipe-transform-interface\":\"error\"\n },\n },\n{\n files: [\"**/*.html\"],\nlanguageOptions: angularLanguageOptions,\n plugins: {\n \"@angular-eslint/template\": angularTemplate,\n },\n rules: {\n \"@angular-eslint/template/alt-text\":\"error\",\"@angular-eslint/template/attributes-order\":\"error\",\"@angular-eslint/template/banana-in-box\":\"error\",\"@angular-eslint/template/button-has-type\":\"error\",\"@angular-eslint/template/click-events-have-key-events\":\"error\",\"@angular-eslint/template/conditional-complexity\":\"error\",\"@angular-eslint/template/cyclomatic-complexity\":\"error\",\"@angular-eslint/template/elements-content\":\"error\",\"@angular-eslint/template/eqeqeq\":\"error\",\"@angular-eslint/template/i18n\":\"off\",\"@angular-eslint/template/interactive-supports-focus\":\"error\",\"@angular-eslint/template/label-has-associated-control\":\"error\",\"@angular-eslint/template/mouse-events-have-key-events\":\"error\",\"@angular-eslint/template/no-any\":\"error\",\"@angular-eslint/template/no-autofocus\":\"error\",\"@angular-eslint/template/no-call-expression\":\"off\",\"@angular-eslint/template/no-distracting-elements\":\"error\",\"@angular-eslint/template/no-duplicate-attributes\":\"error\",\"@angular-eslint/template/no-inline-styles\":\"error\",\"@angular-eslint/template/no-interpolation-in-attributes\":\"error\",\"@angular-eslint/template/no-negated-async\":\"error\",\"@angular-eslint/template/no-positive-tabindex\":\"error\",\"@angular-eslint/template/prefer-control-flow\":\"error\",\"@angular-eslint/template/prefer-ngsrc\":\"warn\",\"@angular-eslint/template/prefer-self-closing-tags\":\"error\",\"@angular-eslint/template/role-has-required-aria\":\"error\",\"@angular-eslint/template/table-scope\":\"error\",\"@angular-eslint/template/use-track-by-function\":\"error\",\"@angular-eslint/template/valid-aria\":\"error\"\n },\n },\n \n \n );\n"],"mappings":"sDAGA,OAAOA,MAAa,iBACpB,OAAOC,MAAqB,yCAC5B,OAAOC,MAAe,gCACtB,OAAOC,MAAc,oBAErB,IAAOC,EAAQD,EAAS,OACpB,CACE,QAAS,CAAC,eAAgB,oBAAoB,CAChD,EAAE,CACF,MAAO,CAAC,SAAS,EACrB,QAAAE,EACA,gBAAAC,EACA,UAAWN,EAAQ,uBACf,QAAS,CACP,kBAAmBE,CACrB,EACA,MAAO,CACL,yCAAyC,QAAQ,oDAAoD,QAAQ,qCAAqC,CAAC,QAAQ,CAAC,OAAS,MAAM,MAAQ,aAAa,KAAO,SAAS,CAAC,EAAE,8CAA8C,QAAQ,uCAAuC,QAAQ,uCAAuC,QAAQ,yCAAyC,QAAQ,qCAAqC,CAAC,QAAQ,CAAC,OAAS,MAAM,MAAQ,YAAY,KAAO,WAAW,CAAC,EAAE,4CAA4C,QAAQ,yCAAyC,QAAQ,2CAA2C,QAAQ,mDAAmD,QAAQ,4CAA4C,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