eslint-plugin-align-assignments icon indicating copy to clipboard operation
eslint-plugin-align-assignments copied to clipboard

Results 15 eslint-plugin-align-assignments issues
Sort by recently updated
recently updated
newest added

Scenario : ![Screenshot 2024-03-31 at 8 34 55 PM](https://github.com/lucasefe/eslint-plugin-align-assignments/assets/14008232/472e964f-000a-4fd4-95e6-9265c0d6bce9) Error : ![Screenshot 2024-03-31 at 8 37 35 PM](https://github.com/lucasefe/eslint-plugin-align-assignments/assets/14008232/a191c1d3-0ebe-4e05-b3c8-0f429f93c805) This seems to work if I split the code into two different...

Feel free to modify it as required. ``` const hasRequire= /require\(/u; const spaceMatcher= /(?\s*)(?(?:\+|-|\*|\/|%|&|\^|\|||\*\*|>>>)?=)/u; const assignmentTokens= new Set ([ `>>>=`, `=`, `**=`, `&&=`, `||=`, `??=`, `+=`, `-=`, `*=`, `/=`, `%=`,...

Logical assignment operators such as `||=` and `&&=` are not supported

Edit: I also noticed it shows the error "Definition for rule 'align-assignments/align-assignments' was not found." with the plugin enabled. In .eslintrc.json I have: ``` "plugins": [ *** "align-assignments", *** ],...

Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.10.2 to 6.12.6. Release notes Sourced from ajv's releases. v6.12.6 Fix performance issue of "url" format. v6.12.5 Fix uri scheme validation (@​ChALkeR). Fix boolean schemas with strictKeywords...

dependencies

No detection/alignment of: ```typescript type MyType = [number, string, string]; type MyOtherType = [string, number]; ```

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.21. Commits f299b52 Bump to v4.17.21 c4847eb Improve performance of toNumber, trim and trimEnd on large input strings 3469357 Prevent command injection through _.template's variable...

dependencies

This PR fixes an issue which affected destructuring assignment described in #13.

This patch causes the new assignment operators `??=`, `||=`, `&&=` defined in https://tc39.es/ecma262/ to be recognised and aligned by the parser.

First, very many thanks for writing this package. I have been looking for a way to enforce aligned assignment in eslint for over a year. I am finding that supplying...