change to 2 spaces in javascript
This commit is contained in:
parent
94347e9e73
commit
b4d28e2324
@ -13,8 +13,8 @@
|
|||||||
(company-mode))))
|
(company-mode))))
|
||||||
:config
|
:config
|
||||||
;; have 4 space indentation by default
|
;; have 4 space indentation by default
|
||||||
(setq js-indent-level 4
|
(setq js-indent-level 2
|
||||||
js2-basic-offset 4
|
js2-basic-offset 2
|
||||||
js-chain-indent t)
|
js-chain-indent t)
|
||||||
|
|
||||||
;; use eslint_d insetad of eslint for faster linting
|
;; use eslint_d insetad of eslint for faster linting
|
||||||
|
Loading…
x
Reference in New Issue
Block a user