• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

linter-kotlin

A linter for the kotlin language using kotlinc
  • #kotlin
  • #linter
  • #lint
francis36012
0.6.0 13,051
10
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

linter-kotlin

This linter package lints .kt files using kotlinc
This package requires the language-kotlin package to be present

Package installation

This package can be installed from the package settings page by searching for and installing the linter-kotlin package.
It can also be installed using apm from the command line:

$ apm install linter-kotlin

Configuration

The package can be configured from the settings page or by editing config.cson directly.
Available configuration options are:

  • executablePath - The path to the kotlin compiler executable
    default: 'kotlinc'
  • classpath - extra classpath to be compile with
    default: ''
  • compilerOutputDir - The directory to put generated class files
    default: 'bin'
  • commandTimeout - Number of seconds to wait for the compiler default: 30

An example configuration (in config.cson):

"linter-kotlin":
executablePath: "/usr/bin/kotlinc"
classpath: "/usr/local/lib/java/somelibrary.jar:/home/user/classdir"
compilerOutputDir: "build"
commandTimeout: 30

Project specific classpath can be defined in a file called .atom_jvm_classpath

NOTE: The kotlin compiler does not support classpath wildcards
If you define classpaths that have wildcards in them, they will be ignored

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by