Skip to content
Snippets Groups Projects
Commit 5ab95819 authored by sixertoy's avatar sixertoy
Browse files

:wastebasket: remove de tous les commentaires eslint en entete de fichiers

parent 239c4bd5
No related branches found
No related tags found
No related merge requests found
Showing
with 27 additions and 327 deletions
...@@ -24,17 +24,38 @@ ...@@ -24,17 +24,38 @@
"array-element-newline": ["error", "consistent"], "array-element-newline": ["error", "consistent"],
"func-style": ["error", "declaration", { "allowArrowFunctions": true }], "func-style": ["error", "declaration", { "allowArrowFunctions": true }],
"import/no-unresolved": "off", "import/no-unresolved": "off",
"indent": ["error", 4],
"max-nested-callbacks": ["error", 2],
"no-underscore-dangle": "error", "no-underscore-dangle": "error",
"quotes": ["error", "double", { "avoidEscape": false }], "quotes": ["error", "double", { "avoidEscape": false }],
"react/jsx-indent": [ "react/jsx-indent": [
"error", 2,
4, 2,
{ "checkAttributes": false, "indentLogicalExpressions": true } { "checkAttributes": false, "indentLogicalExpressions": true }
], ],
"react/jsx-indent-props": ["error", 4], "react/jsx-indent-props": [2, 2],
"react/react-in-jsx-scope": "off", "react/react-in-jsx-scope": "off",
"semi": ["error", "never"] "indent": [2, 2],
"semi": [2, "always"],
"max-nested-callbacks": [2, { "max": 4 }],
"react/jsx-closing-bracket-location": [
2,
{
"nonEmpty": false,
"selfClosing": false
}
],
"jsx-a11y/anchor-is-valid": [
2,
{
"components": ["Link"],
"specialLink": ["hrefLeft", "hrefRight"]
}
],
"import/order": [
2,
{
"newlines-between": "always",
"groups": ["builtin", "external", "parent", "sibling", "index"]
}
]
} }
} }
/* eslint
indent: [2, 2],
semi: [2, "always"],
react/jsx-indent: [2, 2],
react/jsx-indent-props: [2, 2],
max-nested-callbacks: [2, { "max": 4 }],
react/jsx-closing-bracket-location: [2, {
"nonEmpty": false,
"selfClosing": false
}],
"jsx-a11y/anchor-is-valid": [2, {
"components": ["Link"],
"specialLink": ["hrefLeft", "hrefRight"]
}],
import/order: [2, {
newlines-between: "always",
groups: ["builtin", "external", "parent", "sibling", "index"]
}],
camelcase: 0,
*/
import { connect } from "react-redux" import { connect } from "react-redux"
import MyComponent from "./my-component" import MyComponent from "./my-component"
......
/* eslint
indent: [2, 2],
semi: [2, "always"],
react/jsx-indent: [2, 2],
react/jsx-indent-props: [2, 2],
max-nested-callbacks: [2, { "max": 4 }],
react/jsx-closing-bracket-location: [2, {
"nonEmpty": false,
"selfClosing": false
}],
"jsx-a11y/anchor-is-valid": [2, {
"components": ["Link"],
"specialLink": ["hrefLeft", "hrefRight"]
}],
import/order: [2, {
newlines-between: "always",
groups: ["builtin", "external", "parent", "sibling", "index"]
}]
*/
import PropTypes from "prop-types" import PropTypes from "prop-types"
import { withStyles } from "@material-ui/core/styles" import { withStyles } from "@material-ui/core/styles"
......
/* eslint
indent: [2, 2],
semi: [2, "always"],
react/jsx-indent: [2, 2],
react/jsx-indent-props: [2, 2]
max-nested-callbacks: [2, { "max": 4 }]
*/
import { createShallow } from "@material-ui/core/test-utils" import { createShallow } from "@material-ui/core/test-utils"
import MyComponent from "../index" import MyComponent from "../index"
......
/* eslint
indent: [2, 2],
semi: [2, "always"],
react/jsx-indent: [2, 2],
react/jsx-indent-props: [2, 2],
react/jsx-closing-bracket-location: [2, {
"nonEmpty": false,
"selfClosing": false
}],
"jsx-a11y/anchor-is-valid": [2, {
"components": ["Link"],
"specialLink": ["hrefLeft", "hrefRight"]
}],
import/order: [2, {
newlines-between: "always",
groups: ["builtin", "external", "parent", "sibling", "index"]
}]
*/
import { PureComponent } from "react" import { PureComponent } from "react"
import PropTypes from "prop-types" import PropTypes from "prop-types"
import { withStyles } from "@material-ui/core/styles" import { withStyles } from "@material-ui/core/styles"
......
/* eslint
indent: [2, 2],
semi: [2, "always"],
react/jsx-indent: [2, 2],
react/jsx-indent-props: [2, 2],
max-nested-callbacks: [2, { "max": 4 }],
react/jsx-closing-bracket-location: [2, {
"nonEmpty": false,
"selfClosing": false
}],
"jsx-a11y/anchor-is-valid": [2, {
"components": ["Link"],
"specialLink": ["hrefLeft", "hrefRight"]
}],
import/order: [2, {
newlines-between: "always",
groups: ["builtin", "external", "parent", "sibling", "index"]
}]
*/
const DEFAULT_STATE = false const DEFAULT_STATE = false
const myStore = (state = DEFAULT_STATE, action) => { const myStore = (state = DEFAULT_STATE, action) => {
......
/* eslint
indent: [2, 2],
semi: [2, "always"],
react/jsx-indent: [2, 2],
react/jsx-indent-props: [2, 2],
import/order: [2, {
newlines-between: "always",
groups: ["builtin", "external", "parent", "sibling", "index"]
}]
*/
function babelConfig(api) { function babelConfig(api) {
api.cache(true); api.cache(true);
......
/* eslint
indent: [2, 2],
semi: [2, "always"],
react/jsx-indent: [2, 2],
react/jsx-indent-props: [2, 2],
max-nested-callbacks: [2, { "max": 4 }],
react/jsx-closing-bracket-location: [2, {
"nonEmpty": false,
"selfClosing": false
}],
"jsx-a11y/anchor-is-valid": [2, {
"components": ["Link"],
"specialLink": ["hrefLeft", "hrefRight"]
}],
import/order: [2, {
newlines-between: "always",
groups: ["builtin", "external", "parent", "sibling", "index"]
}],
camelcase: 0,
*/
import React from "react"; import React from "react";
import PropTypes from "prop-types"; import PropTypes from "prop-types";
import classNames from "classnames"; import classNames from "classnames";
......
/* eslint
indent: [2, 2],
semi: [2, "always"],
react/jsx-indent: [2, 2],
react/jsx-indent-props: [2, 2],
max-nested-callbacks: [2, { "max": 4 }],
react/jsx-closing-bracket-location: [2, {
"nonEmpty": false,
"selfClosing": false
}],
"jsx-a11y/anchor-is-valid": [2, {
"components": ["Link"],
"specialLink": ["hrefLeft", "hrefRight"]
}],
import/order: [2, {
newlines-between: "always",
groups: ["builtin", "external", "parent", "sibling", "index"]
}],
camelcase: 0,
*/
import { Grid } from "@material-ui/core"; import { Grid } from "@material-ui/core";
import SimpleCard from "./SimpleCard"; import SimpleCard from "./SimpleCard";
......
/* eslint
indent: [2, 2],
semi: [2, "always"],
react/jsx-indent: [2, 2],
react/jsx-indent-props: [2, 2],
max-nested-callbacks: [2, { "max": 4 }],
react/jsx-closing-bracket-location: [2, {
"nonEmpty": false,
"selfClosing": false
}],
"jsx-a11y/anchor-is-valid": [2, {
"components": ["Link"],
"specialLink": ["hrefLeft", "hrefRight"]
}],
import/order: [2, {
newlines-between: "always",
groups: ["builtin", "external", "parent", "sibling", "index"]
}],
camelcase: 0,
*/
import PropTypes from "prop-types"; import PropTypes from "prop-types";
import Paper from "@material-ui/core/Paper"; import Paper from "@material-ui/core/Paper";
import { withStyles } from "@material-ui/core/styles/"; import { withStyles } from "@material-ui/core/styles/";
......
/* eslint
indent: [2, 2],
semi: [2, "always"],
react/jsx-indent: [2, 2],
react/jsx-indent-props: [2, 2],
max-nested-callbacks: [2, { "max": 4 }],
react/jsx-closing-bracket-location: [2, {
"nonEmpty": false,
"selfClosing": false
}],
"jsx-a11y/anchor-is-valid": [2, {
"components": ["Link"],
"specialLink": ["hrefLeft", "hrefRight"]
}],
import/order: [2, {
newlines-between: "always",
groups: ["builtin", "external", "parent", "sibling", "index"]
}]
*/
import PropTypes from "prop-types"; import PropTypes from "prop-types";
import { flow, get } from "lodash"; import { flow, get } from "lodash";
import { Fragment, PureComponent } from "react"; import { Fragment, PureComponent } from "react";
......
/* eslint
indent: [2, 2],
semi: [2, "always"],
react/jsx-indent: [2, 2],
react/jsx-indent-props: [2, 2],
max-nested-callbacks: [2, { "max": 4 }],
react/jsx-closing-bracket-location: [2, {
"nonEmpty": false,
"selfClosing": false
}],
"jsx-a11y/anchor-is-valid": [2, {
"components": ["Link"],
"specialLink": ["hrefLeft", "hrefRight"]
}],
import/order: [2, {
newlines-between: "always",
groups: ["builtin", "external", "parent", "sibling", "index"]
}],
camelcase: 0,
*/
import { PureComponent } from "react"; import { PureComponent } from "react";
import PropTypes from "prop-types"; import PropTypes from "prop-types";
import { withStyles } from "@material-ui/core/styles"; import { withStyles } from "@material-ui/core/styles";
......
/* eslint
indent: [2, 2],
semi: [2, "always"],
react/jsx-indent: [2, 2],
react/jsx-indent-props: [2, 2],
max-nested-callbacks: [2, { "max": 4 }],
react/jsx-closing-bracket-location: [2, {
"nonEmpty": false,
"selfClosing": false
}],
"jsx-a11y/anchor-is-valid": [2, {
"components": ["Link"],
"specialLink": ["hrefLeft", "hrefRight"]
}],
import/order: [2, {
newlines-between: "always",
groups: ["builtin", "external", "parent", "sibling", "index"]
}],
camelcase: 0,
*/
import React from "react"; import React from "react";
import FormControl from "@material-ui/core/FormControl"; import FormControl from "@material-ui/core/FormControl";
import FormGroup from "@material-ui/core/FormGroup"; import FormGroup from "@material-ui/core/FormGroup";
......
/* eslint
indent: [2, 2],
semi: [2, "always"],
react/jsx-indent: [2, 2,{indentLogicalExpressions: false}],
react/jsx-indent-props: [2, 2],
import/order: [2, {
newlines-between: "always",
groups: ["builtin", "external", "parent", "sibling", "index"]
}]
*/
import { get } from "lodash"; import { get } from "lodash";
import fetch from "isomorphic-fetch"; import fetch from "isomorphic-fetch";
......
/* eslint
indent: [2, 2],
semi: [2, "always"],
react/jsx-indent: [2, 2,{indentLogicalExpressions: false}],
react/jsx-indent-props: [2, 2],
import/order: [2, {
newlines-between: "always",
groups: ["builtin", "external", "parent", "sibling", "index"]
}]
*/
import fetch from "isomorphic-fetch"; import fetch from "isomorphic-fetch";
import { loadingStart, loadingComplete } from "../loading"; import { loadingStart, loadingComplete } from "../loading";
......
/* eslint
indent: [2, 2],
semi: [2, "always"],
react/jsx-indent: [2, 2,{indentLogicalExpressions: false}],
react/jsx-indent-props: [2, 2],
import/order: [2, {
newlines-between: "always",
groups: ["builtin", "external", "parent", "sibling", "index"]
}]
*/
/* /*
const endpoint = this.endpoint(); const endpoint = this.endpoint();
const { reforme } = this.state; const { reforme } = this.state;
......
/* eslint
indent: [2, 2],
semi: [2, "always"],
react/jsx-indent: [2, 2],
react/jsx-indent-props: [2, 2],
max-nested-callbacks: [2, { "max": 4 }],
react/jsx-closing-bracket-location: [2, {
"nonEmpty": false,
"selfClosing": false
}],
"jsx-a11y/anchor-is-valid": [2, {
"components": ["Link"],
"specialLink": ["hrefLeft", "hrefRight"]
}],
import/order: [2, {
newlines-between: "always",
groups: ["builtin", "external", "parent", "sibling", "index"]
}],
camelcase: 0,
*/
const addTranche = () => { const addTranche = () => {
const type = "onAddTranche"; const type = "onAddTranche";
return { type }; return { type };
......
/* eslint
indent: [2, 2],
semi: [2, "always"],
react/jsx-indent: [2, 2],
react/jsx-indent-props: [2, 2],
max-nested-callbacks: [2, { "max": 4 }],
react/jsx-closing-bracket-location: [2, {
"nonEmpty": false,
"selfClosing": false
}],
"jsx-a11y/anchor-is-valid": [2, {
"components": ["Link"],
"specialLink": ["hrefLeft", "hrefRight"]
}],
import/order: [2, {
newlines-between: "always",
groups: ["builtin", "external", "parent", "sibling", "index"]
}],
camelcase: 0,
*/
const removeTranche = () => { const removeTranche = () => {
const type = "onRemoveTranche"; const type = "onRemoveTranche";
return { type }; return { type };
......
/* eslint
indent: [2, 2],
semi: [2, "always"],
react/jsx-indent: [2, 2],
react/jsx-indent-props: [2, 2],
max-nested-callbacks: [2, { "max": 4 }],
react/jsx-closing-bracket-location: [2, {
"nonEmpty": false,
"selfClosing": false
}],
"jsx-a11y/anchor-is-valid": [2, {
"components": ["Link"],
"specialLink": ["hrefLeft", "hrefRight"]
}],
import/order: [2, {
newlines-between: "always",
groups: ["builtin", "external", "parent", "sibling", "index"]
}],
camelcase: 0,
*/
const updateReformeByName = (name, prevValue) => { const updateReformeByName = (name, prevValue) => {
let type = null; let type = null;
const value = prevValue === "" ? 0 : prevValue; const value = prevValue === "" ? 0 : prevValue;
......
/* eslint
indent: [2, 2],
semi: [2, "always"],
react/jsx-indent: [2, 2],
react/jsx-indent-props: [2, 2],
max-nested-callbacks: [2, { "max": 4 }],
react/jsx-closing-bracket-location: [2, {
"nonEmpty": false,
"selfClosing": false
}],
"jsx-a11y/anchor-is-valid": [2, {
"components": ["Link"],
"specialLink": ["hrefLeft", "hrefRight"]
}],
import/order: [2, {
newlines-between: "always",
groups: ["builtin", "external", "parent", "sibling", "index"]
}]
*/
const updateCasTypeOutreMer = (casTypeIndex, casTypeOutreMerIndex) => ({ const updateCasTypeOutreMer = (casTypeIndex, casTypeOutreMerIndex) => ({
type: "onUpdateCasTypeOutreMer", type: "onUpdateCasTypeOutreMer",
casTypeIndex, casTypeIndex,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment