UNPKG

eslint-config-interfaced

Version:

ESLint config for the approaches adopted by Interfaced company

52 lines (48 loc) 1.55 kB
# Static analysis import/no-unresolved: ["error", { ignore: ['^generated/'] # These are generated in runtime, so they may not exist at linting time }] import/named: "error" import/default: "error" import/namespace: "error" import/no-restricted-paths: "off" import/no-absolute-path: "error" import/no-dynamic-require: "off" import/no-internal-modules: "off" import/no-webpack-loader-syntax: "off" import/no-self-import: "error" import/no-cycle: "off" import/no-useless-path-segments: "error" import/no-relative-parent-imports: "off" import/no-unused-modules: ["error", { missingExports: true }] # Helpful warnings import/export: "error" import/no-named-as-default: "error" import/no-named-as-default-member: "off" import/no-deprecated: "off" import/no-extraneous-dependencies: "off" import/no-mutable-exports: "off" # Module systems import/unambiguous: "error" import/no-commonjs: "error" import/no-amd: "error" import/no-nodejs-modules: "error" # Style guide import/first: "error" import/exports-last: "off" import/no-duplicates: "error" import/no-namespace: "off" import/extensions: ["error", "never"] import/order: ["error", { "groups": ["external", "internal", "parent", "sibling", "index"] }] import/newline-after-import: "error" import/prefer-default-export: "error" import/max-dependencies: "off" import/no-unassigned-import: "off" import/no-named-default: "error" import/no-default-export: "off" import/no-named-export: "off" import/no-anonymous-default-export: "error" import/group-exports: "off" import/dynamic-import-chunkname: "off"