Skip to content
This repository has been archived by the owner on Oct 6, 2020. It is now read-only.

Commit

Permalink
shore(eslint): mise à jour
Browse files Browse the repository at this point in the history
closes #108
closes #106,
closes #104
  • Loading branch information
gtoubiana committed Apr 28, 2016
1 parent 66241ca commit f6135fa
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "airbnb/legacy",
"extends": "airbnb-base/legacy",

"env": {
"browser": true,
Expand Down
Binary file modified dist/acte-0.0.6-dist.zip
Binary file not shown.
1 change: 1 addition & 0 deletions gulp/tasks/depcheck.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ require('babel-plugin-transform-es2015-typeof-symbol');
require('babel-plugin-transform-es2015-unicode-regex');
require('babel-plugin-transform-regenerator');
require('eslint-config-airbnb');
require('eslint-config-airbnb-base');
require('eslint-plugin-import');
require('eslint-plugin-jsx-a11y');
require('eslint-plugin-react');
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,9 @@
"del": "^2.2.0",
"eslint": "^2.8.0",
"eslint-config-airbnb": "^8.0.0",
"eslint-plugin-import": "^1.5.0",
"eslint-plugin-jsx-a11y": "^1.0.2",
"eslint-config-airbnb-base": "^1.0.4",
"eslint-plugin-import": "^1.6.1",
"eslint-plugin-jsx-a11y": "^1.0.3",
"eslint-plugin-react": "^5.0.1",
"graceful-fs": "^4.1.3",
"gulp": "^3.9.1",
Expand Down
2 changes: 1 addition & 1 deletion src/js/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"no-undef": 0, // /methodes/* et /utilitaires/* utilisent /utilitaires/* et /constantes/*
"max-len": [2, 78, 2], // 80 - 2 = indentation du module UMD
"no-restricted-syntax": 0,

"consistent-this": [1, "that"], // enforce consistent naming when capturing the current execution context
"func-style": [1, "expression"], // enforce use of function declarations or expressions
"id-length": [1, { // this option enforces minimum and maximum identifier lengths (variable names, property names etc.) - custom
Expand Down

0 comments on commit f6135fa

Please sign in to comment.