David Jennes
19646bcddf
Update SwiftLint to 0.39.2 ( #295 )
...
* Update SwiftLint to 0.39.2
* Enable a bunch of extra rules
* Fix all warnings
* Ignore this Xcode generated folder
Co-authored-by: Olivier Halligon <olivier@halligon.net >
2020-08-12 22:52:00 +02:00
David Jennes
2d82dcb003
Fix issues in Tests
...
t
2018-11-11 17:34:47 +01:00
Ilya Puchka
dbb5e14e9f
solve merge conflict issues
2018-10-01 21:59:03 +01:00
Ilya Puchka
0269052d6a
Merge branch 'master' into dynamic-filter
...
# Conflicts:
# CHANGELOG.md
# Sources/ForTag.swift
# Sources/IfTag.swift
# Sources/Parser.swift
# Sources/Variable.swift
# Tests/StencilTests/ExpressionSpec.swift
# Tests/StencilTests/FilterSpec.swift
# Tests/StencilTests/ForNodeSpec.swift
# Tests/StencilTests/VariableSpec.swift
2018-10-01 21:21:56 +01:00
Ilya Puchka
fce3dc5e48
Added method to register boolean filters ( #160 )
...
* added method to register boolean filters
* parametrised negative filter name
* Update Extension.swift
* Update CHANGELOG.md
* renamed registerBooleanFilter to registerFilter
* updated docs
2018-09-25 23:29:21 +01:00
Ilya Puchka
f7bda226e8
Update to Spectre 0.9.0 ( #247 )
...
* update to Spectre 0.9.0
* fix variable spec tests
* fix flatMap warning
* updated CHANGELOG
2018-09-23 03:46:27 +03:00
David Jennes
0d4dee29b2
Use multiline strings
...
multi
t
t
2018-09-20 04:17:42 +02:00
Ilya Puchka
acda1b0caf
process template lines when Lexer is created not when parsing each token. ( #230 )
2018-09-10 11:39:19 +01:00
Ilya Puchka
96a004eb34
replace implicitly unwrapped optional with fatalError
2018-08-14 00:56:10 +01:00
Ilya Puchka
92ebfe59b1
removed unneeded error reporter references
2018-08-13 23:05:33 +01:00
Ilya Puchka
3a4cd8aa27
Merge branch 'master' into errors-logs-improvements
2018-08-12 22:08:13 +01:00
Ilya Puchka
564ccb7af7
added filter to apply dynamic filter
2018-05-13 12:46:51 +01:00
Ilya Puchka
39ed9aa753
Fixed using spaces in filter expressions and variables lists ( #178 )
...
* fixed using spaces in filter expression
* fixed breaking variables lists and filters by spaces
* simplified smartJoin
* avoid force unwrap
2018-05-13 01:06:38 +01:00
Ilya Puchka
fa68ba9df8
feat: Added indent filter ( #188 )
2018-01-28 16:17:23 +00:00
Ilya Puchka
359d086c02
feat(filters): Show similar filter names when missing filter( #186 )
2018-01-22 18:27:42 +00:00
Ilya Puchka
c4a84a6375
feat: apply string filters to arrays ( #190 )
2018-01-22 17:20:42 +00:00
Ilya Puchka
c30597457f
feat: added split fitler ( #187 )
2018-01-21 16:49:32 -08:00
Ilya Puchka
ac2fd56e8e
storing full sourcemap in token, refactored error reporting
2018-01-01 16:22:06 +01:00
Ilya Puchka
79a16854e7
fixed implicit conversion of integer literals to float
2017-12-29 17:46:26 +01:00
Ilya Puchka
1223efbc7e
fix(default): Check for wrapped nil in filter ( #162 )
2017-12-24 11:11:46 -08:00
Ilya Puchka
5541eae818
feat: fixed parsing several filter arguments with quotes ( #98 )
2017-04-18 22:58:42 +01:00
Kyle Fuller
8f6b403aa9
fix(join): Dont force strings
2016-12-08 16:15:57 +00:00
Kyle Fuller
2331b11a52
fix: Allow overriding default filters/tags
2016-12-07 22:32:31 +00:00
Kyle Fuller
d7b152089e
feat: New extensions API ( #78 )
2016-12-07 21:27:31 +00:00
Kyle Fuller
9e2a061795
refactor: Introducing Environments
2016-12-01 01:29:48 +00:00
Kyle Fuller
b1da85b140
feat(default filter): Support multiple defaults
2016-11-28 19:24:27 +00:00
Kyle Fuller
3b5e8f2468
chore: Remove debug print during test
2016-11-28 03:00:51 +00:00
Kyle Fuller
9fdbbc99e9
feat(filters): Add a join filter
2016-11-27 19:47:50 +00:00
Kyle Fuller
dfd57e9571
feat: Add a default filter
2016-11-27 18:27:30 +00:00
Kyle Fuller
60b378d482
feat(filters): Allow filters with arguments
2016-11-27 01:59:57 +00:00
Kyle Fuller
feff3b18b1
Add support for Swift 3.0
2016-09-13 19:12:47 +01:00