This website requires JavaScript.
Explore
Help
Register
Sign In
tonyair
/
silverstripe-framework
Watch
1
Star
0
Fork
0
You've already forked silverstripe-framework
mirror of
https://github.com/silverstripe/silverstripe-framework
synced
2024-10-22 14:05:37 +02:00
Code
Issues
Projects
Releases
Wiki
Activity
cef4ab79a6
silverstripe-framework
/
.eslintrc
10 lines
107 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Add ESLint support See https://github.com/silverstripe/silverstripe-framework/pull/5108
2016-03-30 23:45:54 +02:00
{
API Update react sections to use react-router instead of page.js (#5796) Fixes #5711
2016-07-14 07:51:01 +02:00
"extends": "airbnb",
"env": {
"jasmine": true
Enforce JS var declaration with value (#5993) This caught us out recently where code did a strict type check for `myVar === undefined`. The var was defined as `let myVar;`, without a value - so the check returned false (it's `null`). To avoid this situation, we've decided to enforce declarations with values. Note that preference should be given to single, immutable assignments via const where possible. See http://eslint.org/docs/rules/init-declarations
2016-09-13 01:02:15 +02:00
},
"rules": {
"init-declarations": 1
API Update react sections to use react-router instead of page.js (#5796) Fixes #5711
2016-07-14 07:51:01 +02:00
}
Add ESLint support See https://github.com/silverstripe/silverstripe-framework/pull/5108
2016-03-30 23:45:54 +02:00
}
Reference in New Issue
Copy Permalink