Skip to content
This repository has been archived by the owner on Jun 3, 2019. It is now read-only.

Commit

Permalink
XO lint update
Browse files Browse the repository at this point in the history
  • Loading branch information
ragozin-n committed Sep 16, 2017
1 parent 73628dd commit 1acd319
Show file tree
Hide file tree
Showing 16 changed files with 2,619 additions and 118 deletions.
13 changes: 13 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"extends": ["xo", "xo-react"],
"parser": "babel-eslint",
"rules": {
"react/prop-types": 0,
"react/jsx-no-bind": 0,
"no-use-before-define": 0,
"react/forbid-component-props": 0,

//experimental feature in babel-eslint
"no-undef": 0
}
}
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def enableProguardInReleaseBuilds = false

android {
compileSdkVersion 23
buildToolsVersion "23.0.1"
buildToolsVersion '25.0.0'

defaultConfig {
applicationId "com.techstackapp"
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
classpath 'com.android.tools.build:gradle:2.3.3'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
3 changes: 2 additions & 1 deletion android/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#Wed Aug 30 20:41:34 YEKT 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
4 changes: 2 additions & 2 deletions index.android.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AppRegistry } from 'react-native';
import {AppRegistry} from 'react-native';
import App from './src/app';

AppRegistry.registerComponent('TechStackApp', () => App);
AppRegistry.registerComponent('TechStackApp', () => App);
4 changes: 2 additions & 2 deletions index.ios.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AppRegistry } from 'react-native';
import {AppRegistry} from 'react-native';
import App from './src/app';

AppRegistry.registerComponent('TechStackApp', () => App);
AppRegistry.registerComponent('TechStackApp', () => App);
9 changes: 9 additions & 0 deletions jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"compilerOptions": {
"allowJs": true,
"allowSyntheticDefaultImports": true
},
"exclude": [
"node_modules"
]
}
Loading

0 comments on commit 1acd319

Please sign in to comment.