Skip to content

Releases: atlassian/stricter

0.0.15 - Clean-up

24 Jun 09:14
Compare
Choose a tag to compare
0.0.15 - Clean-up Pre-release
Pre-release
  • Dependencies bump

0.0.14 - Precision

26 Feb 12:51
Compare
Choose a tag to compare
0.0.14 - Precision Pre-release
Pre-release
  • Add more precise time measurements for debug
  • Pass include and exclude into onProject - might be helpful for some rules

0.0.13 - Performance++

12 Feb 11:53
Compare
Choose a tag to compare
Pre-release
  • BREAKING readFilesData requires second argument srcRoots: string[]
  • Stop using Object.assign (feels bad)
  • Add debug
  • Collocate dependencies retrieval with file reads
  • Bump dependencies

0.0.12 - No more web code

20 Jan 00:58
Compare
Choose a tag to compare
Pre-release
  • Use Quantum compilation plugin (removes sniffing for web environment)
  • Replace @babel/traverse with babylon-walk
  • Add lib folder to the repo
  • Add more unit tests
  • Add coverage information
  • Bump dependencies

0.0.11 - Automated publish

28 Dec 13:18
Compare
Choose a tag to compare
Pre-release
  • Using console.log for logging - allows to pipe output
  • readDependencies accepts an array of source roots now
  • New all-dependants rule
  • Unit tests
  • Automated npm publish via Travis CI
  • Bump dependencies

0.0.9 - Technical release

20 Dec 13:04
Compare
Choose a tag to compare
Pre-release
  • Expose readDependencies and readFilesData
  • Bump dependencies

0.0.8 - yarn stricter --help

13 Dec 13:21
Compare
Choose a tag to compare
Pre-release
  • Add --reporter argument to cli
  • Add --config argument to cli
  • Stay quiet when run in continuous integration environment

0.0.7 - Improved imports

12 Dec 11:01
Compare
Choose a tag to compare
Pre-release
  • Support require import
  • Consider named and wildcard reexports as imports
  • Pass object into onProject
  • Pass rootPath into onProject
  • Support custom implicit extensions
  • stricter/unused-files support relatedEntry - entries only in case they import anything related to existing entries
  • Log 'Stricter: Checking...', so it's clear the script works
  • Adding unresolved dependencies to the list of dependencies - makes sense for node_modules
  • Readme update

0.0.6 - Plethora of goodness

11 Dec 10:20
Compare
Choose a tag to compare
Pre-release
  • Read configuration from stricter.config.js only
  • Rule files are required to end with .rule.js
  • include and exclude accept a regex, an array of regexes or a function
  • Pass file path relative to root folder to include and exclude tests
  • File contents was renamed into source
  • New log level off
  • Default log level is warning
  • ast is now a function that returns AST
  • Error code returned equals number of errors
  • Unit tests
  • Readme update

0.0.5 - First default rule

10 Dec 15:33
Compare
Choose a tag to compare
Pre-release
  • Pass rule usage config into onProject
  • Pass dependencies into onProject
  • Add stricter/unused-files rule
  • Remove onFile support for rules
  • Rules receive frozen objects as input
  • Improve readme
  • Unit tests