Skip to content

Commit

Permalink
chore(deps): eslint-config-codedependant@3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
esatterwhite committed Dec 31, 2021
1 parent fdb0985 commit 6807acc
Show file tree
Hide file tree
Showing 5 changed files with 1,089 additions and 572 deletions.
32 changes: 32 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
'use strict'

module.exports = {
root: true
, ignorePatterns: [
'node_modules/'
, 'test/fixture/'
, 'coverage/'
, '.nyc_output/'
, 'env/'
, 'doc/'
]
, extends: 'codedependant'
, parserOptions: {
ecmaVersion: 2020
, type: 'script'
}
, rules: {
'object-shorthand': 0
, 'sensible/check-require': [2, 'always', {
root: __dirname
}]
, 'no-unused-vars': [
'error', {
varsIgnorePattern: '_'
}]
, 'quote-props': [
2
, 'as-needed'
]
}
}
3 changes: 3 additions & 0 deletions env/local.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
TEST_DOCKER_REGISTRY=localhost:5000
DOCKER_REGISTRY_USER=iamweasel
DOCKER_REGISTRY_PASSWORD=secretsquirrel
32 changes: 5 additions & 27 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"tap": "tap",
"lint": "eslint .",
"lint:fix": "npm run lint -- --fix",
"local": "env $(cat env/local.env)",
"pretap": "npm run lint",
"release": "semantic-release"
},
Expand All @@ -26,31 +27,6 @@
"type": "git",
"url": "git+ssh://git@github.com/esatterwhite/semantic-release-docker.git"
},
"eslintConfig": {
"root": true,
"extends": "codedependant",
"ignorePatterns": [
"node_modules/",
"test/fixture/",
"coverage/",
".nyc_output/",
"env/",
"doc/"
],
"rules": {
"object-shorthand": 0,
"no-unused-vars": [
"error",
{
"varsIgnorePattern": "_"
}
],
"quote-props": [
2,
"as-needed"
]
}
},
"tap": {
"esm": false,
"ts": false,
Expand All @@ -75,6 +51,8 @@
"nyc-arg": [
"--exclude=coverage/",
"--exclude=test/",
"--exclude=.eslintrc.js",
"--exclude=release.config.js",
"--all"
]
},
Expand All @@ -84,15 +62,15 @@
"@semantic-release/git": "^9.0.0",
"@semantic-release/github": "^7.0.7",
"eslint": "^8.5.0",
"eslint-config-codedependant": "^2.1.6",
"eslint-config-codedependant": "^3.0.0",
"semantic-release": "17",
"sinon": "^9.0.2",
"tap": "^14.10.7"
},
"dependencies": {
"@semantic-release/error": "^2.2.0",
"debug": "^4.1.1",
"execa": "^4.0.2",
"semantic-release": "^17.1.1",
"semver": "^7.3.2"
}
}

0 comments on commit 6807acc

Please sign in to comment.