1
0
mirror of https://github.com/ipdb/website.git synced 2024-11-13 16:54:50 +01:00

fix linting for now

This commit is contained in:
Matthias Kretschmann 2017-08-09 17:38:44 +02:00
parent ec78368983
commit 70f0a0010d
Signed by: m
GPG Key ID: 606EEEF3C479A91F
4 changed files with 11 additions and 1 deletions

3
.eslintrc Normal file
View File

@ -0,0 +1,3 @@
{
"extends": "ascribe"
}

View File

@ -1,3 +1,5 @@
/* eslint-disable */
/**
* Returns true or false based on whether doNotTack is enabled. It also takes into account the
* anomalies, such as !bugzilla 887703, which effect versions of Fx 31 and lower. It also handles

View File

@ -1 +1,4 @@
/* eslint-disable */
//=include _dnt.js

View File

@ -12,7 +12,9 @@
"scripts": {
"start": "gulp",
"build": "gulp build --production",
"test": "eslint _src/_assets/js/* && stylelint _src/_assets/styles/**/*.scss"
"eslint": "./node_modules/eslint/bin/eslint.js _src/_assets/js/*",
"stylelint": "stylelint _src/_assets/styles/**/*.scss",
"test": "npm run eslint && npm run stylelint"
},
"browserslist": [
"last 2 versions",