Skip to content
Permalink
Branch: master
Commits on Jun 16, 2019
  1. Update README.md

    MaxDesiatov committed Jun 16, 2019
  2. Update README.md

    MaxDesiatov committed Jun 16, 2019
Commits on Jun 13, 2019
  1. Update README.md

    MaxDesiatov committed Jun 13, 2019
  2. Update README.md

    MaxDesiatov committed Jun 13, 2019
  3. Update README.md

    MaxDesiatov committed Jun 13, 2019
Commits on Jun 4, 2019
  1. Add TokamakLogger (#104)

    hodovani committed Jun 4, 2019
    * Init TokamakLogger
    
    * Add TokamakLogger
    
    * Apply swiftformat
    
    * Fix var name
    
    * Add TokamakLogger to project
    
    * Add TokamakLoggerTest
    
    * Remove unused code form TokamakLogger
    
    * Remove logLevel proxying
    
    * Add TokamakLoggerTest
    
    * Add TokamakLoggerTest
    
    * Add TokamakLogger to TokamakCLI
    
    * Remove logLevel assignment
    
    * Add TokamakCLI options bloc to Linter.md
    
    * Remove force unwrap
    
    * Add Logger
    
    * Refactor TokamakLogHandler
    
    * Apply swift format
    
    * Fix error names
    
    * Make error enum public
Commits on May 31, 2019
  1. Fix typos in comments

    MaxDesiatov committed May 31, 2019
Commits on May 30, 2019
  1. Lint components type (#102)

    hodovani committed May 30, 2019
    * Extend HooksRule on extension
    
    * Add ComponentAsStructRule
    
    * Fix typo
    
    * Apply swiftformat
    
    * Fix violation description
    
    * Fix rule name
  2. Extend HooksRule on extension (#101)

    hodovani committed May 30, 2019
    * Extend HooksRule on extension
    
    * Simplify HooksRule
    
    * Remove return type
    
    * Add FIXME
    
    * Apply swiftformat
Commits on May 29, 2019
  1. Fix one render function rule (#100)

    hodovani committed May 29, 2019
    * Fix getComponents and OneRenderFunctionRule
    
    * Fix RenderGetsHooksRule
    
    * Refactor GetComponents
    
    * Refactor Rules
    
    * Fix RenderGetsHooksRule
    
    * Extend Node children search
    
    * Add tests to RenderGetsHooksRule
    
    * Apply swiftformat
    
    * Fix comments
Commits on May 23, 2019
  1. Lint Rules of Hooks (#98)

    hodovani committed May 23, 2019
    * Make Node Equatable
    
    * Extend Node methods
    
    * Init HooksRule
    
    * Update HooksRule tests
    
    * Update Node compare function
    
    * Add start position to Node in TokenVisitor.visitPre
    
    * Update HooksRule test
    
    * Refactor HooksRule
    
    * Fix typo in comments
    
    * Rename functions in the tests
    
    * Fix typo in comment
    
    * Move repeated code in function
    
    * Move repeated code in function
    
    * Remove repeated code
    
    * Apply swiftformat
    
    * Group repeated guards
Commits on May 20, 2019
  1. Refactor OneRenderFunction rule (#97)

    hodovani committed May 20, 2019
    * Regenerate project
    
    * Revert "Regenerate project"
    
    This reverts commit 37e676b.
    
    * Rename getRender to getOneRender
    
    * Add component type check to getOneRender
    
    * Add negative lint test
    
    * Add OneRenderFunction description
    
    * Add negative tests to RuleOfHooks
    
    * Add test file with two correct components
    
    * Refactor OneRenderFunctionRule
    
    * Apply swiftformat
    
    * Remove return from catch
    
    * Replace map with compactMap
    
    * Refactor throw violations in OneRenderFunctionRule
    
    * Fix var name typo
Commits on May 18, 2019
  1. Migrate from travis to azure (#96)

    hodovani committed May 18, 2019
    * Migrate from travis to azure
    
    * Make scripts executable
    
    * Add codecov token
    
    * Add fail key to lint.sh
    
    * Add fail flag to codecov.sh
    
    * Add azure status to README.md
  2. Move getRender to Node extension (#95)

    hodovani committed May 18, 2019
    * Make node final class
    
    * Move getRender to Node extension
    
    * Apply swiftformat
    
    * Regenerate project
Commits on May 14, 2019
  1. Add TokamakCLITests to Tokamak (#94)

    hodovani committed May 14, 2019
    * Add TokamakCLITests to Tokamak
    
    * Add TEST_PATH to Tokamak scheme
  2. Add xcodebuild exit status to travis (#93)

    hodovani committed May 14, 2019
    * Add exit status
    
    * Fix Color
    
    * Update travis.yml script
    
    * Remove unused extension
    
    * Add condition for safe
    
    * Add Color tests
    
    * Add codecov.yml
  3. Lint rules of hooks (#92)

    hodovani committed May 14, 2019
    * Remove broken test
    
    * Add OneRenderFunctionRule
    
    * Init RenderCorespondToNonPureComponentProtocolRule
    
    * Fix OneRenderFunctionRule
    
    * Apply swiftformat
    
    * Fix RenderCorespondToNonPureComponentProtocolRule
    
    * Add render check to RenderCorespondToNonPureComponentProtocolRule
    
    * Update TokenVisitor
    
    * Update getNodes
    
    * Add TokenLint helpers
    
    Add GetRender, IsConformance, TokenTypes
    
    * Remove RenderCorespondToNonPureComponentProtocolRule
    
    * Format comments
    
    * Fix GetRender
    
    * Remove TokenTypes
    
    * Replace strings with SyntaxKind rawValue
    
    * Add function to walk in graph
    
    * Add TokenVisitor init function
    
    * Add GraphWalkers to project
    
    * Update isConformance function
    
    * Update OneRenderFunctionRule
    
    * Update getFirstChildOf function
    
    * Update GraphWalkers
    
    * Add getRender function
    
    * Add RenderGetsHooksRule
    
    * Update RenderGetsHooksRule
    
    * Update RenderGetsHooksRule
    
    * Apply swiftformat
    
    * Rename getNodes to children
    
    * Remove render from GetRender
    
    * Remove IsConformance
    
    * Mode nodes helpers to `Node.swift`
    
    * Add test to Node
    
    * Fix Unused Optional Binding Violation
    
    * Fix Leading Whitespace Violation
    
    * Apply swiftformat
    
    * Fix typos
    
    * Fix typos
    
    * Remove unused code
    
    * Clean code
    
    * Move isInherited to Node
    
    * Refactor hasTokamakImport
    
    * Refactor Node
    
    * Add helpers to TokamakCLITests
    
    * Refactor code
    
    * Update TokamakCLI main
    
    * Refactor GetRender
    
    * Fix typo
    
    * Refactor rules
    
    * Refactor TokenVIsitor
    
    * Add TokamakCLI to .travis.yml
    
    * Move NodeStruct to ValidationTests
    
    * Add TEST_PATH to TokamakCLI
    
    * Refactor StyleViolation
    
    * Refactor Rule
    
    * Add SwiftCLI to Package
    
    * Apply swiftformat
    
    * Regenerate project
    
    * Update project.pbxproj
    
    * Remove package for swift-4.2
Commits on May 6, 2019
  1. Rename TokamakCLI executable to plain tokamak (#90)

    MaxDesiatov committed May 6, 2019
Commits on May 3, 2019
  1. Add SwiftCLI dependency to TokamakCLI (#89)

    hodovani committed May 3, 2019
    * Add public lintFile
    
    * Add SwiftCLI package
    
    * Add CLI to TokamakCLI
    
    * Apply swiftformat
    
    * Fix TokamakCLI version
    
    * Fix typo
    
    * Update TokamakCLI error catch
    
    * Update TokamakCLI path
    
    * Update Linter.md
    
    * Remove SRCROOT
    
    * Update Linter.md
    
    * Update XcodeReporter
    
    * Update project.pbxproj
    
    * Remove commented print
  2. Update Linter.md

    MaxDesiatov committed May 3, 2019
  3. Reenable SwiftFormat in .travis.yml (#88)

    MaxDesiatov committed May 3, 2019
Commits on May 2, 2019
  1. Make error output more readable (#87)

    hodovani committed May 2, 2019
  2. Fix walkAndGrab (#86)

    hodovani committed May 2, 2019
  3. Remove unused variables (#85)

    hodovani committed May 2, 2019
  4. Fix TokenVisitor handling of Range (#84)

    hodovani committed May 2, 2019
    * Fix TokenVisitor handling of Range
    
    * Fix class name in TokamakLintTests
    
    * Add testRange
    
    * Fix algorithm to find the token range
    
    * Add test to verify token range correctness
    
    * Remove force unwrapping
Commits on May 1, 2019
  1. Fix TokamakLint types access scope (#83)

    hodovani committed May 1, 2019
Commits on Apr 29, 2019
  1. Add lintFolder function to TokamakCLI (#82)

    hodovani committed Apr 29, 2019
    * Add lintFolder
    
    * Fix PropsIsEquatableRule
Commits on Apr 28, 2019
  1. Fix assert message in Components

    MaxDesiatov committed Apr 28, 2019
Commits on Apr 14, 2019
  1. Refactor TokamakLint (#81)

    hodovani committed Apr 14, 2019
    * Add Protocols and Models to TokamakLint
    
    * Refactor TokamakLint
    
    * Fix PropsIsEquatable test
    
    * Remove unready functional
    
    * Update TokamakLint
    
    * Remove  commented code
    
    * Move unchanged method to protocol extension
    
    * Remove internal
    
    * Fix typo
    
    * Remove unused property
    
    * Format code
    
    * Refactor PropsIsEquatableRule
    
    * Remove lintFolder test from main.swift
    
    * Remove unused variable
    
    * Remove optional fields from Location
    
    * Redactor RuleDescription and PropsIsEquatableRule
    
    * Update Location.swift
Commits on Apr 11, 2019
  1. Temporarily disable SwiftFormat in .travis.yml

    MaxDesiatov committed Apr 11, 2019
Commits on Apr 8, 2019
  1. Add TokamakLint module (#79)

    hodovani committed Apr 8, 2019
    * Init TokamakLint
    
    * Fix Package.swift
    
    * Move TokamakLint to Source
    
    * Add SwiftSyntax to TokamakLint dependencies
    
    * Rename TokamakLint to TokamaCLI
    
    * Rename Lint.swift to main.swift
    
    * Update TokamakCLI
    
    * Init Lint Test
    
    * Gererate project
    
    * Update package.swift
    
    * Clean and build
    
    * Add Lint module
    
    * Init test for one file
    
    * Init file to test props
    
    * Add test to check Props is Equatable
    
    * Add lint warning
    
    * Add warning to Props is not conformance from Equatable
    
    * Init Linter doc & clean files
    
    * Clean up code
    
    * Format code
    
    * Fix TokamakCLITest
    
    * Fix Lint functions
    
    * Remove IOU from TokenVisitor with optional
    
    * Remove Encodable conformance from Node
    
    * Remove unused file
    
    * Rename test file
    
    * Add comment of usage to `TestPropsEquatable`
    
    * Remove unwanted methods
    
    * Add scheme variable to TokamakCLI
    
    * Update Linter.md
    
    * Update TokamakCLI scheme
    
    * Update Tokamak project
    
    * Refactor TokamaLint
    
    * Fix typo
    
    * Add negative test to TokamakCLI
    
    * Change output error function
    
    * Simplify TokamakLint
    
    * Fix TokamakLintTests
    
    * Add error print to TokamakCLI
    
    * Add error print to TokamakCLI
    
    * Remove escapeHtmlSpecialCharacters
    
    * Add print error to TokamakLint
    
    * Add LintError
    
    * Remove unused LintError case
    
    * Expand LintError message
    
    * Format LintError
    
    * Format LintError
Commits on Apr 3, 2019
  1. Endorse Swift 5.0 usage in Requirements section

    MaxDesiatov committed Apr 3, 2019
Commits on Apr 1, 2019
  1. Add build jobs/stages to .travis.yml (#80)

    MaxDesiatov committed Apr 1, 2019
    This will enable testing backward compatibility thanks to the build jobs for Xcode 10.0, 10.1 and 10.2.
Commits on Mar 31, 2019
  1. Fix formatting in README

    MaxDesiatov committed Mar 31, 2019
Commits on Mar 30, 2019
  1. Add TextView to StandardComponents.md

    MaxDesiatov committed Mar 30, 2019
Older
You can’t perform that action at this time.