Andrey Sitnik
89b7f7ac78
Update dependencies and code style
2023-07-06 13:38:48 +02:00
Adaline Valentina Simonian
45097948ff
feat: Support ranges for errors and warnings
...
Allows for better diagnostics in linters, language servers, and plugins.
2021-11-16 17:15:01 -08:00
Andrey Sitnik
1ce2beb777
Replace nanocolors with picocolors
2021-10-04 22:00:11 +02:00
Andrey Sitnik
d02348764c
Replace colorette to nanocolors
2021-09-21 13:13:19 +02:00
Andrey Sitnik
843ab11b6e
Add Prettier
2021-03-11 19:11:37 -05:00
Remco Haszing
b94a22e19f
Fix usage of default exports with TypeScript
...
This is done by assigning the property `default` for all properties that are
exported using `export default` according to their type definitions.
Closes #1424
2020-11-10 14:24:37 +01:00
Andrey Sitnik
0048657b13
Add "use strict" because it may effect on tokenizer performance
2020-09-08 01:46:46 -04:00
Andrey Sitnik
8aae507a45
Clean up types and replace JSDoc to TypeDoc
2020-07-08 17:55:13 -07:00
Andrey Sitnik
fa6b5f9981
Add PrettierX
2020-07-06 17:24:57 -07:00
Andrey Sitnik
0e7a9755b0
Replace kleur to colorette
2020-06-24 00:12:49 -04:00
Luke Edwards and Andrey Sitnik
6f41ad97e4
chore: simplify colorizer
2020-06-21 19:13:54 -04:00
Andrey Sitnik
04b816cbde
Remove Babel
2020-06-21 19:13:52 -04:00
Andrey Sitnik
f43a45a907
Use .es6 ext for ES6 sources
2015-08-17 16:20:40 +03:00
Andrey Sitnik
87ba8dc66a
Use ES7 syntax to set class properties
2015-08-17 16:20:38 +03:00
Andrey Sitnik
3237bbc595
Use supports-color library
2015-08-17 16:20:37 +03:00
Andrey Sitnik
975c81918b
Better color support detect
2015-08-17 16:20:37 +03:00
Andrey Sitnik
c128e5b954
Clean up code styles
2015-08-17 16:20:37 +03:00
Andrey Sitnik
36de407319
Autofill CssSyntaxError#plugin and fix async errors
2015-05-11 15:20:56 +03:00
Andrey Sitnik
237ae50fe2
Update to Babel 5.0
2015-04-03 13:57:15 +03:00
Andrey Sitnik
431bd996e8
Show deprecated message only once
2015-04-02 10:00:03 +03:00
Andrey Sitnik
0149cc1314
Fix highlight alias
2015-03-30 18:43:05 +03:00
Andrey Sitnik
50c0f9c29e
Typo
2015-03-30 18:36:06 +03:00
Andrey Sitnik
5cd3aed26b
Add CssSyntaxError#highlight alias
2015-03-30 18:32:20 +03:00
Andrey Sitnik
2fddb6b2d5
Add space between plugin name and file source
2015-03-30 12:42:55 +03:00
Andrey Sitnik
bd45c54314
Add sourceContent check to CssSyntaxError#showSourceCode
2015-03-14 22:02:50 +03:00
Andrey Sitnik
6d598da2d7
Rename CssSyntaxError#highlight to showSourceCode
2015-03-14 22:02:50 +03:00
Andrey Sitnik
709200a2b4
Lint code with ESLint
2015-03-14 22:02:49 +03:00
Andrey Sitnik
6a43f7b367
Add CssSyntaxError#plugin
2015-03-14 22:02:49 +03:00
Andrey Sitnik
f6fdad7c59
Add Result#messages
2015-03-14 22:02:49 +03:00
Andrey Sitnik
9eb7f69d31
Remove outdated comments because we have API.md
2015-03-14 22:02:49 +03:00
Andrey Sitnik
35e3c61417
Use ES6 export statement instead of module.exports
2015-02-14 13:17:18 +03:00
Andrey Sitnik
912d6ea2a0
Use ES6 import
2015-02-02 07:07:53 +03:00
Andrey Sitnik
f795d54381
Add class name to CssSyntaxError output
2014-12-28 20:30:26 +01:00
Andrey Sitnik
f369fdc96e
Move source map code from CssSyntaxError to Input
2014-12-27 00:24:13 +03:00
Andrey Sitnik
a89f67d262
Better error stack generation
2014-11-27 16:56:35 +03:00
Maxime Thirouin and Andrey Sitnik
3c2de003cf
Enhanced exceptions & stack trace
2014-11-27 16:44:36 +03:00
Andrey Sitnik
753fef0774
Fix tokenizer error handling
2014-11-10 16:15:31 +03:00
Andrey Sitnik
c441091ab7
Add comments
2014-11-06 13:22:04 +03:00
Andrey Sitnik
f7b6c760a8
Fix errors when source map do no show origin
2014-11-06 13:22:04 +03:00
Andrey Sitnik
82d7a1aa0f
Add Input class to take repeated code from Parser and Tokenizer
2014-11-06 13:22:04 +03:00
Andrey Sitnik
88e513d9ad
Use separated argument for map in CssSyntaxError
2014-11-06 13:22:04 +03:00
Andrey Sitnik
c1342b1ffb
Use source map in syntax errors
2014-11-06 13:22:04 +03:00
Andrey Sitnik
d92d0a3fe6
Use GNU style syntax error messages
2014-08-12 15:28:03 +04:00
Andrey Sitnik
dfb6bede98
Add CssSyntaxError#reason
2014-08-11 15:43:15 +04:00
Andrey Sitnik
1053719e4e
Safer color check for non-Node envs
2014-07-27 00:21:14 +04:00
Andrey Sitnik
fd298ebbed
Remove unnecessary error argument
2014-07-26 20:26:53 +04:00
Andrey Sitnik
dd5b227cda
Add CSS example to syntax error
2014-07-26 20:22:43 +04:00
Andrey Sitnik
0b894e2044
Add JS lint and fix all warnings
2014-07-08 18:30:53 +11:00