eslint-plugin-aura icon indicating copy to clipboard operation
eslint-plugin-aura copied to clipboard

Salesforce Lightning (Aura) specific linting rules for ESLint

Results 8 eslint-plugin-aura issues
Sort by recently updated
recently updated
newest added

The rule Validate-JavaScript-APIs(ecma-intrinsics) for JavaScript incorrectly flags couple of intrinsic methods, when they do appear to be part of the ecma specification(https://tc39.es/ecma262/). Upon scrutinizing I found that the whitelist.js used...

cla:signed

Upgraded eslint to 9.1.1 and got those warnings in command line: npm warn Could not resolve dependency: npm warn peer eslint@"^7 || ^8" from @salesforce/[email protected] npm warn node_modules/@salesforce/eslint-plugin-aura npm warn...

The rule "ecma-intrinsics" is identifying several intrinsic methods, such as Math.log2 and Array.from, despite their inclusion in the ecma-intrinsic specification outlined in the rule description.

Bumps [semver](https://github.com/npm/node-semver) from 5.7.1 to 5.7.2. Release notes Sourced from semver's releases. v5.7.2 5.7.2 (2023-07-10) Bug Fixes 2f8fd41 #585 better handling of whitespace (#585) (@​joaomoreno, @​lukekarrys) Changelog Sourced from semver's...

dependencies

![image](https://user-images.githubusercontent.com/111259588/234453633-03538cf2-99eb-47e5-9b67-ac8e123b5ce7.png) As per Salesforce documentation, and functionality the below is valid ``` apex const toastEvent = $A.get("e.force:showToast"); ``` https://developer.salesforce.com/docs/component-library/bundle/force:showToast/documentation

Bumps [yaml](https://github.com/eemeli/yaml) to 2.2.2 and updates ancestor dependencies [yaml](https://github.com/eemeli/yaml), [@commitlint/cli](https://github.com/conventional-changelog/commitlint/tree/HEAD/@commitlint/cli) and [lint-staged](https://github.com/okonet/lint-staged). These dependencies need to be updated together. Updates `yaml` from 1.10.2 to 2.2.2 Release notes Sourced from yaml's...

dependencies

Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.0.4 to 3.1.2. Commits 699c459 3.1.2 2f2b5ff fix: trim pattern 25d7c0d 3.1.1 55dda29 fix: treat nocase:true as always having magic 5e1fb8d 3.1.0 f8145c5 Add 'allowWindowsEscape' option 570e8b1...

dependencies

Currently `'func-names': ['error', 'always']` and `'no-unused-expressions': 'error'` produce errors for a perfectly valid aura controller code as below: ```javascript ({ myAction: function (component, event, helper) { return false } })...