1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-09-15 17:50:48 +02:00

fix: enable devDependencies lint rule

This commit is contained in:
Fredrik Oseberg 2021-02-11 14:06:28 +01:00 committed by Christopher Kolstad
parent a83ee84a0c
commit e60e93b7b6
No known key found for this signature in database
GPG Key ID: 559ACB0E3DB5538A
3 changed files with 2 additions and 8 deletions

View File

@ -10,12 +10,6 @@
"root": true,
"rules": {
"class-methods-use-this": [0],
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": true
}
],
"prettier/prettier": ["error"],
"func-names": "off",
"strict": [0, "global"],

View File

@ -32,7 +32,7 @@
"start:google": "node examples/google-auth-unleash.js",
"start:dev": "NODE_ENV=development supervisor --ignore ./node_modules/,website ./dist/server-dev.js",
"db-migrate": "db-migrate --migrations-dir ./src/migrations",
"lint": "eslint .",
"lint": "eslint ./src",
"build:watch": "tsc -w",
"build:ts": "tsc",
"test": "yarn build:ts && NODE_ENV=test PORT=4243 ava",

View File

@ -1,7 +1,7 @@
'use strict';
process.env.NODE_ENV = 'test';
/* eslint-disable-next-line */
const supertest = require('supertest');
const { EventEmitter } = require('events');