Permalink
Commits on Jan 18, 2017
  1. Ignore home config from disableWhenNoEslintConfig (#778)

    * Ignore home config from disableWhenNoEslintConfig
    
    * Move isConfigAtHomeRoot to its own file
    
    It needs to be used in both worker and non-worker, so it’s easiest
    to just put it in its own file for now until we re-structure.
    
    * Extract copyFileToTempDir as test helper function
    
    * Move temp dir creation to `copyFileToTempDir`
    IanVS committed on GitHub Jan 18, 2017
Commits on Jan 9, 2017
  1. Determine fix results based on exit code (#777)

    * Determine fix results based on exit code
    
    Perhaps in the past ESLint threw an error if `--fix` did not fix all of
    the errors in a file.  Or, maybe this logic was flawed from the start.
    Either way, this change just looks at the exit code (`0` if there are 
    no linting errors left, `1` if there are), and returns an appropriate
    string.  Both cases are really success messages, there were no errors.
    
    If there was an error for some reason, we need to print the `err.message`
    string, because `addWarning` expects a string, not an error object.
    
    * Do not attempt to fix on save when disabled
    
    If `disableWhenNoEslintConfig` is disabling linting, we should also
    not be trying to perform an autofix.
    
    * Observe disableWhenNoEslintConfig config
    IanVS committed on GitHub Jan 9, 2017
Commits on Jan 6, 2017
  1. Update dependencies to enable Greenkeeper 🌴 (#769)

    * chore(package): update dependencies
    
    https://greenkeeper.io/
    
    * Update peerDependencies
    
    Update to the following to satisfy the peerDependencies:
    
    * `eslint@^3.12.0`
    * `eslint-plugin-import@^2.2.0`
    greenkeeper[bot] committed with Arcanemagus Jan 6, 2017
Commits on Dec 8, 2016
  1. Merge pull request #762 from AtomLinter/arcanemagus/update-transcoding

    Move to babel-cli
    Arcanemagus committed on GitHub Dec 8, 2016
Commits on Dec 6, 2016
  1. Move to babel-cli

    Replace the current `ucompiler` setup with a standard `babel-cli` setup,
    along with a configuration that transpiles _only_ what is necessary,
    instead of the current method of transpiling everything that _might_ be
    needed. This currently transpiles to support for Node.js v5 as that is
    what Atom v1.10.0 ships with, which is our current minimum version.
    Arcanemagus committed Dec 6, 2016
  2. Merge pull request #761 from AtomLinter/arcanemagus/graceful-invalid-…

    …point
    
    Gracefully handle invalid points
    Arcanemagus committed on GitHub Dec 6, 2016
  3. Re-throw unknown errors

    If the error doesn't look like one from rangeFromLineNumber, then just re-throw it.
    Arcanemagus committed Dec 6, 2016
  4. Note position index conversion

    Provide a note in the code as to why the points are all having 1
    subtracted from them.
    Arcanemagus committed Dec 6, 2016
Commits on Dec 1, 2016
  1. Fix debug specs

    Correct the specs for the updated debug text.
    Arcanemagus committed Dec 1, 2016
  2. Escape rule name in generated issue

    Make the rule name in the generated issue show as code instead of raw
    text.
    Arcanemagus committed Dec 1, 2016
  3. Properly pass the worker

    The worker wasn't being passed into the call to `getDebugInfo()`
    properly.
    Arcanemagus committed Dec 1, 2016
  4. Move invalid point trace generation to a function

    The generation of the trace messages doesn't need to be in the main
    message processing.
    Arcanemagus committed Dec 1, 2016
  5. Move message processing to a helper function

    Move processing of messages to a helper function so the code isn't as
    complex in the main program.
    Arcanemagus committed Dec 1, 2016
  6. Convert invalid points to Linter messages

    Instead of throwing errors, trap the message and create a Linter message
    telling the user that something went wrong. Include a link to report the
    problem including all the debug information.
    Arcanemagus committed Dec 1, 2016
  7. Move debug string generation to helper

    Move the generation of the debug string to a helper function as we will be
    using to also generate debug information when creating an issue.
    Arcanemagus committed Nov 21, 2016
Commits on Nov 21, 2016
  1. Update eslint-config-airbnb-base to the latest version πŸš€ (#745)

    * chore(package): update eslint-config-airbnb-base to version 10.0.0
    
    https://greenkeeper.io/
    
    * Update peerDependencies
    
    Update the minimum dev versions to:
    * [email protected]
    * [email protected]
    
    * Cleanup ESLint config a little bit
    
    Just removing some sections that are duplicated in `eslint-config-airbnb-base`.
    greenkeeper[bot] committed with Arcanemagus Nov 21, 2016
Commits on Oct 31, 2016
  1. Update dependencies to enable Greenkeeper 🌴 (#744)

    * chore(package): update dependencies
    
    https://greenkeeper.io/
    
    * Update ESLint to v3.8.0
    
    Minimum version to satisfy the peerDependency of
    `[email protected]`.
    greenkeeper[bot] committed with Arcanemagus Oct 31, 2016
Commits on Oct 22, 2016
  1. Merge pull request #742 from AtomLinter/issue-template

    Add issue template
    IanVS committed on GitHub Oct 22, 2016
  2. Add issue template

    IanVS committed Oct 22, 2016
Commits on Oct 11, 2016
  1. Merge pull request #734 from AtomLinter/add-eslint-dev

    Add ESLint to the devDependencies
    Arcanemagus committed on GitHub Oct 11, 2016
  2. Add ESLint to the devDependencies

    As ESLint is not only a dependency of this project, but also used for
    developing it, it should have been listed in here from the start. Brought
    to the forefront by atom/ci#60 as we discovered
    that linting wasn't actually running on the CI builds.
    Arcanemagus committed Oct 11, 2016
Commits on Oct 10, 2016
  1. Prepare v8.0.0 release

    Arcanemagus committed Oct 10, 2016
  2. Add support for endLine and endColumn (#709)

    * Add support for endLine and endColumn
    
    Add support for creating a full range from an ESLint message if it
    specifies an `endLine` and `endColumn`. Also adds a `validatePoint` helper
    function to check that these coordinates given from ESLint are valid since
    we no longer have the checking built into `helpers.rangeFromLineNumber`.
    Arcanemagus committed on GitHub Oct 10, 2016
  3. Add debug command

    This is a rebase and re-commit of 2310e86,
    which was reverted in 6cd62e8.
    IanVS committed with Arcanemagus Oct 8, 2016
Commits on Oct 6, 2016
  1. Allow user to specify a local node_modules path. Continues #585

    MikeRatcliffe committed with Arcanemagus Jun 14, 2016
  2. Revert "Add debug command"

    Arcanemagus committed Oct 6, 2016
  3. Add debug command

    IanVS committed with IanVS Oct 6, 2016
Commits on Sep 28, 2016
  1. Update eslint-config-airbnb-base to version 8.0.0 πŸš€ (#715)

    * chore(package): update eslint-config-airbnb-base to version 8.0.0
    
    * Update eslint-plugin-import to v1.16.0
    
    Needed to satisfy the `peerDependencies` of
    `[email protected]`.
    
    * Fix lint issues
    
    * Update ESLint disable style
    
    Turns out you can send mutliple rules to `eslint-disable-next-line`.
    greenkeeperio-bot committed with Arcanemagus Sep 28, 2016
  2. chore(package): update eslint to version 3.6.0 (#713)

    greenkeeperio-bot committed with Arcanemagus Sep 28, 2016
  3. Merge pull request #666 from einarlove/ignore-rule-ids

    Add setting for silencing rule ids
    Arcanemagus committed on GitHub Sep 28, 2016
  4. Only specify the setting if there are rules to ignore

    If the user hasn't configured any rules, don't add the argument.
    Arcanemagus committed Sep 28, 2016
  5. Move ignoredRulesWhenModified to file scope

    Just like the other observed settings, for some reason it was out of scope
    when we tried to access it.
    Arcanemagus committed Sep 28, 2016
  6. Fix the expected value

    Update the value expected to account for the proper spec initialization.
    Arcanemagus committed Sep 28, 2016