diff --git a/custom-variables.el b/custom-variables.el index 6b870bb..cc93c8b 100644 --- a/custom-variables.el +++ b/custom-variables.el @@ -50,6 +50,7 @@ '(fci-handle-truncate-lines nil) '(fci-rule-width 1) '(fill-column 78) + '(flycheck-rubocop-lint-only t) '(fringe-mode 0 nil (fringe)) '(global-auto-revert-mode t) '(global-undo-tree-mode t) diff --git a/mode-customizations/coffee-mode.el b/mode-customizations/coffee-mode.el index ef0daea..97e79a8 100644 --- a/mode-customizations/coffee-mode.el +++ b/mode-customizations/coffee-mode.el @@ -4,7 +4,7 @@ (defun customizations-for-coffee-mode () (interactive) (flyspell-prog-mode) - (flymake-coffee-load) + (flycheck-mode) (linum-mode t) (fci-mode) (auto-complete-mode) diff --git a/mode-customizations/haml-mode.el b/mode-customizations/haml-mode.el index a0c98d3..9247ca5 100644 --- a/mode-customizations/haml-mode.el +++ b/mode-customizations/haml-mode.el @@ -3,7 +3,7 @@ (defun customizations-for-haml-mode () (interactive) (flyspell-prog-mode) - (flymake-haml-load) + (flycheck-mode) (linum-mode t) (fci-mode) (auto-complete-mode) diff --git a/mode-customizations/js-mode.el b/mode-customizations/js-mode.el index fc1c4a3..eff2858 100644 --- a/mode-customizations/js-mode.el +++ b/mode-customizations/js-mode.el @@ -2,6 +2,7 @@ (interactive) (setq js-indent-level 2) (flyspell-prog-mode) + (flycheck-mode) (linum-mode t) (fci-mode) (auto-complete-mode) diff --git a/mode-customizations/makefile-mode.el b/mode-customizations/makefile-mode.el index b39a28a..82c7463 100644 --- a/mode-customizations/makefile-mode.el +++ b/mode-customizations/makefile-mode.el @@ -1,6 +1,7 @@ (defun customizations-for-makefile-mode () (interactive) (flyspell-prog-mode) + (flycheck-mode) (linum-mode t) (fci-mode) (auto-complete-mode) diff --git a/mode-customizations/ruby-mode.el b/mode-customizations/ruby-mode.el index baf7068..71568c1 100644 --- a/mode-customizations/ruby-mode.el +++ b/mode-customizations/ruby-mode.el @@ -41,7 +41,7 @@ (highlight-indentation-mode) (highlight-indentation-current-column-mode) (hs-minor-mode 1) - (flymake-ruby-load) + (flycheck-mode) (subword-mode) (setq ruby-deep-arglist nil) (setq ruby-deep-indent-paren nil) diff --git a/mode-customizations/sass-mode.el b/mode-customizations/sass-mode.el index 2c8eb35..232d5d6 100644 --- a/mode-customizations/sass-mode.el +++ b/mode-customizations/sass-mode.el @@ -1,7 +1,7 @@ (defun customizations-for-sass-mode () (interactive) (flyspell-prog-mode) - (flymake-sass-load) + (flycheck-mode) (linum-mode t) (fci-mode) (auto-complete-mode) diff --git a/mode-customizations/sh-mode.el b/mode-customizations/sh-mode.el index 54a9275..04f3b68 100644 --- a/mode-customizations/sh-mode.el +++ b/mode-customizations/sh-mode.el @@ -6,7 +6,7 @@ (defun customizations-for-sh-mode () (interactive) (flyspell-prog-mode) - (flymake-shell-load) + (flycheck-mode) (linum-mode t) (fci-mode) (auto-complete-mode) diff --git a/mode-customizations/yaml-mode.el b/mode-customizations/yaml-mode.el index 41da857..ba4b7a8 100644 --- a/mode-customizations/yaml-mode.el +++ b/mode-customizations/yaml-mode.el @@ -5,6 +5,7 @@ (defun customizations-for-yaml-mode () (interactive) (flyspell-prog-mode) + (flycheck-mode) (linum-mode t) (fci-mode) (auto-complete-mode) diff --git a/packages.el b/packages.el index 79fc75c..2de3ba1 100644 --- a/packages.el +++ b/packages.el @@ -39,14 +39,10 @@ expand-region feature-mode fill-column-indicator - flymake-coffee + flycheck flymake-css flymake-cursor - flymake-haml flymake-php - flymake-ruby - flymake-sass - flymake-shell full-ack gitconfig-mode github-browse-file