59 Commits
Author SHA1 Message Date
Andrey Kim afe45db6e8 Merge branch 'main' of https://github.com/postcss/postcss into main 2021-11-17 23:55:23 +03: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 Kim c5059e1501 Convert istanbul ignores to c8 2021-11-15 23:10:13 +03:00
Andrey Sitnik a6ef4cde14 Fix Symbol description 2021-06-14 01:31:22 -04:00
Andrey Sitnik 7014f712cf Fix merge 2021-05-17 08:52:32 -04:00
Barak Igal 2840ce2d8d remove source-map from browser build 2021-05-05 12:47:14 +03:00
Barak Igal 9da797eb41 Add covrage ignore on error paths 2021-04-11 12:02:45 +03:00
87502e8429 Apply suggestions from code review
Co-authored-by: Andrey Sitnik <[email protected]>
2021-04-11 12:00:26 +03:00
Barak Igal 8a9965aa17 disable url based features 2021-04-10 13:37:54 +03:00
Andrey Sitnik 843ab11b6e Add Prettier 2021-03-11 19:11:37 -05:00
Matt Jones 01e0bc1e80 Fix formatting 2021-03-09 13:32:41 +11:00
Matt Jones c87ed2c8f9 Handle empty path object in browser builds 2021-03-09 13:21:20 +11:00
Andrey Sitnik 4f8122e557 Clean up fromJSON 2020-12-05 19:36:10 -05:00
Niklas Mischkulnig 0fdd3b8477 Hide some instance variables 2020-12-05 11:11:43 +01:00
Niklas Mischkulnig 781e433bdb Add missing test, linting, typings 2020-12-05 11:07:00 +01:00
Niklas Mischkulnig ec69e352d9 fromJSON and toJSON 2020-12-05 00:15:24 +01:00
Andrey Sitnik 59e8949012 Fix parser performance regression 2020-12-03 19:10:18 -05:00
Bogdan Chadkin 2a08850fde Convert object 2020-11-21 21:05:46 +03:00
Bogdan Chadkin 3b476ea30b Replace line-column with vfile-location
vfile-location is dependency free and quite fresh package.
https://github.com/vfile/vfile-location

line-column has outdated dependencies and was not touched in 5 years.
https://github.com/io-monad/line-column
2020-11-21 19:15:57 +03: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 bcf1dca455 Fix webpack bundling support 2020-09-15 15:11:10 -04:00
Andrey Sitnik 84a657d8be Remove line/column tracking from tokenizer 2020-09-09 01:21:14 -04:00
Andrey Sitnik 0048657b13 Add "use strict" because it may effect on tokenizer performance 2020-09-08 01:46:46 -04:00
Andrey Sitnik 96156e43c5 Fix Windows support 2020-07-28 13:56:08 -07:00
Andrey Sitnik e579368859 Remove old JSDoc 2020-07-28 12:35:55 -07:00
Andrey Sitnik 82663d7856 Work with sources as URL 2020-07-22 20:13:50 -07:00
Andrey Sitnik ffa5699271 Fix root for pathes from previous map 2020-07-22 15:27:53 -07: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 6d9f535132 Update dependencies 2020-06-21 19:13:53 -04:00
MapGridandAndrey Sitnik 982bc498c6 Fix circular dependencies (#1321)
* fix circular dependencies

* move to static methods to fix imports

* remove default import from terminal highlight
2020-06-21 19:13:53 -04:00
Andrey Sitnik 0b9bfd13e8 Fix rebase 2020-06-21 19:13:53 -04:00
Andrey Sitnik 8d6553d489 Speed up input ID generation 2020-06-21 19:13:53 -04:00
Andrey Sitnik 288d2ffdb6 Clean up code 2020-06-21 19:13:53 -04:00
Andrey Sitnik 746006b840 Use unique ID for unknown CSS sources 2020-06-21 19:13:53 -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 a400602412 Fix code from old refactoring 2015-08-17 16:20:39 +03:00
Andrey Sitnik 382de6113d Move Safe Parser to separated project 2015-08-17 16:20:39 +03:00
Andrey Sitnik 0008b3d4c2 Move to ESLint 1.0 2015-08-17 16:20:38 +03:00
Andrey Sitnik c128e5b954 Clean up code styles 2015-08-17 16:20:37 +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 788eee789b Always set error.generated 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 a6af7ab64e Clean up imports 2015-02-14 13:23: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 f369fdc96e Move source map code from CssSyntaxError to Input 2014-12-27 00:24:13 +03:00
Andrey Sitnik 694b374412 Save Input to Node 2014-12-27 00:24:13 +03:00