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:
@@ -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
|
||||||
|
@@ -27,7 +27,12 @@
|
|||||||
"$": true,
|
"$": true,
|
||||||
"moment": true
|
"moment": true
|
||||||
},
|
},
|
||||||
|
"plugins": [
|
||||||
|
"react"
|
||||||
|
],
|
||||||
"rules": {
|
"rules": {
|
||||||
|
"react/jsx-uses-vars": 1,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Strict mode
|
* Strict mode
|
||||||
*/
|
*/
|
||||||
|
@@ -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
|
||||||
|
@@ -27,7 +27,12 @@
|
|||||||
"$": true,
|
"$": true,
|
||||||
"moment": true
|
"moment": true
|
||||||
},
|
},
|
||||||
|
"plugins": [
|
||||||
|
"react"
|
||||||
|
],
|
||||||
"rules": {
|
"rules": {
|
||||||
|
"react/jsx-uses-vars": 1,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Strict mode
|
* Strict mode
|
||||||
*/
|
*/
|
||||||
|
@@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user