mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-01-08 23:38:22 +01:00
rename eslint config to js
This commit is contained in:
parent
4a2c712b3d
commit
8464f20370
@ -24,17 +24,17 @@ module.exports = [
|
|||||||
parserOptions: {
|
parserOptions: {
|
||||||
project: true,
|
project: true,
|
||||||
ecmaFeatures: {
|
ecmaFeatures: {
|
||||||
jsx: true
|
jsx: true,
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
plugins: {
|
plugins: {
|
||||||
"license-header": require("eslint-plugin-license-header"),
|
"license-header": require("eslint-plugin-license-header"),
|
||||||
"only-warn": require("eslint-plugin-only-warn")
|
"only-warn": require("eslint-plugin-only-warn"),
|
||||||
},
|
},
|
||||||
rules: {
|
rules: {
|
||||||
"license-header/header": ["error", __dirname + "/.license-header.js"]
|
"license-header/header": ["error", __dirname + "/.license-header.js"],
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
...require("@f0x52/eslint-config")
|
...require("@f0x52/eslint-config"),
|
||||||
];
|
];
|
Loading…
Reference in New Issue
Block a user