Commit 6d7cbeb3 authored by Florent Poittevin's avatar Florent Poittevin
Browse files

chore: update to solidify 2.3.6 to fix eslint

parent 301de368
module.exports = {
root: true,
ignorePatterns: [
"projects/**/*",
"src/app/generated-api"
],
overrides: [
{
files: [
"*.ts"
],
parserOptions: {
tsconfigRootDir: __dirname,
project: [
"tsconfig.json",
"e2e/tsconfig.json"
],
createDefaultProgram: true
},
extends: [
"plugin:@angular-eslint/ng-cli-compat",
"plugin:@angular-eslint/ng-cli-compat--formatting-add-on",
"plugin:@angular-eslint/template/process-inline-templates"
],
rules: {
"@angular-eslint/component-class-suffix": [
"error",
{
"suffixes": [
"AppComponent",
"Routable",
"Presentational",
"Container",
"Dialog",
"Form"
]
}
],
"@angular-eslint/component-selector": [
"error",
{
"type": "element",
"prefix": "dlcm",
"style": "kebab-case"
}
],
"@angular-eslint/directive-class-suffix": "off",
"@angular-eslint/directive-selector": [
"error",
{
"type": "attribute",
"prefix": "dlcm",
"style": "camelCase"
}
],
"@angular-eslint/no-input-rename": "off",
"@angular-eslint/no-output-on-prefix": "off",
"@angular-eslint/no-output-rename": "off",
"@typescript-eslint/array-type": [
"error",
{
"default": "array"
}
],
"@typescript-eslint/consistent-type-definitions": "error",
"@typescript-eslint/dot-notation": "off",
"@typescript-eslint/explicit-member-accessibility": [
"off",
{
"accessibility": "explicit"
}
],
"@typescript-eslint/member-delimiter-style": [
"error",
{
"multiline": {
"delimiter": "semi",
"requireLast": true
},
"singleline": {
"delimiter": "comma",
"requireLast": false
}
}
],
"@typescript-eslint/member-ordering": "off",
"@typescript-eslint/naming-convention": [
"warn",
{
"selector": "variable",
"format": [
"camelCase",
"UPPER_CASE",
"snake_case",
"PascalCase"
]
}
],
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/no-namespace": [
"off",
{
"allowDeclarations": true,
"allowDefinitionFiles": true
}
],
"@typescript-eslint/no-inferrable-types": [
"off",
{
"ignoreParameters": true
}
],
"@typescript-eslint/quotes": [
"error",
"double",
{
"allowTemplateLiterals": true
}
],
"@typescript-eslint/semi": [
"error"
],
"@typescript-eslint/no-unused-expressions": [
"error"
],
"arrow-body-style": [
"error",
"as-needed"
],
"brace-style": [
"error",
"1tbs"
],
"comma-dangle": [
"error",
{
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "always-multiline"
}
],
"complexity": [
"error",
{
"max": 200
}
],
"import/no-deprecated": "off",
"jsdoc/no-types": "off",
"max-len": "off",
"no-console": [
"error",
{
"allow": [
"null"
]
}
],
"no-redeclare": "off",
"no-undef-init": "off",
"no-underscore-dangle": "off",
"no-mixed-spaces-and-tabs": [
"error"
],
"no-restricted-imports": [
"error",
{
"paths": [],
"patterns": [
"rxjs/Rx",
"@app/generated-api",
"**/generated-api"
]
}
],
"object-shorthand": "off"
}
},
{
files: [
"*.html"
],
extends: [
"plugin:@angular-eslint/template/recommended"
],
rules: {}
}
]
}
{
"root": true,
"ignorePatterns": [
"projects/**/*",
"src/app/generated-api"
],
"overrides": [
{
"files": [
"*.ts"
],
"parserOptions": {
"project": [
"tsconfig.json",
"e2e/tsconfig.json"
],
"createDefaultProgram": true
},
"extends": [
"plugin:@angular-eslint/ng-cli-compat",
"plugin:@angular-eslint/ng-cli-compat--formatting-add-on",
"plugin:@angular-eslint/template/process-inline-templates"
],
"rules": {
"@angular-eslint/component-class-suffix": [
"error",
{
"suffixes": [
"AppComponent",
"Routable",
"Presentational",
"Container",
"Dialog",
"Form"
]
}
],
"@angular-eslint/component-selector": [
"error",
{
"type": "element",
"prefix": "dlcm",
"style": "kebab-case"
}
],
"@angular-eslint/directive-class-suffix": "off",
"@angular-eslint/directive-selector": [
"error",
{
"type": "attribute",
"prefix": "dlcm",
"style": "camelCase"
}
],
"@angular-eslint/no-input-rename": "off",
"@angular-eslint/no-output-on-prefix": "off",
"@angular-eslint/no-output-rename": "off",
"@typescript-eslint/array-type": [
"error",
{
"default": "array"
}
],
"@typescript-eslint/consistent-type-definitions": "error",
"@typescript-eslint/dot-notation": "off",
"@typescript-eslint/explicit-member-accessibility": [
"off",
{
"accessibility": "explicit"
}
],
"@typescript-eslint/member-delimiter-style": [
"error",
{
"multiline": {
"delimiter": "semi",
"requireLast": true
},
"singleline": {
"delimiter": "comma",
"requireLast": false
}
}
],
"@typescript-eslint/member-ordering": "off",
"@typescript-eslint/naming-convention": [
"warn",
{
"selector": "variable",
"format": [
"camelCase",
"UPPER_CASE",
"snake_case",
"PascalCase"
]
}
],
"@typescript-eslint/no-empty-interface": "off",
"@typescript-eslint/no-namespace": [
"off",
{
"allowDeclarations": true,
"allowDefinitionFiles": true
}
],
"@typescript-eslint/no-inferrable-types": [
"off",
{
"ignoreParameters": true
}
],
"@typescript-eslint/quotes": [
"error",
"double",
{
"allowTemplateLiterals": true
}
],
"@typescript-eslint/semi": [
"error"
],
"@typescript-eslint/no-unused-expressions": [
"error"
],
"arrow-body-style": [
"error",
"as-needed"
],
"brace-style": [
"error",
"1tbs"
],
"comma-dangle": [
"error",
{
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "always-multiline"
}
],
"complexity": [
"error",
{
"max": 200
}
],
"import/no-deprecated": "off",
"jsdoc/no-types": "off",
"max-len": "off",
"no-console": [
"error",
{
"allow": [
"null"
]
}
],
"no-redeclare": "off",
"no-undef-init": "off",
"no-underscore-dangle": "off",
"no-mixed-spaces-and-tabs": [
"error"
],
"no-restricted-imports": [
"error",
{
"paths": [
],
"patterns": [
"rxjs/Rx",
"@app/generated-api",
"**/generated-api"
]
}
],
"object-shorthand": "off"
}
},
{
"files": [
"*.html"
],
"extends": [
"plugin:@angular-eslint/template/recommended"
],
"rules": {}
}
]
}
......@@ -16232,9 +16232,9 @@
}
},
"solidify-frontend": {
"version": "2.3.5",
"resolved": "https://nexus.unige.ch/repository/npm-all/solidify-frontend/-/solidify-frontend-2.3.5.tgz",
"integrity": "sha512-MrlZuqhKC3FDjD8SfsqN2m5T8MtgiuWUGrAECx52ZwtR6M4i/aHtJmd9ngz3ban0X9aB2/iqK7WUFhyY3zxYVg==",
"version": "2.3.6",
"resolved": "https://nexus.unige.ch/repository/npm-all/solidify-frontend/-/solidify-frontend-2.3.6.tgz",
"integrity": "sha512-qnOjGp8H3xm3XzQtRrMLC4KuFA94WA76UUdf58Qt5Kq9pFzssCqvUpXIhdohsCo8y0EacwmVwpVyc1moC+jC/w==",
"requires": {
"tslib": "^2.3.0"
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment