XhmikosR
75ec2943b0
Update minor and patch dependencies ( #1528 )
...
* @rollup/plugin-node-resolve ^11.2.0 → ^11.2.1
* @types/jest ^27.0.0 → ^27.0.1
* colorette ^1.2.2 → ^1.3.0
* commander ^7.1.0 → ^7.2.0
* css-tree ^1.1.2 → ^1.1.3
* eslint ^7.22.0 → ^7.32.0
* playwright ^1.9.2 → ^1.14.0
* prettier ^2.2.1 → ^2.3.2
* rollup ^2.42.1 → ^2.56.2
* typescript ^4.2.3 → ^4.3.5
2021-08-15 13:57:58 +03:00
Bogdan Chadkin
e6b441aca0
Convert cleanupListOfValues and cleanupNumericValues to visitor ( #1521 )
...
SLightly refactored
2021-08-14 16:48:32 +03:00
Bogdan Chadkin
07f8d606e0
Implement preset-default plugin ( #1513 )
...
I saw complaints about `extendDefaultPlugins` api
- it cannot be used when svgo is installed globally
- it requires svgo to be installed when using svgo-loader or svgo-jsx
- it prevents using serializable config formats like json
In this diff I introduced the new plugin which is a bundle of all
default plugins.
```js
module.exports = {
plugins: [
'preset_default',
// or
{
name: 'preset_default',
floatPrecision: 4,
overrides: {
convertPathData: {
applyTransforms: false
}
}
}
]
}
```
2021-08-13 19:07:08 +03:00
Bogdan Chadkin
6f2f62c5ee
Access attributes directly ( #1433 )
...
Got rid from `.attrs`, `.attr()` and `.addAttr()` usages
2021-03-18 18:53:20 +03:00
Bogdan Chadkin
00ec0f71fe
Format all plugins with prettier
2021-03-09 19:58:00 +03:00
Bogdan Chadkin
a7cc20bb43
Setup recommended eslint preset ( #1345 )
...
This is usually enough to prevent silly mistakes.
Formatting will be done by prettier after merging pull requests.
2021-02-19 15:26:07 +03:00
GreLI
ed75e56bde
Fix and update cleanupListOfValues tests
2018-09-16 20:58:12 +03:00
GreLI
37d4ca88ef
Fix cleanupListOfValues to preserve non-numeric values
...
Fix #923
2018-09-16 20:38:01 +03:00
GreLI
db78402c8c
Corrected mm/px ratio. Fixes #420
2015-09-02 15:53:08 +03:00
GreLI
a7f62d8984
Formatting
2015-06-21 19:13:41 +03:00
Yoshiya Hinosawa
8e6b365c40
Add --show-plugins option
2015-06-07 19:35:49 +09:00
GreLI
02dcf78d74
Convert abolute lengths to pixel values
2015-02-23 23:06:09 +03:00
GreLI
5e7caa49dc
Code styling
2015-02-08 19:31:55 +03:00
Kiyohiko Heima
8222f41cd4
add tests of cleanupListOfValues
2014-12-07 21:48:10 +09:00
Kiyohiko Heima
385d6534d2
add cleanupListOfValues
2014-12-07 19:31:43 +09:00