1
0
mirror of https://github.com/robertkrimen/otto synced 2025-10-12 20:27:30 +08:00
Commit Graph

12 Commits

Author SHA1 Message Date
Steven Hartland
026a1d9a9c
chore: lint and naming refactor (#475)
Enable more linters, address the issues and do a major naming refactor
to use golang lower camelCase identifiers for types, functions, methods
and variable names.

Also: 
* Clean up inline generation so it doesn't rely on temporary variables.
* Remove unused functions generated by inline.pl.
2022-12-04 21:49:38 +00:00
Steven Hartland
8d121dcad1
feat(underscore)!: update to v1.13.6 (#470)
Update underscore.js to v1.13.6.

BREAKING CHANGE: This changes the behaviour for the following underscore
functions, please see underscore.js documentation for details.
* .template
* .keys
* .after
* .range
* .reduce
* .reduceRight
* .reduceLeft

Fixes #110
2022-11-29 00:09:10 +00:00
Steven Hartland
7009038f79
fix: linting errors (#441)
Disable new linters which aren't compatible with this code module.

Upgrade github actions to fix caching issues.

Run go mod to bring in new styling.

Remove space on nolint declarations.

Apply all changes to whitespace as required to pass goimports linter.

Only trigger checks on pull_request which works for pulls from other
forks, where as push only works from the same repo.
2022-10-08 00:12:19 +01:00
Iskander (Alex) Sharipov
818f7465f8
fix(underscore): remove unneeded wrapping lambda (#320)
Use func value instead of wrapping lambda

Found using https://go-critic.github.io/overview.html#unlambda-ref
2021-09-27 16:34:54 +01:00
Robert Krimen
de3f9d4592 Prevent slurp of underscore entirely if disabled 2013-02-04 22:10:52 -08:00
Robert Krimen
15aadd333c Upgrade underscore to 1.4.4, including tests 2013-02-04 21:58:47 -08:00
Robert Krimen
20d2e8bba6 gofmt
Ugh.
2013-01-25 09:59:42 -08:00
Robert Krimen
2161cc2cf5 Add Caveat Emptor section 2012-10-10 16:47:01 -07:00
Robert Krimen
1fd249d119 Add documentation to underscore 2012-10-10 16:07:50 -07:00
Robert Krimen
5958af6914 Add registry package
Automatic inclusion of source on import
2012-10-10 15:46:10 -07:00
Robert Krimen
0b82701409 Add documentation to underscore.go 2012-10-10 15:06:15 -07:00
Robert Krimen
f8a0d426f2 Move underscore into otto/underscore 2012-10-10 14:58:35 -07:00