Skip to content

Commit

Permalink
Fix missing import of SwiftFormat
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelmeuli committed Jan 5, 2020
1 parent 9f05d75 commit e5921ee
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/linters/index.js
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
const Black = require("./black");
const RuboCop = require("./rubocop");
const ESLint = require("./eslint");
const Flake8 = require("./flake8");
const Gofmt = require("./gofmt");
const Prettier = require("./prettier");
const RuboCop = require("./rubocop");
const Stylelint = require("./stylelint");
const SwiftFormat = require("./swiftformat");
const SwiftLint = require("./swiftlint");

const linters = {
// Linters
eslint: ESLint,
flake8: Flake8,
rubocop: RuboCop,
stylelint: Stylelint,
swiftlint: SwiftLint,
rubocop: RuboCop,

// Formatters (should be run after linters)
black: Black,
gofmt: Gofmt,
prettier: Prettier,
swiftformat: SwiftFormat,
};

module.exports = linters;

0 comments on commit e5921ee

Please sign in to comment.