pagination-front-end
Version:
pagination-front-end é uma biblioteca voltada para realização de paginação no front end( pagination-front-end is a front-end paging library)
117 lines (116 loc) • 3.04 kB
JSON
{
"env": {
"browser": true,
"es6": true,
"node": true,
"jest": true
},
"extends": [
"airbnb-base",
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint",
"plugin:prettier/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 11,
"sourceType": "module"
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".js", ".ts", ".json"]
}
}
},
"plugins": [
"@typescript-eslint",
"prettier",
"eslint-plugin-import-helpers"
],
"rules": {
"no-new": "off",
"no-prototype-builtins": "off",
"no-restricted-syntax": "off",
"max-classes-per-file": "off",
"@typescript-eslint/no-explicit-any": "off",
"no-console": "off",
"import/prefer-default-export": "off",
"@typescript-eslint/explicit-function-return-type": [
"off"
],
"@typescript-eslint/no-unused-vars": [
"error",
{
"argsIgnorePattern": "_"
}
],
"no-useless-constructor": "off",
"@typescript-eslint/naming-convention": [
"error",
{
"selector": "interface",
"format": [
"PascalCase"
],
"custom": {
"regex": "^I[A-Z]",
"match": true
}
}
],
"@typescript-eslint/explicit-module-boundary-types": [
"warn",
{
"allowArgumentsExplicitlyTypedAsAny": true
}
],
"no-underscore-dangle": "off",
"@typescript-eslint/camelcase": "off",
"prettier/prettier": "error",
"class-methods-use-this": "off",
"import/extensions": [
"error",
"ignorePackages",
{
"ts": "never"
}
],
"import-helpers/order-imports": [
"warn",
{
"newlinesBetween": "always", // new line between groups
"groups": [
"module",
"/^@server\/shared/",
"/^@/",
[
"parent",
"sibling",
"index"
]
],
"alphabetize": {
"order": "asc",
"ignoreCase": true
}
}
]
},
"overrides": [
{
"files": ["src/types.ts"],
"rules": {
"@typescript-eslint/naming-convention": "off"
}
},
{
"files": ["jest.config.ts", "__tests__/**/*"],
"rules": {
"import/no-extraneous-dependencies": "off",
"@typescript-eslint/no-var-requires": "off",
"eqeqeq": "off"
}
}
]
}