@sun-asterisk/sunlint
Version:
☀️ SunLint - Multi-language static analysis tool for code quality and security | Sun* Engineering Standards
80 lines (79 loc) • 1.82 kB
JavaScript
// File configuration mapping for different rule files
const FILE_CONFIG = {
"common.md": {
category: "Common",
language: "All",
framework: "All",
},
"java.md": {
category: "Backend",
language: "Java",
framework: "Spring Boot",
},
"kotlin.md": {
category: "Backend",
language: "Kotlin",
framework: "Spring Boot",
},
"php.md": {
category: "Backend",
language: "PHP",
framework: "Laravel",
},
"python.md": {
category: "Backend",
language: "Python",
framework: "Django",
},
"ruby.md": {
category: "Backend",
language: "Ruby",
framework: "Rails",
},
"typescript.md": {
category: "Frontend",
language: "TypeScript",
framework: "React",
},
"security.md": {
category: "Security",
language: "All",
framework: "All",
},
"typescript-be.md": {
category: "Backend",
language: "TypeScript",
framework: "NestJS",
},
"kotlin-mobile.md": {
category: "Mobile",
language: "Kotlin",
framework: "Android SDK",
},
"java-mobile.md": {
category: "Mobile",
language: "Java",
framework: "Android SDK",
},
"swift.md": {
category: "Mobile",
language: "Swift",
framework: "UIKit",
},
"dart.md": {
category: "Mobile",
language: "Dart",
framework: "Flutter",
},
"reactjs.md": {
category: "Frontend",
language: "JavaScript",
framework: "React",
},
"javascript.md": {
category: "Backend",
language: "JavaScript",
framework: "Node.js",
},
}
module.exports = { FILE_CONFIG }