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:
parent
5e47b63b9a
commit
4cf2a8c791
24
packages/unleash-frontend-next/src/.eslintrc
Normal file
24
packages/unleash-frontend-next/src/.eslintrc
Normal 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
|
||||
}
|
||||
}
|
||||
}
|
@ -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>
|
||||
);
|
||||
}
|
||||
};
|
||||
|
@ -1,5 +1,3 @@
|
||||
'use strict';
|
||||
|
||||
import React from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
import App from './App';
|
||||
|
Loading…
Reference in New Issue
Block a user