Skip to content

Commit 88e89e5

Browse files
author
Adrien Maret
authoredJul 15, 2022
Add Prettier and eslint (#2371)
1 parent 878f07e commit 88e89e5

File tree

464 files changed

+44279
-48103
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

464 files changed

+44279
-48103
lines changed
 

‎.ci/privatebuild/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ RUN set -x \
3737
\
3838
&& echo "Patch version" \
3939
&& jq ' .version="'${KUZZLE_VERSION}'" ' package.json > package.json.tmp && mv package.json.tmp package.json \
40-
&& jq ' .version="'${KUZZLE_VERSION}'" ' package-lock.json > package-lock.json.tmp && mv package-lock.json.tmp package-lock.json \
40+
&& jq ' .version="'${KUZZLE_VERSION}'" ' npm-shrinkwrap.json > npm-shrinkwrap.json.tmp && mv npm-shrinkwrap.json.tmp npm-shrinkwrap.json \
4141
\
4242
&& echo "Replace koncorde with last commit from security branch" \
4343
&& npm uninstall koncorde \

‎.eslintc-ts.json

+6-17
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,8 @@
11
{
2-
"root": true,
3-
"parser": "@typescript-eslint/parser",
4-
"plugins": [
5-
"@typescript-eslint"
6-
],
2+
"plugins": ["kuzzle"],
73
"extends": [
8-
"eslint:recommended",
9-
"plugin:@typescript-eslint/eslint-recommended",
10-
"plugin:@typescript-eslint/recommended"
11-
],
12-
"rules": {
13-
"@typescript-eslint/no-explicit-any": 0,
14-
"@typescript-eslint/explicit-module-boundary-types": 0,
15-
"@typescript-eslint/ban-ts-comment": 0,
16-
"@typescript-eslint/type-annotation-spacing": 1,
17-
"@typescript-eslint/member-delimiter-style": 1
18-
}
19-
}
4+
"plugin:kuzzle/default",
5+
"plugin:kuzzle/node",
6+
"plugin:kuzzle/typescript"
7+
]
8+
}

0 commit comments

Comments
 (0)
Please sign in to comment.