1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-20 00:08:02 +01:00

fix linting #153

This commit is contained in:
Ivar 2016-09-11 22:56:17 +02:00 committed by Ivar Conradi Østhus
parent 5e47b63b9a
commit 4cf2a8c791
3 changed files with 30 additions and 8 deletions

View File

@ -0,0 +1,24 @@
{
"extends": [
"finn",
"finn-react"
],
"env": {
"browser": true,
"commonjs": true,
"es6": true
},
"rules": {
"react/sort-comp": "off"
},
"ecmaFeatures": {
"sourceType": "module"
},
"parserOptions": {
"sourceType": "module",
"ecmaFeatures": {
"jsx": true,
"experimentalObjectRestSpread": true
}
}
}

View File

@ -1,9 +1,9 @@
import React, { Component } from 'react';
export default class App extends Component {
render() {
return (
<h1>Hello, world</h1>
);
}
}
render () {
return (
<h1>Hello, world</h1>
);
}
};

View File

@ -1,5 +1,3 @@
'use strict';
import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';