- upgrade @babel/core to ^7.8.3 to support new ECMAScript 2020 features by default, see #290
- upgrade stylelint to 13 and other dependencies/devDependencies
- upgrade stylelint to 12
- support new option
ignoreFiles
, which allows to skip files to be linted
- upgrade stylelint to 10, and drop supports for Node < 8 as well
- avoid
block-no-empty
error - support new option
strict
, which allows to only parseimportName
- upgrade postcss@7
- fix column number if it is at the first line of interpolation
- clean module level variables before each running
- fix line number is undefined if source is empty
- support new option
parserPlugins
, which allows to specify custom babel plugins to parse
- upgrade babylon parser to @babel/parser
- able to show parse errors to users
- support new option
importName
, which allows to import wrapper components object from other names - filter redundant warnings introduced by v1.2.0
- more intelligent guessing for interpolations
- added support for optional chaining to our babylon parser
- various minor development improvements that shouldn't affect the product
- FIX: Interpolations following multiline comments no longer incorrectly error
- README UPDATE: Recommend the recommended instead of standard syntax and no longer recommend the syntax config option for stylelint
- FIX: Moved to using babylon's new parser that handles typescript, this will fix the problems we had with interpolation tags not being useable in Typescript
- FIX: We now properly handle applying sourcemaps to CSS syntax errors and displaying correct line numbers for errors, Stylelint v9+ is required for this fix though as the biggest part of the fix was on their end
- Stylelint v9+ was added as a peerdependency due to above reasons, no promises are made with this version if you do not update your Stylelint version
- FIX: Correctly remove base indentation from injectGlobal when using tabs
- FIX: Don't throw errors on using processor without filename (with Node.js API / CLI)
- Substitute multiline interpolations with relevant multiline substitutions so line information about errors should now be correctly displayed
- FIX: Also catch errors regarding resolving absolute path of file and avoid them bubbling up to Stylelint
- Add support for Node v4
- Catch errors to avoid them bubbling up to Stylelint (which broke the Stylelint plugin for VSCode)
- upgrade typescript-eslint-parser to 9.0.0
- added support for interpolation tagging to take care of all interpolation edge cases
- added moduleName option for better support for alternative libraries using a similar API
- moved documentation to https://styled-components.com/docs/tooling#stylelint
- move typescript to devDependencies
- upgrade typescript-eslint-parser to 7.0.0
- support .extend and .attrs Styled Components attributes
- added shared stylelint config to configure a couple of rules to fit with styled-components’ style of writing CSS
- fix interpolation following a comment edge case
- rewrote our indentation handling fixing a lot of indentation rule problems
- upgrade typescript-eslint-parser to 5.0.0
- fix edge case in interpolations inside a declaration block
- parse consecutive template literals for a single property
- upgrade devDependencies
- add interpolation linting section to README
- make styled-mixin interpolation substitutes unique
- added support for multiple interpolations in a property
- handles interpolations in one-line css
- support using stylelint-disable outside of tagged template literals
- upgrade stylelint to 8.0.0
- upgrade typescript-eslint-parser to 4.0.0
- fix: move typescript from dependencies to devdependencies
- add typescript support
- add newline between components' styles
- use unique name for each wrapped selector
- fix: set stylelint result
errored
tofalse
ifwarning
does not contain errors
- initial release
- working draft