Skip to content

Commit c9c5cd4

Browse files
authored
Merge pull request #61 from FullstackAcademy/f/relax-rules
F/relax rules
2 parents 7987114 + 4877759 commit c9c5cd4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
[![Built at Fullstack Academy](https://img.shields.io/badge/built%20at-Fullstack%20Academy-green.svg)](http://www.fullstackacademy.com)
66
[![npm version](https://img.shields.io/npm/v/eslint-config-fullstack.svg?maxAge=3600)](https://www.npmjs.com/package/eslint-config-fullstack)
7-
[![Codeship](https://img.shields.io/codeship/4ae0bfb0-1c07-0134-222f-22fb94432a98.svg)](https://codeship.com/projects/159804)
7+
[![Build Status](https://travis-ci.org/FullstackAcademy/eslint-config-fullstack.svg?branch=master)](https://travis-ci.org/FullstackAcademy/eslint-config-fullstack)
88
[![Greenkeeper badge](https://badges.greenkeeper.io/FullstackAcademy/eslint-config-fullstack.svg)](https://greenkeeper.io/)
99

1010
### An ESLint [Shareable Config](http://eslint.org/docs/developer-guide/shareable-configs) for [Fullstack Education Group](http://www.fullstackacademy.com/) Students

rules/base.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ module.exports = {
180180
'func-style': 0, // enforce the consistent use of either `function` declarations or expressions
181181
'function-paren-newline': [1, 'consistent'], // enforce consistent line breaks inside function parentheses
182182
'id-blacklist': 0, // disallow specified identifiers
183-
'id-length': [1, { exceptions: ['_', '$', 'i', 'j', 'k'] }], // enforce minimum and maximum identifier lengths
183+
'id-length': [0, { exceptions: ['_', '$', 'i', 'j', 'k'] }], // enforce minimum and maximum identifier lengths
184184
'id-match': 0, // require identifiers to match a specified regular expression
185185
'implicit-arrow-linebreak': 0, // enforce the location of arrow function bodies
186186
indent: [
@@ -220,7 +220,7 @@ module.exports = {
220220
'no-multi-assign': 0, // disallow use of chained assignment expressions
221221
'no-multiple-empty-lines': [1, { max: 2, maxEOF: 1 }], // disallow multiple empty lines
222222
'no-negated-condition': 0, // disallow negated conditions
223-
'no-nested-ternary': 1, // disallow nested ternary expressions
223+
'no-nested-ternary': 0, // disallow nested ternary expressions
224224
'no-new-object': 0, // disallow `Object` constructors
225225
'no-plusplus': 0, // disallow the unary operators `++` and `--`
226226
'no-restricted-syntax': 0, // disallow specified syntax

rules/react.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ module.exports = {
5757
'react/no-unused-prop-types': 1, // Prevent definitions of unused prop types
5858
'react/no-will-update-set-state': 2, // Prevent usage of `setState` in `componentWillUpdate`
5959
'react/prefer-es6-class': 1, // Enforce ES5 or ES6 class for React Components
60-
'react/prefer-stateless-function': 1, // Enforce stateless React Components to be written as a pure function
60+
'react/prefer-stateless-function': 0, // Enforce stateless React Components to be written as a pure function
6161
'react/prop-types': 0, // Prevent missing props validation in a React component definition
6262
'react/react-in-jsx-scope': 1, // Prevent missing React when using JSX,
6363
'react/require-default-props': 0, // Enforce a defaultProps definition for every prop that is not a required prop

0 commit comments

Comments
 (0)