1
0
mirror of https://github.com/ipdb/website.git synced 2024-11-25 10:48:33 +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 * 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 * 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 //=include _dnt.js

View File

@ -12,7 +12,9 @@
"scripts": { "scripts": {
"start": "gulp", "start": "gulp",
"build": "gulp build --production", "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": [ "browserslist": [
"last 2 versions", "last 2 versions",