1
0
mirror of https://github.com/flarum/core.git synced 2025-07-28 12:10:51 +02:00

Clean up editorconfig, eslint, npm dependencies

This commit is contained in:
Toby Zerner
2015-09-04 12:11:34 +09:30
parent 93b6f11484
commit c81ceafb54
6 changed files with 12 additions and 28 deletions

View File

@@ -12,21 +12,8 @@ insert_final_newline = true
indent_style = space indent_style = space
indent_size = 2 indent_size = 2
[*.js]
indent_style = space
indent_size = 2
[*.{css,less}]
indent_style = space
indent_size = 2
[*.html]
indent_style = space
indent_size = 2
[*.{diff,md}] [*.{diff,md}]
trim_trailing_whitespace = false trim_trailing_whitespace = false
[*.php] [*.php]
indent_style = space
indent_size = 4 indent_size = 4

View File

@@ -27,7 +27,12 @@
"$": true, "$": true,
"moment": true "moment": true
}, },
"plugins": [
"react"
],
"rules": { "rules": {
"react/jsx-uses-vars": 1,
/** /**
* Strict mode * Strict mode
*/ */

View File

@@ -12,21 +12,8 @@ insert_final_newline = true
indent_style = space indent_style = space
indent_size = 2 indent_size = 2
[*.js]
indent_style = space
indent_size = 2
[*.{css,less}]
indent_style = space
indent_size = 2
[*.html]
indent_style = space
indent_size = 2
[*.{diff,md}] [*.{diff,md}]
trim_trailing_whitespace = false trim_trailing_whitespace = false
[*.php] [*.php]
indent_style = space
indent_size = 4 indent_size = 4

View File

@@ -27,7 +27,12 @@
"$": true, "$": true,
"moment": true "moment": true
}, },
"plugins": [
"react"
],
"rules": { "rules": {
"react/jsx-uses-vars": 1,
/** /**
* Strict mode * Strict mode
*/ */

View File

@@ -2,6 +2,6 @@
"private": true, "private": true,
"devDependencies": { "devDependencies": {
"gulp": "^3.8.11", "gulp": "^3.8.11",
"flarum-gulp": "git+https://github.com/flarum/gulp.git" "flarum-gulp": "^0.1.0"
} }
} }

View File

@@ -2,6 +2,6 @@
"private": true, "private": true,
"devDependencies": { "devDependencies": {
"gulp": "^3.8.11", "gulp": "^3.8.11",
"flarum-gulp": "git+https://github.com/flarum/gulp.git" "flarum-gulp": "^0.1.0"
} }
} }