mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-12 19:00:39 -07:00
57 lines
1.5 KiB
JSON
57 lines
1.5 KiB
JSON
{
|
|
"extends": ["standard", "plugin:@typescript-eslint/recommended"],
|
|
"env": {
|
|
"mocha": true,
|
|
"es6": true,
|
|
"browser": true,
|
|
"node": true
|
|
},
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"project": "tsconfig.json"
|
|
},
|
|
"plugins": [
|
|
"deprecation",
|
|
"mocha",
|
|
"standard",
|
|
"@typescript-eslint",
|
|
"promise"
|
|
],
|
|
"rules": {
|
|
"deprecation/deprecation": "error",
|
|
"no-var": 2,
|
|
"prefer-const": 2,
|
|
"no-unused-vars": "off",
|
|
"indent": "off",
|
|
"no-mixed-operators": "off",
|
|
"no-dupe-class-members": "off",
|
|
"no-useless-constructor": "off",
|
|
"@typescript-eslint/indent": ["error", 2],
|
|
"@typescript-eslint/explicit-function-return-type": "off",
|
|
"@typescript-eslint/no-empty-function": "off",
|
|
"@typescript-eslint/no-explicit-any": "off",
|
|
"@typescript-eslint/no-object-literal-type-assertion": "off",
|
|
"@typescript-eslint/no-use-before-define": "off",
|
|
"@typescript-eslint/interface-name-prefix": "off",
|
|
"@typescript-eslint/no-non-null-assertion": "off",
|
|
"import/export": "off",
|
|
"@typescript-eslint/no-unused-vars": ["error", { "vars": "all", "args": "none", "ignoreRestSiblings": false }]
|
|
},
|
|
"overrides": [{
|
|
"files": ["**/filters/*.ts"],
|
|
"rules": {
|
|
"camelcase": "off"
|
|
}
|
|
}, {
|
|
"files": ["**/*.js", "**/*.mjs"],
|
|
"rules": {
|
|
"@typescript-eslint/no-var-requires": "off"
|
|
}
|
|
}, {
|
|
"files": ["test/**/*.ts"],
|
|
"rules": {
|
|
"deprecation/deprecation": "off"
|
|
}
|
|
}]
|
|
}
|